Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 205.6 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.549/1.549, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2139/0.2139, allocations: 44.94 MB / 358.9 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 63.91 kB / 0.493 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3442, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01417/0.3584, allocations: 10.39 MB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.3688, allocations: 3.899 MB / 0.5709 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.3712, allocations: 87.69 kB / 0.571 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003932/0.3752, allocations: 1.635 MB / 0.5726 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004903/0.3801, allocations: 1.564 MB / 0.5741 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.383, allocations: 1.149 MB / 0.5752 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005305/0.3883, allocations: 3.502 MB / 0.5787 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/0.3917, allocations: 1.996 MB / 0.5806 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.3938, allocations: 1.172 MB / 0.5818 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.3965, allocations: 1.662 MB / 0.5834 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007719/0.3973, allocations: 236 kB / 0.5836 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.399, allocations: 0.6202 MB / 0.5842 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002096/0.4011, allocations: 1.589 MB / 0.5858 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002517/0.4036, allocations: 1.303 MB / 0.587 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00825/0.4119, allocations: 6.177 MB / 0.5931 GB, free: 2.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4119, allocations: 0 / 0.5931 GB, free: 2.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4119, allocations: 0 / 0.5931 GB, free: 2.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002366/0.4121, allocations: 0 / 0.5931 GB, free: 2.363 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.008869/0.421, allocations: 4.017 MB / 0.597 GB, free: 14.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.421, allocations: 16.03 kB / 0.597 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001467/0.4225, allocations: 0.7125 MB / 0.5977 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.4329, allocations: 2.993 MB / 0.6006 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004975/0.4379, allocations: 1.771 MB / 0.6024 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.4381, allocations: 196.9 kB / 0.6025 GB, free: 8.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009413/0.439, allocations: 247.8 kB / 0.6028 GB, free: 8.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.4567, allocations: 10.04 MB / 0.6126 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.4568, allocations: 27.75 kB / 0.6126 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007599/0.4576, allocations: 123.8 kB / 0.6127 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004002/0.4616, allocations: 2.321 MB / 0.615 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.4789, allocations: 8.916 MB / 0.6237 GB, free: 2.219 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05201/0.5309, allocations: 36.02 MB / 0.6589 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005765/0.5366, allocations: 2.344 MB / 0.6612 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/0.5386, allocations: 1.135 MB / 0.6623 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.5491, allocations: 4.498 MB / 0.6667 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/0.5491, allocations: 51.16 kB / 0.6667 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.34e-06/0.5491, allocations: 0 / 0.6667 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007571/0.5567, allocations: 3.337 MB / 0.67 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.5568, allocations: 170.9 kB / 0.6701 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007678/0.5645, allocations: 4.085 MB / 0.6741 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/0.5647, allocations: 45.69 kB / 0.6742 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003082/0.5678, allocations: 3.321 MB / 0.6774 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009477/0.5687, allocations: 0.6243 MB / 0.678 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002903/0.5716, allocations: 1.318 MB / 0.6793 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5718, allocations: 305.1 kB / 0.6796 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003689/0.5755, allocations: 1.953 MB / 0.6815 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007492/0.583, allocations: 6.112 MB / 0.6875 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01173/0.5947, allocations: 8.791 MB / 0.6961 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000178/0.5949, allocations: 44 kB / 0.6961 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01586/0.6107, allocations: 7.715 MB / 0.7036 GB, free: 10.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.611, allocations: 70.66 kB / 0.7037 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003416/0.6113, allocations: 148 kB / 0.7038 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003063/0.6116, allocations: 192 kB / 0.704 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004969/0.6166, allocations: 1.462 MB / 0.7055 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003426/0.6169, allocations: 286.9 kB / 0.7057 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005067/0.622, allocations: 0.9425 MB / 0.7067 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009846/0.623, allocations: 400 kB / 0.707 GB, free: 7.371 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (791): * Single equations (assignments): 783 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004644/0.6276, allocations: 2.199 MB / 0.7092 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007502/0.6284, allocations: 325.7 kB / 0.7095 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.6295, allocations: 407.1 kB / 0.7099 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-05/0.6295, allocations: 43.97 kB / 0.7099 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.6296, allocations: 0 / 0.7099 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.6296, allocations: 7.984 kB / 0.7099 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.6415, allocations: 5.263 MB / 0.7151 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.6415, allocations: 8.969 kB / 0.7151 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.6425, allocations: 207.7 kB / 0.7153 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.009e-05/0.6425, allocations: 19.94 kB / 0.7153 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.6426, allocations: 28 kB / 0.7153 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-05/0.6427, allocations: 15.94 kB / 0.7153 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6427, allocations: 4 kB / 0.7153 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/0.6462, allocations: 2.546 MB / 0.7178 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008073/0.647, allocations: 313.4 kB / 0.7181 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/0.6475, allocations: 27.97 kB / 0.7182 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.6487, allocations: 67.92 kB / 0.7182 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.6489, allocations: 88.19 kB / 0.7183 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.649, allocations: 47.98 kB / 0.7183 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004598/0.6536, allocations: 2.33 MB / 0.7206 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6536, allocations: 0 / 0.7206 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004902/0.6585, allocations: 1.079 MB / 0.7217 GB, free: 8.152 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 102 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004295/0.6628, allocations: 3.172 MB / 0.7248 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007787/0.6706, allocations: 4.26 MB / 0.7289 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.6706, allocations: 0 / 0.7289 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2518/0.9224, allocations: 0.8727 MB / 0.7298 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.9246, allocations: 342.3 kB / 0.7301 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03737/0.9619, allocations: 41.81 MB / 0.7709 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/0.9644, allocations: 2.622 MB / 0.7735 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003919/0.9683, allocations: 2.223 MB / 0.7757 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/0.9699, allocations: 1.663 MB / 0.7773 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.433e-06/0.9699, allocations: 0 / 0.7773 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0848/1.055, allocations: 49.91 MB / 0.826 GB, free: 65.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/16.14, allocations: 4 kB / 0.826 GB, free: 65.9 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.476638610940427]