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.0008162/0.0008162, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008667/0.0008667, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8824/0.8824, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2352/0.2352, allocations: 34.25 MB / 294.9 MB, free: 0.6875 MB / 266.7 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 1.853e-06/1.853e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.334e-05, allocations: 2.281 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.1809/0.1809, allocations: 10.4 MB / 452.6 MB, free: 38.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005632/0.1865, allocations: 3.915 MB / 456.5 MB, free: 36.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.1883, allocations: 89.34 kB / 456.6 MB, free: 36.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.1904, allocations: 1.708 MB / 458.3 MB, free: 35.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.1928, allocations: 1.607 MB / 459.9 MB, free: 34.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1939, allocations: 1.212 MB / 461.1 MB, free: 34.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002784/0.1967, allocations: 3.56 MB / 464.6 MB, free: 32.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.1984, allocations: 1.995 MB / 466.6 MB, free: 31.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.2003, allocations: 1.718 MB / 468.4 MB, free: 31.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.2018, allocations: 1.623 MB / 470 MB, free: 30.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004408/0.2023, allocations: 239.8 kB / 470.2 MB, free: 30.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008603/0.2031, allocations: 0.681 MB / 470.9 MB, free: 30.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008551/0.204, allocations: 1.638 MB / 472.5 MB, free: 29.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007165/0.2047, allocations: 0.95 MB / 473.5 MB, free: 29.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003688/0.2084, allocations: 6.029 MB / 479.5 MB, free: 27.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2084, allocations: 2.719 kB / 479.5 MB, free: 27.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2084, allocations: 0 / 479.5 MB, free: 27.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001856/0.2086, allocations: 0 / 479.5 MB, free: 27.31 MB / 410.7 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.00571/0.2143, allocations: 3.96 MB / 483.5 MB, free: 24.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.2144, allocations: 9.688 kB / 483.5 MB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008888/0.2152, allocations: 0.7141 MB / 484.2 MB, free: 24.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00586/0.2211, allocations: 3.032 MB / 487.2 MB, free: 24.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.2243, allocations: 1.763 MB / 489 MB, free: 23.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.2244, allocations: 199.8 kB / 489.2 MB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005231/0.2249, allocations: 245.5 kB / 489.4 MB, free: 23.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.2384, allocations: 10.05 MB / 499.5 MB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-05/0.2385, allocations: 33.2 kB / 499.5 MB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003565/0.2389, allocations: 125.8 kB / 499.6 MB, free: 18.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002523/0.2414, allocations: 2.322 MB / 0.4902 GB, free: 17.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.2522, allocations: 8.921 MB / 0.4989 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02969/0.2819, allocations: 36.12 MB / 0.5342 GB, free: 6.238 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/0.2856, allocations: 2.411 MB / 0.5365 GB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.2867, allocations: 1.127 MB / 0.5376 GB, free: 2.633 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005395/0.2921, allocations: 4.579 MB / 0.5421 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.2921, allocations: 51.27 kB / 0.5422 GB, free: 13.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 4.759e-06/0.2921, allocations: 7.938 kB / 0.5422 GB, free: 13.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=150): time 0.004307/0.2964, allocations: 3.457 MB / 0.5455 GB, free: 10.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.2965, allocations: 170.8 kB / 0.5457 GB, free: 10.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00426/0.3007, allocations: 4.085 MB / 0.5497 GB, free: 6.211 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.3008, allocations: 45.7 kB / 0.5497 GB, free: 6.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.3024, allocations: 3.279 MB / 0.5529 GB, free: 2.848 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000461/0.3028, allocations: 0.6243 MB / 0.5535 GB, free: 2.219 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/0.304, allocations: 1.29 MB / 0.5548 GB, free: 0.918 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.3041, allocations: 305.1 kB / 0.5551 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.3063, allocations: 1.954 MB / 0.557 GB, free: 14.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004045/0.3103, allocations: 6.112 MB / 0.563 GB, free: 6.473 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007729/0.3181, allocations: 8.788 MB / 0.5716 GB, free: 11.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001455/0.3182, allocations: 40 kB / 0.5716 GB, free: 11.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01101/0.3292, allocations: 7.717 MB / 0.5791 GB, free: 3.855 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.652e-05/0.3293, allocations: 72.03 kB / 0.5792 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/0.3294, allocations: 152 kB / 0.5793 GB, free: 3.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.3296, allocations: 195.9 kB / 0.5795 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003527/0.3331, allocations: 1.462 MB / 0.581 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001791/0.3333, allocations: 289.4 kB / 0.5812 GB, free: 1.699 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003919/0.3372, allocations: 0.9306 MB / 0.5821 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008381/0.338, allocations: 400 kB / 0.5825 GB, free: 380 kB / 490.7 MB 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.003421/0.3415, allocations: 2.199 MB / 0.5847 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.3419, allocations: 325.7 kB / 0.585 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.3424, allocations: 407.1 kB / 0.5854 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-05/0.3424, allocations: 43.86 kB / 0.5854 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.3424, allocations: 480 / 0.5854 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3425, allocations: 7.984 kB / 0.5854 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00734/0.3498, allocations: 5.306 MB / 0.5906 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.3498, allocations: 7.984 kB / 0.5906 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/0.3504, allocations: 207.7 kB / 0.5908 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.3504, allocations: 12.81 kB / 0.5908 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-05/0.3505, allocations: 28.66 kB / 0.5909 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/0.3505, allocations: 11.98 kB / 0.5909 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.3505, allocations: 19.88 kB / 0.5909 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.3527, allocations: 2.535 MB / 0.5934 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/0.3533, allocations: 309.5 kB / 0.5937 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/0.3536, allocations: 24 kB / 0.5937 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.3542, allocations: 65.3 kB / 0.5937 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.3543, allocations: 96.14 kB / 0.5938 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.415e-05/0.3544, allocations: 44 kB / 0.5939 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003245/0.3576, allocations: 2.334 MB / 0.5961 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3576, allocations: 0 / 0.5961 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003742/0.3614, allocations: 1.075 MB / 0.5972 GB, free: 1.141 MB / 0.4948 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.002552/0.3639, allocations: 3.166 MB / 0.6003 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0051/0.369, allocations: 4.265 MB / 0.6045 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.369, allocations: 0 / 0.6045 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008035/0.3699, allocations: 0.8774 MB / 0.6053 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.3714, allocations: 355.3 kB / 0.6057 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2233/0.5947, allocations: 41.53 MB / 0.6462 GB, free: 165.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002181/0.5969, allocations: 2.624 MB / 0.6488 GB, free: 164.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002923/0.5998, allocations: 2.224 MB / 0.6509 GB, free: 164.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/0.6011, allocations: 1.67 MB / 0.6526 GB, free: 163.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.593e-06/0.6011, allocations: 0 / 0.6526 GB, free: 163.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06816/0.6692, allocations: 49.9 MB / 0.7013 GB, free: 145.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.858/9.527, allocations: 15.98 kB / 0.7013 GB, free: 145.2 MB / 0.5417 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/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: 11.625356229022145]