Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008067/0.0008068, allocations: 85.92 kB / 292.1 MB, free: 5.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.172/0.172, allocations: 45.16 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.786e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09194, allocations: 63.24 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4722, allocations: 107.7 MB / 0.6167 GB, free: 2.332 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.4725, allocations: 78.02 kB / 0.6167 GB, free: 2.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2165/0.689, allocations: 91.94 MB / 0.7065 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.784e-06/0.689, allocations: 0 / 0.7065 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001796/0.6892, allocations: 79.94 kB / 0.7066 GB, free: 14.17 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01022/0.6995, allocations: 3.925 MB / 0.7104 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.6995, allocations: 11.97 kB / 0.7105 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002014/0.7015, allocations: 0.8243 MB / 0.7113 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.7155, allocations: 3.527 MB / 0.7147 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009249/0.7248, allocations: 3.749 MB / 0.7184 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.7251, allocations: 320.3 kB / 0.7187 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/0.7263, allocations: 415.8 kB / 0.7191 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01791/0.7442, allocations: 10.67 MB / 0.7295 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.7444, allocations: 31.72 kB / 0.7295 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000534/0.7449, allocations: 187.8 kB / 0.7297 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001458/0.7464, allocations: 1.22 MB / 0.7309 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01834/0.7647, allocations: 10.24 MB / 0.7409 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2861/1.051, allocations: 36.97 MB / 0.777 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008307/1.059, allocations: 4.552 MB / 0.7814 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002855/1.062, allocations: 2.383 MB / 0.7838 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008297/1.063, allocations: 1.32 MB / 0.7851 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.063, allocations: 51.62 kB / 0.7851 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=242): time 5.2e-06/1.063, allocations: 0 / 0.7851 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=254): time 0.02577/1.089, allocations: 14.52 MB / 0.7993 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/1.089, allocations: 78.03 kB / 0.7994 GB, free: 111 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/1.092, allocations: 2.414 MB / 0.8017 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002613/1.092, allocations: 54.95 kB / 0.8018 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/1.093, allocations: 2.774 MB / 0.8045 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006469/1.094, allocations: 0.9166 MB / 0.8054 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/1.094, allocations: 104.9 kB / 0.8055 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002187/1.094, allocations: 0.5427 MB / 0.806 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002455/1.097, allocations: 2.239 MB / 0.8082 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00324/1.1, allocations: 5.127 MB / 0.8132 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/1.103, allocations: 3.435 MB / 0.8166 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.5e-05/1.103, allocations: 30.5 kB / 0.8166 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.009906/1.113, allocations: 8.125 MB / 0.8245 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.956e-05/1.113, allocations: 48.69 kB / 0.8246 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.102e-05/1.113, allocations: 102.6 kB / 0.8247 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/1.116, allocations: 0.9399 MB / 0.8256 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/1.119, allocations: 1.217 MB / 0.8268 GB, free: 99.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00492/1.124, allocations: 4.745 MB / 0.8314 GB, free: 97.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003276/1.127, allocations: 294.3 kB / 0.8317 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005133/1.128, allocations: 307.1 kB / 0.832 GB, free: 97.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (652): * Single equations (assignments): 645 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007361/1.128, allocations: 0.5009 MB / 0.8325 GB, free: 96.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/1.129, allocations: 273.3 kB / 0.8327 GB, free: 96.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007038/1.136, allocations: 5.07 MB / 0.8377 GB, free: 95.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-05/1.136, allocations: 48.41 kB / 0.8377 GB, free: 95.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.136, allocations: 3.375 kB / 0.8377 GB, free: 95.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/1.136, allocations: 10.73 kB / 0.8377 GB, free: 95.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/1.151, allocations: 11.87 MB / 0.8493 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.151, allocations: 12 kB / 0.8493 GB, free: 89.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/1.153, allocations: 394.6 kB / 0.8497 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002072/1.155, allocations: 0.7721 MB / 0.8505 GB, free: 88.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/1.155, allocations: 53.12 kB / 0.8505 GB, free: 88.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004133/1.159, allocations: 4.012 MB / 0.8544 GB, free: 85.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.159, allocations: 24.05 kB / 0.8545 GB, free: 85.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008626/1.168, allocations: 8.379 MB / 0.8626 GB, free: 77.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000705/1.169, allocations: 324.9 kB / 0.863 GB, free: 77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/1.169, allocations: 56.33 kB / 0.863 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.17, allocations: 139.5 kB / 0.8631 GB, free: 76.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/1.17, allocations: 152 kB / 0.8633 GB, free: 76.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/1.171, allocations: 71.94 kB / 0.8634 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001906/1.172, allocations: 1.644 MB / 0.865 GB, free: 75.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.173, allocations: 0 / 0.865 GB, free: 75.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003231/1.176, allocations: 0.9963 MB / 0.8659 GB, free: 74.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008732/1.184, allocations: 11.59 MB / 0.8772 GB, free: 63.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006404/1.191, allocations: 5.501 MB / 0.8826 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.191, allocations: 4 kB / 0.8826 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/1.193, allocations: 2.126 MB / 0.8847 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.195, allocations: 354.9 kB / 0.885 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.209, allocations: 9.93 MB / 0.8947 GB, free: 47.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002678/1.212, allocations: 3.467 MB / 0.8981 GB, free: 44.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00388/1.216, allocations: 1.985 MB / 0.9001 GB, free: 43.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/1.218, allocations: 1.827 MB / 0.9018 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/1.218, allocations: 3.938 kB / 0.9018 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3456/1.563, allocations: 69.58 MB / 0.9698 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001271/1.563, allocations: 164 kB / 0.97 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.13/4.694, allocations: 0 / 0.97 GB, free: 128.2 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat