Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001922/0.001922, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002512/0.002512, allocations: 207.4 kB / 25.12 MB, free: 3.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.4 MB / 258.7 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2297/0.2297, allocations: 46.93 MB / 362 MB, free: 4.238 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 87.84 kB / 0.4978 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3491, allocations: 66.08 MB / 0.5623 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01574/0.3648, allocations: 11.9 MB / 0.5739 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00954/0.3743, allocations: 4.086 MB / 0.5779 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.3771, allocations: 87.69 kB / 0.578 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003867/0.381, allocations: 1.701 MB / 0.5797 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004451/0.3855, allocations: 1.565 MB / 0.5812 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.388, allocations: 1.204 MB / 0.5824 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005869/0.3939, allocations: 3.506 MB / 0.5858 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/0.3968, allocations: 1.992 MB / 0.5878 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.3987, allocations: 1.168 MB / 0.5889 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002554/0.4012, allocations: 1.732 MB / 0.5906 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005954/0.4018, allocations: 236 kB / 0.5908 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.4032, allocations: 0.628 MB / 0.5914 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001686/0.4049, allocations: 1.585 MB / 0.593 GB, free: 4.711 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.4069, allocations: 1.871 MB / 0.5948 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00712/0.414, allocations: 6.172 MB / 0.6008 GB, free: 12.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.414, allocations: 4 kB / 0.6008 GB, free: 12.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.414, allocations: 0 / 0.6008 GB, free: 12.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001709/0.4142, allocations: 0 / 0.6008 GB, free: 12.63 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.007628/0.4218, allocations: 4.003 MB / 0.6047 GB, free: 8.566 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4219, allocations: 12.02 kB / 0.6047 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009596/0.4315, allocations: 3.001 MB / 0.6077 GB, free: 5.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004521/0.436, allocations: 1.763 MB / 0.6094 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.4362, allocations: 193.1 kB / 0.6096 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008793/0.4371, allocations: 243.8 kB / 0.6098 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/0.4535, allocations: 10.04 MB / 0.6196 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.569e-05/0.4535, allocations: 31.69 kB / 0.6197 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.4539, allocations: 127.8 kB / 0.6198 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003658/0.4576, allocations: 2.317 MB / 0.622 GB, free: 6.148 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/0.474, allocations: 8.925 MB / 0.6308 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05189/0.5259, allocations: 37.35 MB / 0.6672 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00561/0.5315, allocations: 2.353 MB / 0.6695 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.5334, allocations: 1.124 MB / 0.6706 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009115/0.5425, allocations: 4.716 MB / 0.6752 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.099e-05/0.5426, allocations: 55.09 kB / 0.6753 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 5.781e-06/0.5426, allocations: 0 / 0.6753 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.007774/0.5503, allocations: 3.333 MB / 0.6785 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.5504, allocations: 170.8 kB / 0.6787 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006032/0.5565, allocations: 3.837 MB / 0.6824 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002689/0.5567, allocations: 41.7 kB / 0.6825 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002874/0.5596, allocations: 3.321 MB / 0.6857 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009092/0.5605, allocations: 0.6321 MB / 0.6863 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/0.5624, allocations: 1.31 MB / 0.6876 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5625, allocations: 305.1 kB / 0.6879 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003095/0.5656, allocations: 1.953 MB / 0.6898 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006888/0.5725, allocations: 6.108 MB / 0.6958 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/0.5849, allocations: 8.799 MB / 0.7044 GB, free: 12.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/0.585, allocations: 40 kB / 0.7044 GB, free: 12.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01631/0.6013, allocations: 7.726 MB / 0.712 GB, free: 4.543 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.6014, allocations: 71.94 kB / 0.712 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002246/0.6017, allocations: 148.9 kB / 0.7122 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.6019, allocations: 192 kB / 0.7124 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005107/0.607, allocations: 1.462 MB / 0.7138 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003231/0.6073, allocations: 286.9 kB / 0.7141 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005623/0.6129, allocations: 0.9306 MB / 0.715 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/0.6141, allocations: 404 kB / 0.7154 GB, free: 1.062 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.004766/0.6189, allocations: 2.195 MB / 0.7175 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007286/0.6196, allocations: 329.7 kB / 0.7178 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.6209, allocations: 407.1 kB / 0.7182 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.964e-05/0.621, allocations: 39.98 kB / 0.7182 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.621, allocations: 0 / 0.7182 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.621, allocations: 7.984 kB / 0.7182 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.6341, allocations: 5.442 MB / 0.7236 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.291e-05/0.6341, allocations: 8 kB / 0.7236 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.6352, allocations: 207.7 kB / 0.7238 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.698e-05/0.6352, allocations: 15.94 kB / 0.7238 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.6353, allocations: 24.66 kB / 0.7238 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.682e-05/0.6354, allocations: 12 kB / 0.7238 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/0.6354, allocations: 19.86 kB / 0.7238 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/0.6389, allocations: 2.541 MB / 0.7263 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008786/0.6398, allocations: 325.4 kB / 0.7266 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005827/0.6404, allocations: 31.92 kB / 0.7267 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.6416, allocations: 59.92 kB / 0.7267 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.6418, allocations: 84.25 kB / 0.7268 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.6419, allocations: 43.98 kB / 0.7268 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004004/0.6459, allocations: 2.338 MB / 0.7291 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6459, allocations: 0 / 0.7291 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005188/0.6511, allocations: 1.072 MB / 0.7302 GB, free: 1.676 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.0004833/0.6516, allocations: 150.9 kB / 0.7303 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2619/0.9135, allocations: 4.261 MB / 0.7345 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.9135, allocations: 3.906 kB / 0.7345 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009953/0.9145, allocations: 0.8723 MB / 0.7353 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.9164, allocations: 352.6 kB / 0.7357 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.9271, allocations: 8.385 MB / 0.7438 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/0.9296, allocations: 3.164 MB / 0.7469 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003867/0.9335, allocations: 2.225 MB / 0.7491 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/0.9339, allocations: 226.4 kB / 0.7493 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.223e-06/0.9339, allocations: 0 / 0.7493 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.1862/1.12, allocations: 26.39 MB / 0.7751 GB, free: 122.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 6.974124121014029]