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.001098/0.001098, allocations: 84.25 kB / 22.22 MB, free: 2.277 MB / 18.57 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.001189/0.001189, allocations: 165.5 kB / 25.61 MB, free: 8.57 MB / 18.57 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 0.9757/0.9757, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] 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.1678/0.1678, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.7 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.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.739e-05, allocations: 6.875 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.006728/0.006746, allocations: 11.18 MB / 391.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005396/0.01214, allocations: 3.978 MB / 395.2 MB, free: 7.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.01343, allocations: 87.69 kB / 395.2 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.01515, allocations: 1.752 MB / 397 MB, free: 5.676 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.01723, allocations: 1.618 MB / 398.6 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.01827, allocations: 1.262 MB / 399.9 MB, free: 2.785 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.02106, allocations: 3.574 MB / 403.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.02302, allocations: 2.063 MB / 405.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.02485, allocations: 1.719 MB / 407.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.02645, allocations: 1.648 MB / 408.9 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000379/0.02683, allocations: 248 kB / 409.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008776/0.02771, allocations: 0.6825 MB / 409.8 MB, free: 8.789 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.02878, allocations: 1.64 MB / 411.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000921/0.0297, allocations: 0.9612 MB / 412.4 MB, free: 6.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.03303, allocations: 3.813 MB / 416.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.03303, allocations: 0 / 416.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.03303, allocations: 4 kB / 416.2 MB, free: 2.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.729e-05/0.03308, allocations: 0 / 416.2 MB, free: 2.348 MB / 330.7 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.005247/0.03833, allocations: 4.374 MB / 420.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.03837, allocations: 12.03 kB / 420.6 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/0.04282, allocations: 1.707 MB / 422.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.04475, allocations: 1.535 MB / 423.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.04485, allocations: 189.1 kB / 424 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/0.04514, allocations: 252.2 kB / 424.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005758/0.0509, allocations: 5.174 MB / 429.5 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-05/0.05095, allocations: 31.73 kB / 429.5 MB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.05118, allocations: 123.8 kB / 429.6 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001754/0.05294, allocations: 2.029 MB / 431.6 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003969/0.05691, allocations: 2.417 MB / 434 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02826/0.08516, allocations: 40.52 MB / 474.6 MB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.08757, allocations: 1.215 MB / 475.8 MB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/0.08801, allocations: 353.9 kB / 476.1 MB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004431/0.09244, allocations: 3.913 MB / 480 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.09248, allocations: 53.98 kB / 480.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.759e-06/0.09249, allocations: 0 / 480.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.002864/0.09535, allocations: 1.625 MB / 481.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.09542, allocations: 170.8 kB / 481.9 MB, free: 14.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/0.09866, allocations: 3.485 MB / 485.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.09873, allocations: 41.7 kB / 485.4 MB, free: 10.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.1004, allocations: 3.507 MB / 488.9 MB, free: 7.035 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004576/0.1009, allocations: 0.6555 MB / 489.6 MB, free: 6.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/0.1021, allocations: 1.458 MB / 491 MB, free: 4.902 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.1023, allocations: 0.5315 MB / 491.6 MB, free: 4.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.103, allocations: 496.4 kB / 492 MB, free: 3.875 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1783/0.2813, allocations: 6.698 MB / 498.7 MB, free: 102.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00686/0.2882, allocations: 8.038 MB / 0.4949 GB, free: 93.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002059/0.2884, allocations: 41.75 kB / 0.4949 GB, free: 93.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.008603/0.297, allocations: 5.039 MB / 0.4999 GB, free: 92.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/0.2971, allocations: 70.97 kB / 0.4999 GB, free: 92.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/0.2972, allocations: 148.1 kB / 0.5001 GB, free: 92.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001386/0.2973, allocations: 194.6 kB / 0.5003 GB, free: 92.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/0.2999, allocations: 1.418 MB / 0.5016 GB, free: 92.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001903/0.3001, allocations: 290.2 kB / 0.5019 GB, free: 92.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/0.3032, allocations: 0.8578 MB / 0.5028 GB, free: 92.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004985/0.3037, allocations: 349.8 kB / 0.5031 GB, free: 92.63 MB / 410.7 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.00153/0.3053, allocations: 0.6755 MB / 0.5038 GB, free: 92.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/0.3057, allocations: 330.8 kB / 0.5041 GB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003445/0.306, allocations: 322.7 kB / 0.5044 GB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.525e-05/0.3061, allocations: 39.88 kB / 0.5044 GB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3061, allocations: 0.8438 kB / 0.5044 GB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.3061, allocations: 8.641 kB / 0.5044 GB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/0.3108, allocations: 3.924 MB / 0.5083 GB, free: 89.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3109, allocations: 7.5 kB / 0.5083 GB, free: 89.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/0.3113, allocations: 164 kB / 0.5084 GB, free: 89.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.3113, allocations: 8 kB / 0.5084 GB, free: 89.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.3113, allocations: 26.25 kB / 0.5085 GB, free: 89.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.3113, allocations: 19.12 kB / 0.5085 GB, free: 89.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3113, allocations: 11.94 kB / 0.5085 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.3125, allocations: 1.654 MB / 0.5101 GB, free: 88.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.3128, allocations: 278.3 kB / 0.5104 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.313, allocations: 26.25 kB / 0.5104 GB, free: 87.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.3134, allocations: 25.22 kB / 0.5104 GB, free: 87.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.3135, allocations: 84.61 kB / 0.5105 GB, free: 87.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/0.3136, allocations: 39.12 kB / 0.5105 GB, free: 87.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00102/0.3146, allocations: 1.3 MB / 0.5118 GB, free: 86.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3146, allocations: 0 / 0.5118 GB, free: 86.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003978/0.3186, allocations: 1.104 MB / 0.5129 GB, free: 86.02 MB / 410.7 MB 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.0002706/0.3188, allocations: 153.3 kB / 0.513 GB, free: 85.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003672/0.3225, allocations: 2.588 MB / 0.5155 GB, free: 83.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.3225, allocations: 0 / 0.5155 GB, free: 83.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.3229, allocations: 368.1 kB / 0.5159 GB, free: 83.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.3243, allocations: 296.1 kB / 0.5162 GB, free: 83.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008897/0.3332, allocations: 6.75 MB / 0.5228 GB, free: 76.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.3342, allocations: 1.18 MB / 0.5239 GB, free: 76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001404/0.3356, allocations: 0.4989 MB / 0.5244 GB, free: 75.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004849/0.3361, allocations: 486.1 kB / 0.5249 GB, free: 75.12 MB / 410.7 MB Notification: Performance of SimCode: time 2.315e-06/0.3361, allocations: 0 / 0.5249 GB, free: 75.12 MB / 410.7 MB Notification: Performance of Templates: time 0.03452/0.3706, allocations: 19.82 MB / 0.5442 GB, free: 55.82 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.408209899906069]