Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion2",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.001476/0.001476, allocations: 179.6 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.507/1.507, allocations: 221.3 MB / 236 MB, free: 2.961 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.0009728/0.0009726, allocations: 90.92 kB / 287 MB, free: 248 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.2196/0.2196, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.344e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1614, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5077/0.6692, allocations: 110.3 MB / 0.6095 GB, free: 10.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.6696, allocations: 71.97 kB / 0.6096 GB, free: 10.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7013/1.371, allocations: 118.3 MB / 0.7251 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.224e-06/1.371, allocations: 3.281 kB / 0.7252 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004751/1.371, allocations: 114.7 kB / 0.7253 GB, free: 112.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.02785/1.399, allocations: 5.848 MB / 0.731 GB, free: 110 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/1.399, allocations: 14.2 kB / 0.731 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005365/1.405, allocations: 0.9923 MB / 0.732 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03103/1.436, allocations: 6.976 MB / 0.7388 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02437/1.46, allocations: 7.436 MB / 0.746 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008377/1.461, allocations: 430.7 kB / 0.7464 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005437/1.467, allocations: 0.5689 MB / 0.747 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03999/1.507, allocations: 13.58 MB / 0.7603 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008642/1.508, allocations: 85.53 kB / 0.7603 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004368/1.512, allocations: 269.2 kB / 0.7606 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002277/1.514, allocations: 1.285 MB / 0.7618 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02647/1.541, allocations: 11.27 MB / 0.7729 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08073/1.622, allocations: 61.27 MB / 0.8327 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/1.635, allocations: 5.61 MB / 0.8382 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004035/1.64, allocations: 3.246 MB / 0.8413 GB, free: 51.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007548/1.64, allocations: 0.6867 MB / 0.842 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/1.64, allocations: 60.5 kB / 0.8421 GB, free: 50.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=245): time 8.285e-06/1.64, allocations: 0 / 0.8421 GB, free: 50.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=311): time 0.07796/1.718, allocations: 28.73 MB / 0.8701 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/1.719, allocations: 265.3 kB / 0.8704 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007358/1.726, allocations: 4.551 MB / 0.8748 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008649/1.727, allocations: 73.7 kB / 0.8749 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002278/1.729, allocations: 3.97 MB / 0.8788 GB, free: 18.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001463/1.731, allocations: 1.161 MB / 0.8799 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/1.731, allocations: 156 kB / 0.8801 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003366/1.731, allocations: 0.6243 MB / 0.8807 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003928/1.735, allocations: 3.197 MB / 0.8838 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005703/1.741, allocations: 7.369 MB / 0.891 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00636/1.747, allocations: 4.826 MB / 0.8957 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.867e-05/1.748, allocations: 40 kB / 0.8957 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02771/1.775, allocations: 12.3 MB / 0.9077 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004177/1.776, allocations: 68.94 kB / 0.9078 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003893/1.776, allocations: 148 kB / 0.9079 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006428/1.783, allocations: 2.13 MB / 0.91 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.483/2.266, allocations: 1.717 MB / 0.9117 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/2.288, allocations: 14.32 MB / 0.9257 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008167/2.296, allocations: 447.7 kB / 0.9261 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002318/2.299, allocations: 445.6 kB / 0.9265 GB, free: 111.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 44 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (909): * Single equations (assignments): 904 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001498/2.3, allocations: 0.6658 MB / 0.9272 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/2.302, allocations: 494.8 kB / 0.9277 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/2.318, allocations: 6.904 MB / 0.9344 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-05/2.318, allocations: 30.81 kB / 0.9344 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/2.318, allocations: 13.66 kB / 0.9344 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.666e-05/2.318, allocations: 15.84 kB / 0.9345 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02877/2.347, allocations: 15.77 MB / 0.9499 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/2.347, allocations: 7.719 kB / 0.9499 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/2.349, allocations: 496.4 kB / 0.9503 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004289/2.353, allocations: 1.873 MB / 0.9522 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003472/2.354, allocations: 61.59 kB / 0.9522 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/2.369, allocations: 12.81 MB / 0.9647 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/2.369, allocations: 16.67 kB / 0.9648 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/2.385, allocations: 11.89 MB / 0.9764 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/2.387, allocations: 0.534 MB / 0.9769 GB, free: 95.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001445/2.388, allocations: 65.86 kB / 0.977 GB, free: 95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/2.391, allocations: 201.7 kB / 0.9772 GB, free: 94.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005846/2.392, allocations: 203 kB / 0.9773 GB, free: 94.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002754/2.392, allocations: 89.66 kB / 0.9774 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00728/2.399, allocations: 3.21 MB / 0.9806 GB, free: 93.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.21e-07/2.399, allocations: 0 / 0.9806 GB, free: 93.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01004/2.41, allocations: 1.471 MB / 0.982 GB, free: 93.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01885/2.428, allocations: 13.91 MB / 0.9956 GB, free: 86.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01219/2.441, allocations: 8.047 MB / 1.003 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/2.441, allocations: 4 kB / 1.003 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006843/2.448, allocations: 3.832 MB / 1.007 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/2.452, allocations: 0.6333 MB / 1.008 GB, free: 81.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03477/2.487, allocations: 13.89 MB / 1.021 GB, free: 69.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007576/2.494, allocations: 4.443 MB / 1.026 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007771/2.502, allocations: 2.459 MB / 1.028 GB, free: 64.69 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005545/2.508, allocations: 2.725 MB / 1.031 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/2.508, allocations: 0 / 1.031 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5543/3.062, allocations: 117.6 MB / 1.146 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/3.062, allocations: 169.6 kB / 1.146 GB, free: 119 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.299/9.362, allocations: 0 / 1.146 GB, free: 119 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotion2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat does not exist to compare? outputFormat=mat