Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 107.3 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 195.7 kB / 22.98 MB, free: 5.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2357/0.2357, allocations: 44.24 MB / 330.2 MB, free: 9.555 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 79.88 kB / 467.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1364, allocations: 61.03 MB / 0.5166 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01593/0.1523, allocations: 12.53 MB / 0.5288 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008979/0.1613, allocations: 4.079 MB / 0.5328 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.1632, allocations: 95.69 kB / 0.5329 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.1666, allocations: 1.709 MB / 0.5346 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.1713, allocations: 1.642 MB / 0.5362 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.174, allocations: 1.212 MB / 0.5373 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2674/0.4415, allocations: 3.621 MB / 0.5409 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003293/0.4448, allocations: 1.862 MB / 0.5427 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00326/0.448, allocations: 1.237 MB / 0.5439 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004957/0.453, allocations: 1.833 MB / 0.5457 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.4543, allocations: 258.1 kB / 0.5459 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.4568, allocations: 0.7373 MB / 0.5467 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002657/0.4594, allocations: 1.686 MB / 0.5483 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003199/0.4626, allocations: 1.987 MB / 0.5502 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.4743, allocations: 6.534 MB / 0.5566 GB, free: 7.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.4743, allocations: 1 kB / 0.5566 GB, free: 7.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4743, allocations: 0 / 0.5566 GB, free: 7.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002884/0.4746, allocations: 0 / 0.5566 GB, free: 7.223 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01398/0.4885, allocations: 4.239 MB / 0.5608 GB, free: 4.781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.4886, allocations: 9.531 kB / 0.5608 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.4996, allocations: 3.043 MB / 0.5637 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005151/0.5048, allocations: 1.816 MB / 0.5655 GB, free: 3.383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.5049, allocations: 201.2 kB / 0.5657 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008094/0.5058, allocations: 260 kB / 0.566 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.5296, allocations: 10.53 MB / 0.5762 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.82e-05/0.5297, allocations: 30.72 kB / 0.5763 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006484/0.5303, allocations: 135.9 kB / 0.5764 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005533/0.5358, allocations: 2.437 MB / 0.5788 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/0.557, allocations: 9.362 MB / 0.5879 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06837/0.6254, allocations: 38.69 MB / 0.6257 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006717/0.6321, allocations: 2.448 MB / 0.6281 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/0.6343, allocations: 1.176 MB / 0.6293 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01283/0.6471, allocations: 5 MB / 0.6341 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.6472, allocations: 50.69 kB / 0.6342 GB, free: 5.891 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 7.403e-06/0.6472, allocations: 0 / 0.6342 GB, free: 5.891 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.00877/0.656, allocations: 3.38 MB / 0.6375 GB, free: 2.523 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.6561, allocations: 170.9 kB / 0.6376 GB, free: 2.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/0.6667, allocations: 3.967 MB / 0.6415 GB, free: 14.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003654/0.667, allocations: 49.22 kB / 0.6416 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003979/0.671, allocations: 3.466 MB / 0.645 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00132/0.6723, allocations: 0.6389 MB / 0.6456 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003829/0.6762, allocations: 1.359 MB / 0.6469 GB, free: 8.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.6764, allocations: 307.7 kB / 0.6472 GB, free: 8.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003745/0.6801, allocations: 2 MB / 0.6491 GB, free: 6.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007807/0.688, allocations: 6.306 MB / 0.6553 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/0.7007, allocations: 9.059 MB / 0.6642 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/0.7009, allocations: 44 kB / 0.6642 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.02152/0.7224, allocations: 7.948 MB / 0.672 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000308/0.7227, allocations: 68 kB / 0.672 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000338/0.7231, allocations: 156 kB / 0.6722 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.7233, allocations: 200 kB / 0.6724 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005751/0.7291, allocations: 1.513 MB / 0.6738 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002879/0.7294, allocations: 298.8 kB / 0.6741 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006146/0.7355, allocations: 0.9814 MB / 0.6751 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/0.7366, allocations: 408 kB / 0.6755 GB, free: 7.637 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.004608/0.7412, allocations: 2.283 MB / 0.6777 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006715/0.7419, allocations: 333.7 kB / 0.678 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009343/0.7428, allocations: 424.2 kB / 0.6784 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.82e-05/0.7429, allocations: 34.62 kB / 0.6785 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.7429, allocations: 8 kB / 0.6785 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.7429, allocations: 7.969 kB / 0.6785 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.7541, allocations: 5.676 MB / 0.684 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/0.7541, allocations: 8.812 kB / 0.684 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.7552, allocations: 219.6 kB / 0.6842 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.7552, allocations: 8 kB / 0.6842 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.7553, allocations: 31.59 kB / 0.6843 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/0.7553, allocations: 12.62 kB / 0.6843 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.7553, allocations: 11.94 kB / 0.6843 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003719/0.759, allocations: 2.604 MB / 0.6868 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009644/0.76, allocations: 321.3 kB / 0.6871 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005191/0.7605, allocations: 31.98 kB / 0.6872 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.7617, allocations: 67.2 kB / 0.6872 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.7619, allocations: 84.19 kB / 0.6873 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.762, allocations: 47.98 kB / 0.6874 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005098/0.7671, allocations: 2.411 MB / 0.6897 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7671, allocations: 3.938 kB / 0.6897 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006148/0.7732, allocations: 1.145 MB / 0.6908 GB, free: 7.723 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.0004649/0.7737, allocations: 150.9 kB / 0.691 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008124/0.7818, allocations: 4.361 MB / 0.6952 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.7818, allocations: 0 / 0.6952 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.7833, allocations: 0.8929 MB / 0.6961 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/0.786, allocations: 358.8 kB / 0.6965 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/0.8069, allocations: 8.757 MB / 0.705 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005603/0.8125, allocations: 3.273 MB / 0.7082 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005637/0.8182, allocations: 2.283 MB / 0.7104 GB, free: 3.535 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/0.8188, allocations: 231.4 kB / 0.7107 GB, free: 3.309 MB / 0.545 GB Notification: Performance of SimCode: time 1.462e-06/0.8188, allocations: 0 / 0.7107 GB, free: 3.309 MB / 0.545 GB Notification: Performance of Templates: time 0.06554/0.8843, allocations: 27.39 MB / 0.7374 GB, free: 8.098 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.096380938775837]