Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 78.66 kB / 261.7 MB, free: 1.695 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2326/0.2326, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.336e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4458/0.5678, allocations: 105.7 MB / 0.5693 GB, free: 5.562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.5681, allocations: 77.38 kB / 0.5693 GB, free: 5.527 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1301/0.6982, allocations: 53.76 MB / 0.6218 GB, free: 8.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6982, allocations: 4 kB / 0.6218 GB, free: 8.246 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.799e-05/0.6983, allocations: 48 kB / 0.6219 GB, free: 8.199 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.004649/0.703, allocations: 2.37 MB / 0.6242 GB, free: 5.773 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.7031, allocations: 8.031 kB / 0.6242 GB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.7052, allocations: 491.8 kB / 0.6247 GB, free: 5.281 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.708, allocations: 1.532 MB / 0.6262 GB, free: 3.703 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/0.7081, allocations: 92 kB / 0.6263 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/0.7085, allocations: 164 kB / 0.6264 GB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005352/0.7138, allocations: 3.379 MB / 0.6297 GB, free: 72 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006431/0.7203, allocations: 4.648 MB / 0.6342 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.899e-05/0.7204, allocations: 23.78 kB / 0.6343 GB, free: 11.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002324/0.7206, allocations: 11.98 kB / 0.6343 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008091/0.7214, allocations: 484.7 kB / 0.6347 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02379/0.7453, allocations: 18.3 MB / 0.6526 GB, free: 7.762 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.7465, allocations: 0.643 MB / 0.6532 GB, free: 7.098 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/0.7469, allocations: 308.5 kB / 0.6535 GB, free: 6.793 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/0.7485, allocations: 1.746 MB / 0.6552 GB, free: 4.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.7485, allocations: 51.11 kB / 0.6553 GB, free: 4.711 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 3.236e-06/0.7485, allocations: 3.938 kB / 0.6553 GB, free: 4.707 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.009587/0.7581, allocations: 3.349 MB / 0.6586 GB, free: 1.332 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.7582, allocations: 85.89 kB / 0.6587 GB, free: 1.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.7606, allocations: 1.37 MB / 0.66 GB, free: 15.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.7607, allocations: 25.7 kB / 0.66 GB, free: 15.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.762, allocations: 1.702 MB / 0.6617 GB, free: 14.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.7624, allocations: 339.5 kB / 0.662 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.7624, allocations: 0 / 0.662 GB, free: 13.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003001/0.7627, allocations: 484.3 kB / 0.6625 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009721/0.7637, allocations: 0.6655 MB / 0.6631 GB, free: 12.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.766, allocations: 2.251 MB / 0.6653 GB, free: 9.551 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.7676, allocations: 1.214 MB / 0.6665 GB, free: 8.336 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.539e-05/0.7677, allocations: 16 kB / 0.6665 GB, free: 8.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.004302/0.772, allocations: 2.621 MB / 0.6691 GB, free: 5.691 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.7721, allocations: 28 kB / 0.6691 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.718e-05/0.7721, allocations: 68.77 kB / 0.6692 GB, free: 5.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.965e-05/0.7722, allocations: 84 kB / 0.6692 GB, free: 5.516 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.7743, allocations: 0.6473 MB / 0.6699 GB, free: 4.867 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.664e-05/0.7744, allocations: 115.5 kB / 0.67 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.776, allocations: 71.8 kB / 0.6701 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002202/0.7762, allocations: 168 kB / 0.6702 GB, free: 4.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (359): * Single equations (assignments): 359 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003685/0.7766, allocations: 262.8 kB / 0.6705 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001419/0.778, allocations: 0.8654 MB / 0.6713 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.7782, allocations: 154 kB / 0.6715 GB, free: 3.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.7798, allocations: 0.9512 MB / 0.6724 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.7798, allocations: 12.03 kB / 0.6724 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7798, allocations: 0 / 0.6724 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.7799, allocations: 7.984 kB / 0.6724 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007463/0.7873, allocations: 4.546 MB / 0.6768 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/0.7874, allocations: 16 kB / 0.6769 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.788, allocations: 175.7 kB / 0.677 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.578e-05/0.788, allocations: 24 kB / 0.6771 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.7881, allocations: 20.62 kB / 0.6771 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-05/0.7881, allocations: 31.92 kB / 0.6771 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-05/0.7881, allocations: 31.81 kB / 0.6771 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.7906, allocations: 2.359 MB / 0.6794 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.7911, allocations: 239.1 kB / 0.6797 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.7912, allocations: 27.98 kB / 0.6797 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/0.7918, allocations: 19.98 kB / 0.6797 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.792, allocations: 103.6 kB / 0.6798 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.792, allocations: 44 kB / 0.6798 GB, free: 9.543 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001536/0.7936, allocations: 0.9211 MB / 0.6807 GB, free: 8.625 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7936, allocations: 0 / 0.6807 GB, free: 8.625 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002794/0.7964, allocations: 427.9 kB / 0.6812 GB, free: 8.207 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004502/0.8009, allocations: 7.635 MB / 0.6886 GB, free: 64 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002989/0.8039, allocations: 1.524 MB / 0.6901 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/0.804, allocations: 4.938 kB / 0.6901 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005654/0.8045, allocations: 370.6 kB / 0.6905 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.8058, allocations: 184 kB / 0.6906 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.8167, allocations: 4.641 MB / 0.6952 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/0.8191, allocations: 2.223 MB / 0.6973 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002096/0.8212, allocations: 0.6586 MB / 0.698 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/0.8225, allocations: 1.023 MB / 0.699 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/0.8225, allocations: 0 / 0.699 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3499/1.172, allocations: 32.17 MB / 0.7304 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/1.173, allocations: 127.5 kB / 0.7305 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.859, allocations: 0 / 0.7305 GB, free: 141.6 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat