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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002054/0.002055, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009733/0.0009728, allocations: 101.9 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3513/0.3513, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3766, allocations: 62.02 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.0201/0.3968, allocations: 25.96 MB / 0.5405 GB, free: 19.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.4112, allocations: 6.399 MB / 0.5467 GB, free: 14.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006659/0.418, allocations: 122.7 kB / 0.5469 GB, free: 14.94 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003903/0.4219, allocations: 1.632 MB / 0.5485 GB, free: 14.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005631/0.4276, allocations: 1.477 MB / 0.5499 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.4304, allocations: 1.177 MB / 0.551 GB, free: 13.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01031/0.4408, allocations: 5.089 MB / 0.556 GB, free: 11.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005194/0.446, allocations: 2.479 MB / 0.5584 GB, free: 10.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.4486, allocations: 1.032 MB / 0.5594 GB, free: 10.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.4515, allocations: 1.706 MB / 0.5611 GB, free: 9.094 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000658/0.4522, allocations: 172.2 kB / 0.5613 GB, free: 9.094 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.454, allocations: 0.6886 MB / 0.562 GB, free: 8.777 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.4556, allocations: 1.552 MB / 0.5635 GB, free: 7.957 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.4573, allocations: 1.872 MB / 0.5653 GB, free: 6.082 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004733/0.462, allocations: 5.93 MB / 0.5711 GB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.4621, allocations: 0 / 0.5711 GB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4621, allocations: 4 kB / 0.5711 GB, free: 132 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001072/0.4622, allocations: 4 kB / 0.5711 GB, free: 128 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.006411/0.4686, allocations: 4.07 MB / 0.5751 GB, free: 11.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4687, allocations: 8.031 kB / 0.5751 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009426/0.4781, allocations: 2.998 MB / 0.578 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004492/0.4826, allocations: 1.823 MB / 0.5798 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.4828, allocations: 193.2 kB / 0.58 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005167/0.4833, allocations: 251.8 kB / 0.5802 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/0.4995, allocations: 10.24 MB / 0.5902 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.77e-05/0.4996, allocations: 39.67 kB / 0.5902 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003796/0.5, allocations: 123.8 kB / 0.5904 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003618/0.5036, allocations: 2.376 MB / 0.5927 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.52, allocations: 9.082 MB / 0.6015 GB, free: 152 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05106/0.5711, allocations: 38.14 MB / 0.6388 GB, free: 8.852 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005477/0.5766, allocations: 3.386 MB / 0.6421 GB, free: 5.195 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.5783, allocations: 1.23 MB / 0.6433 GB, free: 3.949 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009198/0.5876, allocations: 5.195 MB / 0.6484 GB, free: 14.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.5876, allocations: 54.98 kB / 0.6484 GB, free: 14.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 4.939e-06/0.5876, allocations: 4 kB / 0.6484 GB, free: 14.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=150): time 0.006808/0.5945, allocations: 3.322 MB / 0.6517 GB, free: 11.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.5946, allocations: 174.8 kB / 0.6518 GB, free: 11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006416/0.601, allocations: 3.865 MB / 0.6556 GB, free: 7.137 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002534/0.6013, allocations: 41.7 kB / 0.6557 GB, free: 7.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002707/0.604, allocations: 3.22 MB / 0.6588 GB, free: 3.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008464/0.6049, allocations: 0.6059 MB / 0.6594 GB, free: 3.207 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/0.6065, allocations: 1.317 MB / 0.6607 GB, free: 1.879 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6066, allocations: 313 kB / 0.661 GB, free: 1.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/0.6093, allocations: 1.961 MB / 0.6629 GB, free: 15.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005681/0.615, allocations: 6.152 MB / 0.6689 GB, free: 7.355 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.6262, allocations: 8.848 MB / 0.6775 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001386/0.6264, allocations: 40 kB / 0.6776 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01447/0.6409, allocations: 7.759 MB / 0.6852 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-05/0.641, allocations: 71.66 kB / 0.6852 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000166/0.6412, allocations: 148 kB / 0.6854 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.6414, allocations: 200 kB / 0.6856 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004201/0.6456, allocations: 1.466 MB / 0.687 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002066/0.6458, allocations: 290.8 kB / 0.6873 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004775/0.6506, allocations: 0.9161 MB / 0.6882 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00071/0.6513, allocations: 408.4 kB / 0.6886 GB, free: 1.137 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.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 (797): * Single equations (assignments): 789 * 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.2801/0.9314, allocations: 2.226 MB / 0.6907 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005905/0.932, allocations: 307.3 kB / 0.691 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000896/0.9329, allocations: 412.6 kB / 0.6914 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.96e-05/0.933, allocations: 38.5 kB / 0.6914 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.933, allocations: 3.359 kB / 0.6915 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.933, allocations: 6.719 kB / 0.6915 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007708/0.9407, allocations: 5.534 MB / 0.6969 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.9407, allocations: 5.156 kB / 0.6969 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008219/0.9416, allocations: 213.7 kB / 0.6971 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.9416, allocations: 11.34 kB / 0.6971 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/0.9417, allocations: 23.89 kB / 0.6971 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.9417, allocations: 17.27 kB / 0.6971 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.9417, allocations: 11.31 kB / 0.6971 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.9454, allocations: 4.683 MB / 0.7017 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/0.9461, allocations: 373.7 kB / 0.7021 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.9463, allocations: 34.06 kB / 0.7021 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008885/0.9472, allocations: 63.86 kB / 0.7022 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.9474, allocations: 83.42 kB / 0.7022 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.9475, allocations: 42.19 kB / 0.7023 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002554/0.95, allocations: 2.354 MB / 0.7046 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.95, allocations: 0 / 0.7046 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004818/0.9549, allocations: 1.103 MB / 0.7057 GB, free: 131.8 MB / 0.4948 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.0002693/0.9551, allocations: 152.7 kB / 0.7058 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006276/0.9614, allocations: 4.437 MB / 0.7101 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.9614, allocations: 4.141 kB / 0.7101 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.9626, allocations: 0.9502 MB / 0.7111 GB, free: 130 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.9643, allocations: 349.4 kB / 0.7114 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.9791, allocations: 11.37 MB / 0.7225 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004817/0.984, allocations: 3.261 MB / 0.7257 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005542/0.9895, allocations: 2.233 MB / 0.7279 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.9901, allocations: 221.3 kB / 0.7281 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/0.9901, allocations: 0 / 0.7281 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.04232/1.032, allocations: 25.05 MB / 0.7525 GB, free: 106.3 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches