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.00183/0.00183, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002136/0.002136, allocations: 206.8 kB / 23.73 MB, free: 4.387 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2321/0.2321, allocations: 46.97 MB / 360.9 MB, free: 4.062 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.002012/0.002012, allocations: 71.89 kB / 0.4961 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.355, allocations: 66.03 MB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.0134/0.3684, allocations: 10.39 MB / 0.5707 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008241/0.3766, allocations: 3.907 MB / 0.5745 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.3781, allocations: 87.69 kB / 0.5746 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003255/0.3813, allocations: 1.635 MB / 0.5762 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.3847, allocations: 1.565 MB / 0.5778 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.387, allocations: 1.142 MB / 0.5789 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004599/0.3916, allocations: 3.506 MB / 0.5823 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/0.394, allocations: 1.992 MB / 0.5842 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.3955, allocations: 1.172 MB / 0.5854 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.3978, allocations: 1.732 MB / 0.5871 GB, free: 9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005006/0.3983, allocations: 240 kB / 0.5873 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.3996, allocations: 0.6241 MB / 0.5879 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.4011, allocations: 1.593 MB / 0.5895 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.4026, allocations: 1.303 MB / 0.5907 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007039/0.4097, allocations: 6.169 MB / 0.5968 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4097, allocations: 4 kB / 0.5968 GB, free: 15.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4097, allocations: 0 / 0.5968 GB, free: 15.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001208/0.4098, allocations: 0 / 0.5968 GB, free: 15.03 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.006659/0.4165, allocations: 4.019 MB / 0.6007 GB, free: 10.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4165, allocations: 11.97 kB / 0.6007 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009242/0.4174, allocations: 0.7125 MB / 0.6014 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009957/0.4274, allocations: 3.001 MB / 0.6043 GB, free: 7.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005001/0.4324, allocations: 1.771 MB / 0.6061 GB, free: 5.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.4326, allocations: 196.8 kB / 0.6062 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.4337, allocations: 247.8 kB / 0.6065 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01684/0.4505, allocations: 10.03 MB / 0.6163 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.173e-05/0.4506, allocations: 35.69 kB / 0.6163 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004203/0.451, allocations: 123.8 kB / 0.6164 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004068/0.4551, allocations: 2.317 MB / 0.6187 GB, free: 7.805 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.4727, allocations: 8.914 MB / 0.6274 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05176/0.5245, allocations: 36.02 MB / 0.6626 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005701/0.5302, allocations: 2.357 MB / 0.6649 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.5324, allocations: 1.132 MB / 0.666 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009963/0.5424, allocations: 4.494 MB / 0.6704 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.5424, allocations: 55.08 kB / 0.6704 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.999e-06/0.5424, allocations: 0 / 0.6704 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007205/0.5496, allocations: 3.337 MB / 0.6737 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.5497, allocations: 170.8 kB / 0.6738 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00591/0.5557, allocations: 4.089 MB / 0.6778 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.5558, allocations: 49.61 kB / 0.6779 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002859/0.5587, allocations: 3.317 MB / 0.6811 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008175/0.5595, allocations: 0.6282 MB / 0.6817 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002003/0.5615, allocations: 1.314 MB / 0.683 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5617, allocations: 301.1 kB / 0.6833 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/0.5647, allocations: 1.961 MB / 0.6852 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006834/0.5715, allocations: 6.104 MB / 0.6912 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/0.5827, allocations: 8.797 MB / 0.6998 GB, free: 15.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001307/0.5828, allocations: 40 kB / 0.6998 GB, free: 15.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.013/0.5958, allocations: 7.717 MB / 0.7074 GB, free: 7.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.5959, allocations: 76.62 kB / 0.7074 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001573/0.5961, allocations: 148 kB / 0.7076 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.5963, allocations: 196 kB / 0.7078 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004408/0.6007, allocations: 1.454 MB / 0.7092 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002589/0.6009, allocations: 290.9 kB / 0.7095 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/0.605, allocations: 0.9423 MB / 0.7104 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005721/0.6056, allocations: 404 kB / 0.7108 GB, free: 4.012 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.003215/0.6088, allocations: 2.195 MB / 0.7129 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005104/0.6093, allocations: 325.7 kB / 0.7132 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.61, allocations: 411.1 kB / 0.7136 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.722e-05/0.6101, allocations: 35.98 kB / 0.7136 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.6101, allocations: 4 kB / 0.7136 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.6101, allocations: 3.984 kB / 0.7136 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009174/0.6193, allocations: 5.271 MB / 0.7188 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.6193, allocations: 7.984 kB / 0.7188 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000961/0.6203, allocations: 207.7 kB / 0.719 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-05/0.6203, allocations: 11.94 kB / 0.719 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.191e-05/0.6204, allocations: 28.66 kB / 0.719 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.6204, allocations: 8 kB / 0.719 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/0.6204, allocations: 15.94 kB / 0.7191 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.6236, allocations: 2.552 MB / 0.7216 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006745/0.6242, allocations: 309.5 kB / 0.7218 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/0.6246, allocations: 31.92 kB / 0.7219 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.6256, allocations: 59.92 kB / 0.7219 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.6257, allocations: 80.25 kB / 0.722 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.6258, allocations: 51.92 kB / 0.7221 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003714/0.6296, allocations: 2.338 MB / 0.7243 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6296, allocations: 0 / 0.7243 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00555/0.6351, allocations: 1.075 MB / 0.7254 GB, free: 4.805 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.004609/0.6397, allocations: 3.18 MB / 0.7285 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2975/0.9372, allocations: 4.244 MB / 0.7326 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.9372, allocations: 3.719 kB / 0.7326 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.9389, allocations: 0.8814 MB / 0.7335 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.9419, allocations: 340 kB / 0.7338 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05493/0.9969, allocations: 41.8 MB / 0.7747 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002613/0.9995, allocations: 2.618 MB / 0.7772 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003758/1.003, allocations: 2.227 MB / 0.7794 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/1.005, allocations: 1.663 MB / 0.781 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/1.005, allocations: 0 / 0.781 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08477/1.09, allocations: 52.9 MB / 0.8327 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/16.06, allocations: 7.312 kB / 0.8327 GB, free: 56.48 MB / 0.5606 GB " [Timeout remaining time 644] (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: 19.338651194004342]