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.001367/0.001367, allocations: 83.16 kB / 20.68 MB, free: 1.039 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.00143/0.00143, allocations: 157.6 kB / 23.95 MB, free: 4.168 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.489/1.489, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.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.212/0.212, allocations: 34.27 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] 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 1.463e-06/1.463e-06, allocations: 0 / 442.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.072e-05, allocations: 4.953 kB / 442.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2097/0.2097, allocations: 10.42 MB / 453.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009131/0.2189, allocations: 3.902 MB / 457 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.2212, allocations: 89 kB / 457 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00364/0.2249, allocations: 1.708 MB / 458.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.229, allocations: 1.611 MB / 460.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.2315, allocations: 1.21 MB / 461.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006666/0.2381, allocations: 3.569 MB / 465.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003022/0.2412, allocations: 1.999 MB / 467.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.2441, allocations: 1.719 MB / 468.9 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.2466, allocations: 1.615 MB / 470.5 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000531/0.2471, allocations: 241.2 kB / 470.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.2486, allocations: 0.6791 MB / 471.4 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.2499, allocations: 1.633 MB / 473 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.2511, allocations: 0.9568 MB / 474 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006036/0.2571, allocations: 6.024 MB / 480 MB, free: 15.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2571, allocations: 0 / 480 MB, free: 15.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2571, allocations: 0 / 480 MB, free: 15.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001818/0.2573, allocations: 0 / 480 MB, free: 15.84 MB / 382.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.00862/0.2659, allocations: 3.964 MB / 484 MB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.266, allocations: 12.03 kB / 484 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.2772, allocations: 3.024 MB / 487 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005176/0.2824, allocations: 1.775 MB / 488.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.2826, allocations: 194.3 kB / 489 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008322/0.2834, allocations: 244.2 kB / 489.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01823/0.3016, allocations: 10.05 MB / 499.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.21e-05/0.3017, allocations: 33.56 kB / 499.3 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.3021, allocations: 123.8 kB / 499.4 MB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004185/0.3063, allocations: 2.327 MB / 0.49 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.3244, allocations: 8.92 MB / 0.4987 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05219/0.3766, allocations: 35.13 MB / 0.533 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005937/0.3825, allocations: 2.412 MB / 0.5354 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.3844, allocations: 1.13 MB / 0.5365 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009019/0.3934, allocations: 4.561 MB / 0.5409 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.3934, allocations: 51.16 kB / 0.541 GB, free: 4.648 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 3.947e-06/0.3934, allocations: 0 / 0.541 GB, free: 4.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.00782/0.4013, allocations: 3.42 MB / 0.5443 GB, free: 1.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.4014, allocations: 174.9 kB / 0.5445 GB, free: 1.012 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005768/0.4072, allocations: 3.752 MB / 0.5481 GB, free: 13.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.4073, allocations: 45.64 kB / 0.5482 GB, free: 13.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002754/0.4101, allocations: 3.298 MB / 0.5514 GB, free: 9.867 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007911/0.4108, allocations: 0.6166 MB / 0.552 GB, free: 9.246 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001889/0.4127, allocations: 1.294 MB / 0.5533 GB, free: 7.941 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.4129, allocations: 349.9 kB / 0.5536 GB, free: 7.594 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/0.4161, allocations: 1.953 MB / 0.5555 GB, free: 5.637 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007108/0.4232, allocations: 6.108 MB / 0.5615 GB, free: 13.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/0.4351, allocations: 8.798 MB / 0.5701 GB, free: 2.582 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/0.4353, allocations: 40 kB / 0.5701 GB, free: 2.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01789/0.4532, allocations: 7.7 MB / 0.5776 GB, free: 10.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.4533, allocations: 68 kB / 0.5777 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002984/0.4536, allocations: 148 kB / 0.5778 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.4538, allocations: 192 kB / 0.578 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00524/0.459, allocations: 1.458 MB / 0.5794 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002826/0.4593, allocations: 290.8 kB / 0.5797 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004908/0.4642, allocations: 0.9038 MB / 0.5806 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/0.4652, allocations: 404 kB / 0.581 GB, free: 7.402 MB / 494.1 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.004583/0.4698, allocations: 2.195 MB / 0.5831 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006082/0.4704, allocations: 294 kB / 0.5834 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007762/0.4712, allocations: 384.4 kB / 0.5838 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.058e-05/0.4713, allocations: 35.98 kB / 0.5838 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.4713, allocations: 0 / 0.5838 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.4713, allocations: 7.922 kB / 0.5838 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008748/0.48, allocations: 4.378 MB / 0.5881 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.4801, allocations: 8.703 kB / 0.5881 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.4811, allocations: 199.8 kB / 0.5883 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/0.4811, allocations: 16 kB / 0.5883 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.072e-05/0.4812, allocations: 31.92 kB / 0.5883 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.368e-05/0.4812, allocations: 19.92 kB / 0.5883 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4812, allocations: 4 kB / 0.5883 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.4847, allocations: 2.516 MB / 0.5908 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007005/0.4854, allocations: 281.6 kB / 0.5911 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.4857, allocations: 28 kB / 0.5911 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009589/0.4867, allocations: 67.92 kB / 0.5912 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.4869, allocations: 88.16 kB / 0.5912 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.487, allocations: 44 kB / 0.5913 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003743/0.4908, allocations: 2.095 MB / 0.5933 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4908, allocations: 0 / 0.5933 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005261/0.496, allocations: 1.099 MB / 0.5944 GB, free: 9.43 MB / 0.4981 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.0004402/0.4965, allocations: 162.8 kB / 0.5946 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007678/0.5041, allocations: 4.248 MB / 0.5987 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.5042, allocations: 0 / 0.5987 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.5056, allocations: 0.8813 MB / 0.5996 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.5076, allocations: 292 kB / 0.5999 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/0.5234, allocations: 8.317 MB / 0.608 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003979/0.5273, allocations: 2.616 MB / 0.6105 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005251/0.5326, allocations: 2.198 MB / 0.6127 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/0.5332, allocations: 212.5 kB / 0.6129 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of SimCode: time 1.262e-06/0.5332, allocations: 0 / 0.6129 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of Templates: time 0.04934/0.5825, allocations: 16.85 MB / 0.6293 GB, free: 5.941 MB / 0.5294 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.1.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: 6.555147912353277]