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.0009745/0.0009745, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005185/0.005185, allocations: 160 kB / 24.7 MB, free: 9.43 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.8906/0.8906, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2302/0.2302, allocations: 32.79 MB / 294.2 MB, free: 1.223 MB / 266.7 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: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.75e-05, allocations: 4.812 kB / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.1977/0.1977, allocations: 10.41 MB / 451.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006201/0.2039, allocations: 3.906 MB / 455.2 MB, free: 38.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.2056, allocations: 88.94 kB / 455.2 MB, free: 38.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.2076, allocations: 1.706 MB / 457 MB, free: 37.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.2102, allocations: 1.601 MB / 458.6 MB, free: 37.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.2114, allocations: 1.218 MB / 459.8 MB, free: 36.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003178/0.2145, allocations: 3.562 MB / 463.3 MB, free: 35.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/0.2164, allocations: 2.005 MB / 465.3 MB, free: 34.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.2185, allocations: 1.716 MB / 467.1 MB, free: 33.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.2201, allocations: 1.618 MB / 468.7 MB, free: 33.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004259/0.2205, allocations: 240.2 kB / 468.9 MB, free: 33.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.2216, allocations: 0.6816 MB / 469.6 MB, free: 33.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.2226, allocations: 1.637 MB / 471.2 MB, free: 32.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009396/0.2236, allocations: 0.9467 MB / 472.2 MB, free: 31.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00465/0.2282, allocations: 6.025 MB / 478.2 MB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2282, allocations: 0 / 478.2 MB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2282, allocations: 0 / 478.2 MB, free: 29.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001846/0.2284, allocations: 2.875 kB / 478.2 MB, free: 29.84 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.006023/0.2344, allocations: 3.966 MB / 482.2 MB, free: 27.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.736e-05/0.2345, allocations: 13.16 kB / 482.2 MB, free: 27.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00635/0.2408, allocations: 3.022 MB / 485.2 MB, free: 27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/0.2447, allocations: 1.772 MB / 487 MB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.2448, allocations: 191.6 kB / 487.2 MB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009259/0.2458, allocations: 246.7 kB / 487.4 MB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.2609, allocations: 10.05 MB / 497.5 MB, free: 21.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-05/0.261, allocations: 31.53 kB / 497.5 MB, free: 21.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004805/0.2615, allocations: 130.6 kB / 497.6 MB, free: 21.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00278/0.2643, allocations: 2.312 MB / 499.9 MB, free: 20.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.2776, allocations: 8.929 MB / 0.4969 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03207/0.3097, allocations: 35.13 MB / 0.5312 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.3135, allocations: 2.409 MB / 0.5336 GB, free: 9.082 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.3148, allocations: 1.135 MB / 0.5347 GB, free: 7.934 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005869/0.3207, allocations: 4.554 MB / 0.5391 GB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3207, allocations: 43.22 kB / 0.5392 GB, free: 3.293 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 5e-06/0.3208, allocations: 0 / 0.5392 GB, free: 3.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.004606/0.3254, allocations: 3.428 MB / 0.5425 GB, free: 15.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.3254, allocations: 170.9 kB / 0.5427 GB, free: 15.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/0.3293, allocations: 3.758 MB / 0.5464 GB, free: 11.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.3294, allocations: 41.7 kB / 0.5464 GB, free: 11.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.3311, allocations: 3.302 MB / 0.5496 GB, free: 8.508 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/0.3316, allocations: 0.6127 MB / 0.5502 GB, free: 7.891 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.3328, allocations: 1.298 MB / 0.5515 GB, free: 6.582 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3329, allocations: 349.9 kB / 0.5518 GB, free: 6.234 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.3349, allocations: 1.953 MB / 0.5537 GB, free: 4.277 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00395/0.3389, allocations: 6.112 MB / 0.5597 GB, free: 12.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006841/0.3457, allocations: 8.799 MB / 0.5683 GB, free: 1.223 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/0.3458, allocations: 40 kB / 0.5683 GB, free: 1.184 MB / 474.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01129/0.3571, allocations: 7.692 MB / 0.5758 GB, free: 9.492 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.3572, allocations: 68 kB / 0.5759 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001561/0.3574, allocations: 148 kB / 0.576 GB, free: 9.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.3575, allocations: 196 kB / 0.5762 GB, free: 9.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003272/0.3608, allocations: 1.462 MB / 0.5777 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002376/0.361, allocations: 286.8 kB / 0.5779 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004392/0.3654, allocations: 0.9007 MB / 0.5788 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/0.3666, allocations: 404 kB / 0.5792 GB, free: 6.043 MB / 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.003969/0.3705, allocations: 2.196 MB / 0.5813 GB, free: 3.836 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/0.371, allocations: 294 kB / 0.5816 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.3715, allocations: 380.4 kB / 0.582 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.163e-05/0.3716, allocations: 43.92 kB / 0.582 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.3716, allocations: 4 kB / 0.582 GB, free: 3.125 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3716, allocations: 7.922 kB / 0.582 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006254/0.3778, allocations: 4.376 MB / 0.5863 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.3779, allocations: 4 kB / 0.5863 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.3784, allocations: 211.7 kB / 0.5865 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.3784, allocations: 12 kB / 0.5865 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.375e-05/0.3785, allocations: 27.91 kB / 0.5866 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.3785, allocations: 15.92 kB / 0.5866 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.3785, allocations: 11.94 kB / 0.5866 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.3805, allocations: 2.509 MB / 0.589 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004294/0.381, allocations: 281.6 kB / 0.5893 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.3812, allocations: 28 kB / 0.5893 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/0.3817, allocations: 67.84 kB / 0.5894 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3818, allocations: 92.86 kB / 0.5895 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.918e-05/0.3819, allocations: 40 kB / 0.5895 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002411/0.3843, allocations: 2.099 MB / 0.5916 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3843, allocations: 4 kB / 0.5916 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003668/0.3879, allocations: 1.095 MB / 0.5926 GB, free: 8.074 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.0003827/0.3883, allocations: 158.9 kB / 0.5928 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005116/0.3934, allocations: 4.256 MB / 0.597 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.3934, allocations: 0 / 0.597 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008372/0.3943, allocations: 0.8734 MB / 0.5978 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.3956, allocations: 300.3 kB / 0.5981 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.4072, allocations: 8.802 MB / 0.6067 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/0.4102, allocations: 2.624 MB / 0.6093 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000712/0.4109, allocations: 264.5 kB / 0.6095 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of SimCode: time 1.123e-06/0.4109, allocations: 0 / 0.6095 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of Templates: time 0.231/0.6419, allocations: 52.81 MB / 0.6611 GB, free: 148.7 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/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: 7.580092558637261]