Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001419/0.001419, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001501/0.001501, allocations: 213 kB / 23.73 MB, free: 4.16 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.439/1.439, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2342/0.2342, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3346, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01354/0.3482, allocations: 10.39 MB / 0.5707 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009039/0.3572, allocations: 3.905 MB / 0.5745 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.3595, allocations: 87.69 kB / 0.5746 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003874/0.3634, allocations: 1.639 MB / 0.5762 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00429/0.3676, allocations: 1.561 MB / 0.5778 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.3705, allocations: 1.157 MB / 0.5789 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005642/0.3761, allocations: 3.498 MB / 0.5823 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/0.3794, allocations: 1.984 MB / 0.5842 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.3816, allocations: 1.175 MB / 0.5854 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.3845, allocations: 1.658 MB / 0.587 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009675/0.3855, allocations: 236 kB / 0.5872 GB, free: 8.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.3875, allocations: 0.6241 MB / 0.5878 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002144/0.3897, allocations: 1.589 MB / 0.5894 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002877/0.3925, allocations: 1.303 MB / 0.5907 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008379/0.4009, allocations: 6.173 MB / 0.5967 GB, free: 15.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4009, allocations: 0 / 0.5967 GB, free: 15.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.4009, allocations: 3.984 kB / 0.5967 GB, free: 15.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002347/0.4012, allocations: 0 / 0.5967 GB, free: 15.07 MB / 446.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.009679/0.4108, allocations: 4.011 MB / 0.6006 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.4109, allocations: 15.97 kB / 0.6006 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001741/0.4126, allocations: 0.7164 MB / 0.6013 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.4231, allocations: 2.989 MB / 0.6042 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005201/0.4283, allocations: 1.767 MB / 0.606 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.4285, allocations: 204.8 kB / 0.6062 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/0.4297, allocations: 247.8 kB / 0.6064 GB, free: 5.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/0.4497, allocations: 10.04 MB / 0.6162 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.4498, allocations: 31.69 kB / 0.6162 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001156/0.451, allocations: 123.8 kB / 0.6164 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004219/0.4552, allocations: 2.317 MB / 0.6186 GB, free: 7.844 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01852/0.4737, allocations: 8.91 MB / 0.6273 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05577/0.5295, allocations: 36.04 MB / 0.6625 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006045/0.5355, allocations: 2.34 MB / 0.6648 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.5375, allocations: 1.128 MB / 0.6659 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.5482, allocations: 4.498 MB / 0.6703 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.068e-05/0.5483, allocations: 55.09 kB / 0.6703 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.31e-06/0.5483, allocations: 0 / 0.6703 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007963/0.5562, allocations: 3.339 MB / 0.6736 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.5564, allocations: 170.8 kB / 0.6738 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007564/0.5639, allocations: 4.089 MB / 0.6778 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.5642, allocations: 41.7 kB / 0.6778 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003202/0.5674, allocations: 3.321 MB / 0.681 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.5685, allocations: 0.6321 MB / 0.6817 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002925/0.5714, allocations: 1.31 MB / 0.6829 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5716, allocations: 309.1 kB / 0.6832 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/0.5752, allocations: 1.953 MB / 0.6851 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007906/0.5831, allocations: 6.104 MB / 0.6911 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/0.5962, allocations: 8.797 MB / 0.6997 GB, free: 15.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002541/0.5965, allocations: 44 kB / 0.6997 GB, free: 15.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01791/0.6144, allocations: 7.721 MB / 0.7073 GB, free: 7.551 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.6147, allocations: 71.98 kB / 0.7073 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000316/0.615, allocations: 148 kB / 0.7075 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.6152, allocations: 192.5 kB / 0.7077 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004952/0.6202, allocations: 1.459 MB / 0.7091 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003507/0.6205, allocations: 286.9 kB / 0.7094 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004863/0.6254, allocations: 0.9345 MB / 0.7103 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/0.6264, allocations: 400 kB / 0.7107 GB, free: 4.074 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.004086/0.6305, allocations: 2.199 MB / 0.7128 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006522/0.6312, allocations: 329.7 kB / 0.7131 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009662/0.6321, allocations: 407.1 kB / 0.7135 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.956e-05/0.6322, allocations: 35.98 kB / 0.7135 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.6322, allocations: 11.94 kB / 0.7136 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.6322, allocations: 7.969 kB / 0.7136 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.6433, allocations: 5.271 MB / 0.7187 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/0.6433, allocations: 4 kB / 0.7187 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009825/0.6443, allocations: 207.7 kB / 0.7189 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/0.6443, allocations: 15.92 kB / 0.7189 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.496e-05/0.6444, allocations: 24 kB / 0.719 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-05/0.6444, allocations: 15.98 kB / 0.719 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/0.6444, allocations: 11.94 kB / 0.719 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/0.6477, allocations: 2.546 MB / 0.7215 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000821/0.6485, allocations: 317.4 kB / 0.7218 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004948/0.649, allocations: 24 kB / 0.7218 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.6502, allocations: 59.92 kB / 0.7218 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.6504, allocations: 88.23 kB / 0.7219 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.6505, allocations: 43.98 kB / 0.722 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004246/0.6547, allocations: 2.334 MB / 0.7243 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6547, allocations: 0 / 0.7243 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004979/0.6597, allocations: 1.079 MB / 0.7253 GB, free: 4.852 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.004089/0.6638, allocations: 3.171 MB / 0.7284 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2667/0.9304, allocations: 4.251 MB / 0.7326 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.9305, allocations: 5.312 kB / 0.7326 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.9315, allocations: 0.8816 MB / 0.7334 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.9334, allocations: 342.8 kB / 0.7337 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04354/0.9769, allocations: 41.8 MB / 0.7746 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003014/0.9799, allocations: 2.618 MB / 0.7771 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004221/0.9842, allocations: 2.23 MB / 0.7793 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/0.9863, allocations: 1.663 MB / 0.7809 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/0.9863, allocations: 0 / 0.7809 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08291/1.069, allocations: 49.9 MB / 0.8297 GB, free: 59.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/16.8, allocations: 7.5 kB / 0.8297 GB, free: 59.58 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 20.170326019171625]