Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001578/0.001578, allocations: 106.1 kB / 19.8 MB, free: 2.5 MB / 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.001873/0.001873, allocations: 216.9 kB / 23 MB, free: 5.574 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.543/1.543, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2389/0.2389, allocations: 46.9 MB / 359.4 MB, free: 4.859 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 87.86 kB / 0.4946 GB, free: 8.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4114, allocations: 65.99 MB / 0.5591 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01429/0.4257, allocations: 12 MB / 0.5708 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009665/0.4354, allocations: 4.105 MB / 0.5748 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.4377, allocations: 83.75 kB / 0.5749 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.4415, allocations: 1.693 MB / 0.5765 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.446, allocations: 1.557 MB / 0.5781 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.4485, allocations: 1.184 MB / 0.5792 GB, free: 344 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005365/0.4539, allocations: 3.51 MB / 0.5826 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002845/0.4567, allocations: 1.805 MB / 0.5844 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.4583, allocations: 1.156 MB / 0.5855 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.4604, allocations: 1.725 MB / 0.5872 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004456/0.4609, allocations: 236 kB / 0.5874 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.4622, allocations: 0.7372 MB / 0.5882 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.4637, allocations: 1.589 MB / 0.5897 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.4656, allocations: 1.863 MB / 0.5915 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007557/0.4731, allocations: 6.146 MB / 0.5975 GB, free: 13.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4731, allocations: 3.938 kB / 0.5975 GB, free: 13.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4731, allocations: 4 kB / 0.5975 GB, free: 13.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001585/0.4733, allocations: 4 kB / 0.5976 GB, free: 13.45 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.007945/0.4812, allocations: 4.093 MB / 0.6015 GB, free: 9.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4813, allocations: 8.031 kB / 0.6016 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00923/0.4905, allocations: 3.001 MB / 0.6045 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.4943, allocations: 1.819 MB / 0.6063 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.4945, allocations: 189.1 kB / 0.6064 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005191/0.495, allocations: 251.8 kB / 0.6067 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.512, allocations: 10.03 MB / 0.6165 GB, free: 9.273 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.015e-05/0.5121, allocations: 35.69 kB / 0.6165 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003758/0.5125, allocations: 123.8 kB / 0.6166 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003751/0.5162, allocations: 2.318 MB / 0.6189 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.5339, allocations: 8.933 MB / 0.6276 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05185/0.5857, allocations: 37.59 MB / 0.6643 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006727/0.5925, allocations: 3.251 MB / 0.6675 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/0.5948, allocations: 1.145 MB / 0.6686 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009606/0.6044, allocations: 5.176 MB / 0.6737 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/0.6045, allocations: 51.06 kB / 0.6737 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.448e-06/0.6045, allocations: 0 / 0.6737 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.007252/0.6118, allocations: 3.344 MB / 0.677 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.6119, allocations: 166.8 kB / 0.6772 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006087/0.618, allocations: 3.841 MB / 0.6809 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.6181, allocations: 41.98 kB / 0.6809 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002987/0.6211, allocations: 3.321 MB / 0.6842 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008391/0.622, allocations: 0.6281 MB / 0.6848 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001852/0.6238, allocations: 1.321 MB / 0.6861 GB, free: 324 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.624, allocations: 301.1 kB / 0.6864 GB, free: 20 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/0.6271, allocations: 1.953 MB / 0.6883 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006707/0.6338, allocations: 6.112 MB / 0.6943 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/0.6455, allocations: 8.783 MB / 0.7028 GB, free: 11.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001836/0.6457, allocations: 48 kB / 0.7029 GB, free: 10.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01443/0.6601, allocations: 7.716 MB / 0.7104 GB, free: 3.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.716e-05/0.6602, allocations: 74.28 kB / 0.7105 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/0.6604, allocations: 148 kB / 0.7106 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.6606, allocations: 192 kB / 0.7108 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004333/0.6649, allocations: 1.458 MB / 0.7122 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002406/0.6652, allocations: 287.4 kB / 0.7125 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005321/0.6705, allocations: 0.9345 MB / 0.7134 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/0.6717, allocations: 400 kB / 0.7138 GB, free: 15.77 MB / 0.5606 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.004937/0.6766, allocations: 2.198 MB / 0.7159 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007661/0.6774, allocations: 325.7 kB / 0.7163 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.6785, allocations: 407.1 kB / 0.7166 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.002e-05/0.6785, allocations: 43.97 kB / 0.7167 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.6786, allocations: 7.938 kB / 0.7167 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.6786, allocations: 3.984 kB / 0.7167 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.6894, allocations: 5.467 MB / 0.722 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.6894, allocations: 8 kB / 0.722 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009929/0.6904, allocations: 211.7 kB / 0.7222 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.6905, allocations: 11.94 kB / 0.7223 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.211e-05/0.6905, allocations: 27.98 kB / 0.7223 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.639e-05/0.6906, allocations: 16.12 kB / 0.7223 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.6906, allocations: 7.938 kB / 0.7223 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/0.6939, allocations: 2.554 MB / 0.7248 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.695, allocations: 382.6 kB / 0.7252 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/0.6953, allocations: 31.92 kB / 0.7252 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6963, allocations: 59.92 kB / 0.7253 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.6965, allocations: 92.27 kB / 0.7253 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.6966, allocations: 44 kB / 0.7254 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004286/0.7009, allocations: 2.33 MB / 0.7277 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7009, allocations: 0 / 0.7277 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00548/0.7064, allocations: 1.079 MB / 0.7287 GB, free: 256 kB / 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.00045/0.7069, allocations: 154.9 kB / 0.7289 GB, free: 92 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2986/1.005, allocations: 4.247 MB / 0.733 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.005, allocations: 2.969 kB / 0.733 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/1.007, allocations: 0.8791 MB / 0.7339 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/1.009, allocations: 354 kB / 0.7342 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.021, allocations: 8.386 MB / 0.7424 GB, free: 152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/1.024, allocations: 3.164 MB / 0.7455 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003929/1.027, allocations: 2.225 MB / 0.7477 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/1.028, allocations: 217.4 kB / 0.7479 GB, free: 148 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/1.028, allocations: 0 / 0.7479 GB, free: 148 MB / 0.5606 GB Notification: Performance of Templates: time 0.04129/1.069, allocations: 23.55 MB / 0.7709 GB, free: 124.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.0075852451846]