Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.002321/0.00232, allocations: 178.1 kB / 8.362 MB, free: 0.7148 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.99/1.99, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 83.09 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2906/0.2906, allocations: 43.5 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.367e-05, allocations: 4 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.423, allocations: 58.84 MB / 477.2 MB, free: 5.141 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.6117, allocations: 104.7 MB / 0.5683 GB, free: 10.42 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.6121, allocations: 83.45 kB / 0.5684 GB, free: 10.34 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6711/1.283, allocations: 78.22 MB / 0.6448 GB, free: 111.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.635e-06/1.283, allocations: 2.344 kB / 0.6448 GB, free: 111.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002142/1.283, allocations: 74.92 kB / 0.6448 GB, free: 111.2 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01436/1.298, allocations: 3.579 MB / 0.6483 GB, free: 109.7 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.298, allocations: 9.75 kB / 0.6483 GB, free: 109.7 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02726/1.325, allocations: 3.371 MB / 0.6516 GB, free: 109.4 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/1.335, allocations: 2.346 MB / 0.6539 GB, free: 108.9 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/1.336, allocations: 132.7 kB / 0.654 GB, free: 108.9 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002819/1.339, allocations: 231.2 kB / 0.6543 GB, free: 108.9 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01786/1.357, allocations: 6.69 MB / 0.6608 GB, free: 108.9 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02671/1.383, allocations: 10.01 MB / 0.6706 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000218/1.384, allocations: 47.7 kB / 0.6706 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00224/1.386, allocations: 27 kB / 0.6706 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002546/1.388, allocations: 1.136 MB / 0.6717 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07056/1.459, allocations: 45.97 MB / 0.7166 GB, free: 73.01 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/1.464, allocations: 2.798 MB / 0.7194 GB, free: 71.21 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/1.466, allocations: 1.026 MB / 0.7204 GB, free: 70.84 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/1.466, allocations: 26.42 kB / 0.7204 GB, free: 70.84 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.466, allocations: 54.69 kB / 0.7205 GB, free: 70.79 MB / 475.1 MB Notification: Performance of pre-optimization done (n=179): time 6.092e-06/1.466, allocations: 0 / 0.7205 GB, free: 70.79 MB / 475.1 MB Notification: Performance of matching and sorting (n=179): time 0.007448/1.474, allocations: 2.38 MB / 0.7228 GB, free: 70.04 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/1.474, allocations: 169.9 kB / 0.7229 GB, free: 69.86 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007414/1.481, allocations: 3.126 MB / 0.726 GB, free: 68.61 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000377/1.482, allocations: 29.7 kB / 0.726 GB, free: 68.58 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002957/1.485, allocations: 3.387 MB / 0.7293 GB, free: 65.87 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0012/1.486, allocations: 0.6947 MB / 0.73 GB, free: 65.38 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008033/1.487, allocations: 2.25 kB / 0.73 GB, free: 65.38 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0006339/1.487, allocations: 0.6155 MB / 0.7306 GB, free: 64.93 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004769/1.492, allocations: 1.91 MB / 0.7325 GB, free: 64.31 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007823/1.5, allocations: 6.46 MB / 0.7388 GB, free: 57.29 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007538/1.508, allocations: 3.572 MB / 0.7423 GB, free: 54.5 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001654/1.508, allocations: 48 kB / 0.7423 GB, free: 54.45 MB / 475.1 MB Notification: Performance of matching and sorting (n=928) (initialization): time 0.01937/1.527, allocations: 7.203 MB / 0.7493 GB, free: 48.08 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/1.527, allocations: 77.41 kB / 0.7494 GB, free: 48.01 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002475/1.528, allocations: 164.8 kB / 0.7496 GB, free: 47.85 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/1.528, allocations: 236 kB / 0.7498 GB, free: 47.62 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009577/1.537, allocations: 1.622 MB / 0.7514 GB, free: 46.18 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002934/1.538, allocations: 323.6 kB / 0.7517 GB, free: 45.9 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007159/1.545, allocations: 0.813 MB / 0.7525 GB, free: 45.1 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/1.547, allocations: 440 kB / 0.7529 GB, free: 44.67 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (880): * Single equations (assignments): 874 * Array equations: 6 * 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.002093/1.549, allocations: 499 kB / 0.7534 GB, free: 44.18 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004883/1.554, allocations: 2.139 MB / 0.7555 GB, free: 42.23 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007934/1.555, allocations: 311.9 kB / 0.7558 GB, free: 41.93 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/1.559, allocations: 1.891 MB / 0.7576 GB, free: 40.3 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001096/1.559, allocations: 41.83 kB / 0.7577 GB, free: 40.27 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.559, allocations: 7.938 kB / 0.7577 GB, free: 40.26 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/1.559, allocations: 7.5 kB / 0.7577 GB, free: 40.26 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/1.575, allocations: 5.746 MB / 0.7633 GB, free: 35.29 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/1.575, allocations: 11.56 kB / 0.7633 GB, free: 35.29 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/1.578, allocations: 244 kB / 0.7635 GB, free: 35.09 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.142e-05/1.578, allocations: 16 kB / 0.7635 GB, free: 35.07 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/1.578, allocations: 15.19 kB / 0.7636 GB, free: 35.06 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.782e-05/1.578, allocations: 16.53 kB / 0.7636 GB, free: 35.05 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/1.578, allocations: 15.94 kB / 0.7636 GB, free: 35.03 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006249/1.584, allocations: 3.614 MB / 0.7671 GB, free: 31.32 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.585, allocations: 379.5 kB / 0.7675 GB, free: 30.94 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008669/1.586, allocations: 12 kB / 0.7675 GB, free: 30.93 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/1.588, allocations: 52.19 kB / 0.7675 GB, free: 30.9 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004256/1.589, allocations: 103.7 kB / 0.7676 GB, free: 30.82 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/1.589, allocations: 55.44 kB / 0.7677 GB, free: 30.77 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.004824/1.594, allocations: 2.034 MB / 0.7697 GB, free: 29.02 MB / 475.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.594, allocations: 0 / 0.7697 GB, free: 29.02 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.007853/1.602, allocations: 1.027 MB / 0.7707 GB, free: 28 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * Array equations: 6 * 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.006126/1.608, allocations: 6.21 MB / 0.7767 GB, free: 21.77 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.009273/1.617, allocations: 4.395 MB / 0.781 GB, free: 17.78 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.647e-05/1.617, allocations: 8.188 kB / 0.781 GB, free: 17.77 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002037/1.619, allocations: 1.039 MB / 0.7821 GB, free: 16.82 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/1.622, allocations: 266.7 kB / 0.7823 GB, free: 16.58 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02933/1.651, allocations: 9.123 MB / 0.7912 GB, free: 7.488 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007373/1.659, allocations: 3.368 MB / 0.7945 GB, free: 4.102 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00496/1.664, allocations: 1.827 MB / 0.7963 GB, free: 2.273 MB / 475.1 MB Notification: Performance of SimCode: time 2.515e-06/1.664, allocations: 4.844 kB / 0.7963 GB, free: 2.27 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.583/6.247, allocations: 76.84 MB / 0.8713 GB, free: 114.9 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat