Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002651/0.002657, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 90.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3089/0.3089, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.715e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5451/0.6788, allocations: 106.4 MB / 0.5768 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.6792, allocations: 76.75 kB / 0.5768 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2365/0.9158, allocations: 55.18 MB / 0.6307 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.9158, allocations: 3.938 kB / 0.6307 GB, free: 14.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001734/0.916, allocations: 52 kB / 0.6308 GB, free: 14.07 MB / 442.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.009251/0.9253, allocations: 2.375 MB / 0.6331 GB, free: 11.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/0.9254, allocations: 8.031 kB / 0.6331 GB, free: 11.72 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002344/0.9277, allocations: 480.9 kB / 0.6336 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/0.9322, allocations: 483.8 kB / 0.634 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005828/0.938, allocations: 1.536 MB / 0.6355 GB, free: 9.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.9384, allocations: 217.7 kB / 0.6357 GB, free: 8.965 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/0.9399, allocations: 280 kB / 0.636 GB, free: 8.691 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/0.963, allocations: 5.937 MB / 0.6418 GB, free: 2.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001599/0.9632, allocations: 19.81 kB / 0.6418 GB, free: 2.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008093/0.964, allocations: 135.9 kB / 0.6419 GB, free: 2.277 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001476/0.9655, allocations: 472.1 kB / 0.6424 GB, free: 1.812 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0191/0.9847, allocations: 4.493 MB / 0.6468 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04324/1.028, allocations: 19.97 MB / 0.6663 GB, free: 8.773 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007473/1.036, allocations: 1.242 MB / 0.6675 GB, free: 7.512 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/1.037, allocations: 371.3 kB / 0.6679 GB, free: 7.145 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002907/1.04, allocations: 2.073 MB / 0.6699 GB, free: 4.738 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/1.04, allocations: 43.06 kB / 0.6699 GB, free: 4.688 MB / 474.7 MB Notification: Performance of pre-optimization done (n=66): time 3.677e-06/1.04, allocations: 0 / 0.6699 GB, free: 4.688 MB / 474.7 MB Notification: Performance of matching and sorting (n=110): time 0.03517/1.075, allocations: 5.386 MB / 0.6752 GB, free: 15.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/1.075, allocations: 86.11 kB / 0.6753 GB, free: 15.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/1.079, allocations: 1.609 MB / 0.6768 GB, free: 13.56 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002427/1.079, allocations: 41.7 kB / 0.6769 GB, free: 13.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001823/1.081, allocations: 1.655 MB / 0.6785 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006899/1.082, allocations: 414.5 kB / 0.6789 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/1.082, allocations: 56 kB / 0.6789 GB, free: 11.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003194/1.083, allocations: 428.5 kB / 0.6793 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/1.085, allocations: 0.767 MB / 0.6801 GB, free: 10.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004112/1.089, allocations: 2.32 MB / 0.6824 GB, free: 7.094 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003622/1.093, allocations: 1.324 MB / 0.6837 GB, free: 5.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.231e-05/1.093, allocations: 16 kB / 0.6837 GB, free: 5.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=362) (initialization): time 0.009224/1.102, allocations: 3.028 MB / 0.6866 GB, free: 2.719 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/1.102, allocations: 28 kB / 0.6867 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.521e-05/1.102, allocations: 56 kB / 0.6867 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/1.102, allocations: 80 kB / 0.6868 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0045/1.107, allocations: 0.6596 MB / 0.6874 GB, free: 1.898 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001935/1.107, allocations: 111.6 kB / 0.6875 GB, free: 1.789 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/1.11, allocations: 119.9 kB / 0.6876 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000598/1.111, allocations: 164 kB / 0.6878 GB, free: 1.512 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * 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 (362): * Single equations (assignments): 362 * 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.000726/1.111, allocations: 341.8 kB / 0.6881 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/1.112, allocations: 173.8 kB / 0.6883 GB, free: 1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/1.116, allocations: 1.231 MB / 0.6895 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/1.116, allocations: 15.98 kB / 0.6895 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.116, allocations: 0 / 0.6895 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/1.116, allocations: 3.984 kB / 0.6895 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/1.133, allocations: 6.432 MB / 0.6958 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.784e-05/1.133, allocations: 27.92 kB / 0.6958 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/1.135, allocations: 211.7 kB / 0.696 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.722e-05/1.135, allocations: 28 kB / 0.6961 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/1.135, allocations: 40 kB / 0.6961 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.575e-05/1.135, allocations: 39.86 kB / 0.6961 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.16e-05/1.135, allocations: 27.88 kB / 0.6962 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004825/1.14, allocations: 3.188 MB / 0.6993 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/1.141, allocations: 278.7 kB / 0.6995 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003602/1.141, allocations: 51.98 kB / 0.6996 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.142, allocations: 39.95 kB / 0.6996 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/1.143, allocations: 135.5 kB / 0.6998 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/1.143, allocations: 52 kB / 0.6998 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003387/1.146, allocations: 1.193 MB / 0.701 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.92e-07/1.146, allocations: 0 / 0.701 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004/1.15, allocations: 0.4999 MB / 0.7015 GB, free: 2.059 MB / 0.4948 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.3606/1.511, allocations: 9.425 MB / 0.7107 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004836/1.516, allocations: 1.792 MB / 0.7124 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-05/1.516, allocations: 3.25 kB / 0.7124 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/1.517, allocations: 481 kB / 0.7129 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/1.519, allocations: 250.9 kB / 0.7131 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/1.536, allocations: 5.365 MB / 0.7184 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00474/1.541, allocations: 2.246 MB / 0.7205 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002445/1.543, allocations: 1.061 MB / 0.7216 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.443e-06/1.543, allocations: 3.188 kB / 0.7216 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.221/4.764, allocations: 43.19 MB / 0.7638 GB, free: 125.1 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat