Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000894/0.0008938, allocations: 93.41 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.641e-05, allocations: 4.219 kB / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1428, allocations: 61.93 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.604, allocations: 107.9 MB / 0.6072 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.6044, allocations: 75.95 kB / 0.6073 GB, free: 13.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1345/0.7388, allocations: 52.58 MB / 0.6586 GB, free: 8.359 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7389, allocations: 0 / 0.6586 GB, free: 8.359 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001054/0.739, allocations: 48.19 kB / 0.6587 GB, free: 8.312 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.005873/0.7449, allocations: 2.251 MB / 0.6609 GB, free: 6.004 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.745, allocations: 16.03 kB / 0.6609 GB, free: 5.988 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001111/0.7461, allocations: 438.7 kB / 0.6613 GB, free: 5.547 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.7481, allocations: 432.2 kB / 0.6617 GB, free: 5.121 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/0.7516, allocations: 1.465 MB / 0.6631 GB, free: 3.605 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.7517, allocations: 193.3 kB / 0.6633 GB, free: 3.414 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005505/0.7523, allocations: 260 kB / 0.6636 GB, free: 3.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.7653, allocations: 5.566 MB / 0.669 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-05/0.7654, allocations: 19.81 kB / 0.669 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/0.7657, allocations: 116 kB / 0.6691 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005681/0.7663, allocations: 411.5 kB / 0.6695 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.7769, allocations: 4.317 MB / 0.6737 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02563/0.8025, allocations: 18.49 MB / 0.6918 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003995/0.8066, allocations: 1.215 MB / 0.693 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/0.8072, allocations: 378.4 kB / 0.6933 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/0.8091, allocations: 2.062 MB / 0.6954 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.8091, allocations: 47.08 kB / 0.6954 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 3.196e-06/0.8091, allocations: 0 / 0.6954 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of matching and sorting (n=109): time 0.0178/0.8269, allocations: 4.951 MB / 0.7002 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.827, allocations: 60.41 kB / 0.7003 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.8293, allocations: 1.514 MB / 0.7018 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.8293, allocations: 41.7 kB / 0.7018 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.8304, allocations: 1.509 MB / 0.7033 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.8308, allocations: 410.5 kB / 0.7037 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.071e-05/0.8309, allocations: 52 kB / 0.7037 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.8311, allocations: 419.4 kB / 0.7041 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.8322, allocations: 0.7355 MB / 0.7048 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.8343, allocations: 2.177 MB / 0.707 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.8361, allocations: 1.265 MB / 0.7082 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/0.8361, allocations: 12 kB / 0.7082 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.004486/0.8406, allocations: 2.926 MB / 0.7111 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.8407, allocations: 31.98 kB / 0.7111 GB, free: 500 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.524e-05/0.8407, allocations: 55.98 kB / 0.7112 GB, free: 444 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.8408, allocations: 76 kB / 0.7112 GB, free: 368 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3615/1.202, allocations: 0.5953 MB / 0.7118 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001749/1.203, allocations: 103.5 kB / 0.7119 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/1.205, allocations: 112.3 kB / 0.712 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/1.205, allocations: 150.9 kB / 0.7122 GB, free: 146.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 38 (jointSSP.prismatic.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,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 (341): * Single equations (assignments): 341 * 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.0005285/1.206, allocations: 321.9 kB / 0.7125 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/1.206, allocations: 165.6 kB / 0.7126 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/1.208, allocations: 1.222 MB / 0.7138 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.208, allocations: 9.469 kB / 0.7138 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/1.208, allocations: 1.312 kB / 0.7138 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/1.208, allocations: 8.531 kB / 0.7138 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/1.22, allocations: 6.195 MB / 0.7199 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.803e-05/1.22, allocations: 19.53 kB / 0.7199 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008779/1.221, allocations: 207 kB / 0.7201 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-05/1.221, allocations: 28.97 kB / 0.7201 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/1.222, allocations: 43.47 kB / 0.7202 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.626e-05/1.222, allocations: 42.77 kB / 0.7202 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.992e-05/1.222, allocations: 33.45 kB / 0.7203 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003469/1.225, allocations: 3.108 MB / 0.7233 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/1.226, allocations: 261.2 kB / 0.7235 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/1.226, allocations: 44.81 kB / 0.7236 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/1.227, allocations: 47.36 kB / 0.7236 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/1.227, allocations: 134.2 kB / 0.7238 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-05/1.227, allocations: 52.61 kB / 0.7238 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002388/1.229, allocations: 1.114 MB / 0.7249 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.613e-06/1.229, allocations: 1.656 kB / 0.7249 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003193/1.233, allocations: 475.4 kB / 0.7253 GB, free: 141.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * 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.004133/1.237, allocations: 9.425 MB / 0.7345 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003608/1.24, allocations: 1.725 MB / 0.7362 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.82e-05/1.24, allocations: 3.781 kB / 0.7362 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008197/1.241, allocations: 480.9 kB / 0.7367 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/1.243, allocations: 254.1 kB / 0.7369 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.256, allocations: 4.762 MB / 0.7416 GB, free: 131 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002753/1.258, allocations: 2.133 MB / 0.7437 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002384/1.261, allocations: 0.676 MB / 0.7443 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/1.262, allocations: 0.9582 MB / 0.7453 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.664e-06/1.262, allocations: 0 / 0.7453 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06407/1.326, allocations: 35.52 MB / 0.7799 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/1.326, allocations: 158.2 kB / 0.7801 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/4.47, allocations: 4 kB / 0.7801 GB, free: 123.6 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat