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.001738/0.001738, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002113/0.002113, allocations: 212.1 kB / 23.73 MB, free: 4.523 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2468/0.2468, allocations: 46.95 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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: 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_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_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.84 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3568, allocations: 66.04 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01434/0.3712, allocations: 10.38 MB / 0.5712 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009383/0.3805, allocations: 3.907 MB / 0.575 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.3828, allocations: 87.69 kB / 0.5751 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.3867, allocations: 1.643 MB / 0.5767 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004302/0.391, allocations: 1.565 MB / 0.5782 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.3937, allocations: 1.145 MB / 0.5794 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005555/0.3992, allocations: 3.505 MB / 0.5828 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003366/0.4026, allocations: 1.996 MB / 0.5847 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.4049, allocations: 1.168 MB / 0.5859 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003153/0.4081, allocations: 1.736 MB / 0.5876 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008537/0.4089, allocations: 236 kB / 0.5878 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.4107, allocations: 0.628 MB / 0.5884 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002135/0.4129, allocations: 1.597 MB / 0.59 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.4152, allocations: 1.303 MB / 0.5912 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007533/0.4227, allocations: 6.169 MB / 0.5973 GB, free: 14.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4227, allocations: 0 / 0.5973 GB, free: 14.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4227, allocations: 0 / 0.5973 GB, free: 14.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002129/0.4229, allocations: 3.938 kB / 0.5973 GB, free: 14.93 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.00776/0.4307, allocations: 4.015 MB / 0.6012 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.4307, allocations: 16.02 kB / 0.6012 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.441, allocations: 2.989 MB / 0.6041 GB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005166/0.4461, allocations: 1.775 MB / 0.6059 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.4463, allocations: 197.1 kB / 0.606 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008269/0.4471, allocations: 251.8 kB / 0.6063 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.4635, allocations: 10.03 MB / 0.6161 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.577e-05/0.4635, allocations: 27.75 kB / 0.6161 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004055/0.4639, allocations: 127.8 kB / 0.6162 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003841/0.4678, allocations: 2.314 MB / 0.6185 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/0.4845, allocations: 8.917 MB / 0.6272 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04941/0.534, allocations: 35.03 MB / 0.6614 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005681/0.5396, allocations: 2.341 MB / 0.6637 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.5415, allocations: 1.134 MB / 0.6648 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.5519, allocations: 4.469 MB / 0.6692 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/0.5519, allocations: 47.16 kB / 0.6692 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 6.522e-06/0.5519, allocations: 4 kB / 0.6692 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007626/0.5596, allocations: 3.321 MB / 0.6725 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5597, allocations: 166.9 kB / 0.6726 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006306/0.566, allocations: 3.756 MB / 0.6763 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003352/0.5663, allocations: 45.61 kB / 0.6763 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003731/0.5701, allocations: 3.337 MB / 0.6796 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.5711, allocations: 0.6282 MB / 0.6802 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/0.573, allocations: 1.318 MB / 0.6815 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.5732, allocations: 349.9 kB / 0.6818 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003112/0.5763, allocations: 1.953 MB / 0.6837 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006994/0.5833, allocations: 6.104 MB / 0.6897 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/0.5953, allocations: 8.793 MB / 0.6983 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001595/0.5954, allocations: 48 kB / 0.6983 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.0165/0.6119, allocations: 7.687 MB / 0.7058 GB, free: 9.492 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.6121, allocations: 68 kB / 0.7059 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003011/0.6124, allocations: 155.9 kB / 0.706 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002584/0.6126, allocations: 192 kB / 0.7062 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005027/0.6177, allocations: 1.458 MB / 0.7076 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002504/0.6179, allocations: 290.8 kB / 0.7079 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/0.6224, allocations: 0.8999 MB / 0.7088 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000754/0.6232, allocations: 404 kB / 0.7092 GB, free: 6.043 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.00361/0.6268, allocations: 2.195 MB / 0.7113 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005307/0.6273, allocations: 294 kB / 0.7116 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000658/0.628, allocations: 384.3 kB / 0.712 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.751e-05/0.628, allocations: 43.97 kB / 0.712 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.6281, allocations: 0 / 0.712 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.6281, allocations: 7.984 kB / 0.712 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00847/0.6365, allocations: 4.335 MB / 0.7163 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.6366, allocations: 4 kB / 0.7163 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009709/0.6375, allocations: 208.3 kB / 0.7165 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/0.6375, allocations: 15.98 kB / 0.7165 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.312e-05/0.6376, allocations: 28 kB / 0.7165 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.741e-05/0.6377, allocations: 19.86 kB / 0.7165 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.6377, allocations: 11.94 kB / 0.7165 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/0.6409, allocations: 2.521 MB / 0.719 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007371/0.6417, allocations: 281.6 kB / 0.7193 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.6419, allocations: 20 kB / 0.7193 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009419/0.6429, allocations: 71.86 kB / 0.7194 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.6431, allocations: 88.3 kB / 0.7194 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6432, allocations: 44 kB / 0.7195 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003559/0.6468, allocations: 2.095 MB / 0.7215 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6468, allocations: 0 / 0.7215 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005143/0.6519, allocations: 1.106 MB / 0.7226 GB, free: 8.082 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.0004073/0.6523, allocations: 150.9 kB / 0.7228 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007337/0.6596, allocations: 4.255 MB / 0.7269 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.6597, allocations: 4.812 kB / 0.7269 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.661, allocations: 0.878 MB / 0.7278 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.6629, allocations: 291.8 kB / 0.728 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2995/0.9624, allocations: 8.344 MB / 0.7362 GB, free: 153 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003414/0.9658, allocations: 2.619 MB / 0.7388 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004304/0.9702, allocations: 2.189 MB / 0.7409 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/0.9706, allocations: 207.4 kB / 0.7411 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.724e-06/0.9706, allocations: 0 / 0.7411 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05891/1.03, allocations: 23.69 MB / 0.7642 GB, free: 131.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] 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: 7.026434386149049]