Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",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.001084/0.001084, allocations: 177.6 kB / 8.002 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.405/1.405, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008454/0.0008454, allocations: 91.97 kB / 261.7 MB, free: 1.684 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.1879/0.1879, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.648e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4391/0.5633, allocations: 106.5 MB / 0.5701 GB, free: 4.801 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5637, allocations: 83.42 kB / 0.5701 GB, free: 4.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1416/0.7053, allocations: 55.64 MB / 0.6245 GB, free: 5.543 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7053, allocations: 4 kB / 0.6245 GB, free: 5.539 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001138/0.7054, allocations: 55.98 kB / 0.6245 GB, free: 5.484 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.006958/0.7124, allocations: 2.581 MB / 0.6271 GB, free: 2.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.7125, allocations: 8.031 kB / 0.6271 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.7157, allocations: 491.6 kB / 0.6275 GB, free: 2.355 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003974/0.7197, allocations: 1.551 MB / 0.629 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.7198, allocations: 88 kB / 0.6291 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005853/0.7204, allocations: 164 kB / 0.6293 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00672/0.7272, allocations: 3.812 MB / 0.633 GB, free: 12.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.7377, allocations: 4.965 MB / 0.6379 GB, free: 7.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-05/0.7378, allocations: 15.88 kB / 0.6379 GB, free: 7.402 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002838/0.7381, allocations: 8 kB / 0.6379 GB, free: 7.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001037/0.7392, allocations: 0.5319 MB / 0.6384 GB, free: 6.855 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/0.7663, allocations: 20.13 MB / 0.6581 GB, free: 2.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.768, allocations: 0.8424 MB / 0.6589 GB, free: 1.312 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008473/0.7688, allocations: 0.6125 MB / 0.6595 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00619/0.775, allocations: 4.592 MB / 0.664 GB, free: 11.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.7751, allocations: 43.06 kB / 0.664 GB, free: 11.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.505e-06/0.7751, allocations: 4 kB / 0.664 GB, free: 11.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=88): time 0.01596/0.7911, allocations: 5.239 MB / 0.6691 GB, free: 6.445 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.7912, allocations: 93.91 kB / 0.6692 GB, free: 6.336 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.7935, allocations: 1.43 MB / 0.6706 GB, free: 4.898 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/0.7936, allocations: 25.7 kB / 0.6706 GB, free: 4.867 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.7948, allocations: 1.736 MB / 0.6723 GB, free: 3.105 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.7951, allocations: 323.7 kB / 0.6726 GB, free: 2.785 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.7952, allocations: 4 kB / 0.6726 GB, free: 2.781 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003341/0.7955, allocations: 476.7 kB / 0.6731 GB, free: 2.305 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.7968, allocations: 0.8296 MB / 0.6739 GB, free: 1.473 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002593/0.7994, allocations: 2.487 MB / 0.6763 GB, free: 14.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.8025, allocations: 1.549 MB / 0.6778 GB, free: 12.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-05/0.8025, allocations: 20 kB / 0.6779 GB, free: 12.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=369) (initialization): time 0.006421/0.809, allocations: 3.141 MB / 0.6809 GB, free: 9.434 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/0.8091, allocations: 32 kB / 0.681 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.164e-05/0.8091, allocations: 56 kB / 0.681 GB, free: 9.348 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.385e-05/0.8092, allocations: 88 kB / 0.6811 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/0.8116, allocations: 0.7057 MB / 0.6818 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.847e-05/0.8117, allocations: 123.8 kB / 0.6819 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.8136, allocations: 95.84 kB / 0.682 GB, free: 8.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.8139, allocations: 168 kB / 0.6822 GB, free: 8.176 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 34 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (369): * Single equations (assignments): 369 * 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.0003928/0.8143, allocations: 266.6 kB / 0.6824 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001741/0.816, allocations: 1.111 MB / 0.6835 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.8163, allocations: 150 kB / 0.6836 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.8183, allocations: 1.256 MB / 0.6849 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.8184, allocations: 8 kB / 0.6849 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.8184, allocations: 4 kB / 0.6849 GB, free: 5.348 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.8184, allocations: 3.984 kB / 0.6849 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007479/0.8259, allocations: 3.788 MB / 0.6886 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.8259, allocations: 8.594 kB / 0.6886 GB, free: 1.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009468/0.8269, allocations: 199.7 kB / 0.6888 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/0.8269, allocations: 12 kB / 0.6888 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.827, allocations: 11.89 kB / 0.6888 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.827, allocations: 8 kB / 0.6888 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.827, allocations: 11.94 kB / 0.6888 GB, free: 1.184 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.8291, allocations: 1.598 MB / 0.6904 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.8296, allocations: 223 kB / 0.6906 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.8298, allocations: 8 kB / 0.6906 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/0.8305, allocations: 43.92 kB / 0.6907 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.8306, allocations: 60.39 kB / 0.6907 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.8306, allocations: 24 kB / 0.6907 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00147/0.8321, allocations: 0.9608 MB / 0.6917 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8321, allocations: 4 kB / 0.6917 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002523/0.8347, allocations: 463.9 kB / 0.6921 GB, free: 13.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.003095/0.8378, allocations: 3.439 MB / 0.6955 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00332/0.8411, allocations: 1.908 MB / 0.6973 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.8411, allocations: 4.125 kB / 0.6973 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007142/0.8418, allocations: 0.5134 MB / 0.6978 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/0.8428, allocations: 150.6 kB / 0.698 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.8536, allocations: 4.556 MB / 0.7024 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002477/0.8562, allocations: 2.209 MB / 0.7046 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.2763/1.133, allocations: 0.7279 MB / 0.7053 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/1.135, allocations: 1.029 MB / 0.7063 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/1.135, allocations: 1.688 kB / 0.7063 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08098/1.216, allocations: 35.1 MB / 0.7406 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/1.217, allocations: 123.6 kB / 0.7407 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/4.159, allocations: 0 / 0.7407 GB, free: 142.5 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat