Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008938/0.000894, allocations: 175.3 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.4 MB / 222.9 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000783/0.0007831, allocations: 86.38 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3446/0.3446, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003971, allocations: 12 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2154/0.3255, allocations: 23.7 MB / 0.5025 GB, free: 33.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.338, allocations: 5.949 MB / 0.5083 GB, free: 29.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004859/0.3429, allocations: 119.8 kB / 0.5084 GB, free: 29.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003184/0.3461, allocations: 1.117 MB / 0.5095 GB, free: 29.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009039/0.3552, allocations: 3.384 MB / 0.5128 GB, free: 27.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.3567, allocations: 234.7 kB / 0.513 GB, free: 27.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004944/0.3616, allocations: 4.033 MB / 0.5169 GB, free: 26.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004458/0.3661, allocations: 3.141 MB / 0.52 GB, free: 25.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.368, allocations: 1.039 MB / 0.521 GB, free: 24.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.37, allocations: 1.602 MB / 0.5226 GB, free: 24.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005952/0.3707, allocations: 128.5 kB / 0.5227 GB, free: 24.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.3721, allocations: 0.629 MB / 0.5233 GB, free: 24.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.3735, allocations: 1.486 MB / 0.5248 GB, free: 23.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002318/0.3759, allocations: 1.757 MB / 0.5265 GB, free: 22.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005889/0.3818, allocations: 4.967 MB / 0.5313 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3818, allocations: 0 / 0.5313 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3818, allocations: 0 / 0.5313 GB, free: 21.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003183/0.3821, allocations: 4 kB / 0.5314 GB, free: 21.47 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.007372/0.3895, allocations: 3.398 MB / 0.5347 GB, free: 19.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.3896, allocations: 12.67 kB / 0.5347 GB, free: 19.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009462/0.3991, allocations: 3.1 MB / 0.5377 GB, free: 18.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004154/0.4033, allocations: 1.851 MB / 0.5395 GB, free: 17.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.4035, allocations: 205.4 kB / 0.5397 GB, free: 16.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/0.4047, allocations: 264.5 kB / 0.54 GB, free: 16.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.422, allocations: 10.51 MB / 0.5502 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.4222, allocations: 31.47 kB / 0.5503 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005906/0.4228, allocations: 135.8 kB / 0.5504 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003625/0.4264, allocations: 2.442 MB / 0.5528 GB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/0.4429, allocations: 9.309 MB / 0.5619 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05018/0.4932, allocations: 38.96 MB / 0.5999 GB, free: 8.742 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005719/0.4989, allocations: 3.484 MB / 0.6033 GB, free: 4.988 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.5009, allocations: 1.278 MB / 0.6046 GB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.5114, allocations: 5.448 MB / 0.6099 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.5115, allocations: 47.12 kB / 0.6099 GB, free: 14.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 6.102e-06/0.5115, allocations: 0 / 0.6099 GB, free: 14.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.007005/0.5185, allocations: 3.351 MB / 0.6132 GB, free: 10.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/0.5186, allocations: 166.8 kB / 0.6134 GB, free: 10.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005972/0.5246, allocations: 3.94 MB / 0.6172 GB, free: 6.555 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002271/0.5249, allocations: 41.7 kB / 0.6172 GB, free: 6.508 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002429/0.5273, allocations: 3.316 MB / 0.6205 GB, free: 3.141 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008159/0.5281, allocations: 0.6214 MB / 0.6211 GB, free: 2.512 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/0.5285, allocations: 136 kB / 0.6212 GB, free: 2.379 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004266/0.529, allocations: 0.591 MB / 0.6218 GB, free: 1.781 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/0.532, allocations: 1.977 MB / 0.6237 GB, free: 15.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006225/0.5383, allocations: 6.288 MB / 0.6299 GB, free: 7.363 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.5488, allocations: 9.013 MB / 0.6387 GB, free: 12.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001419/0.5489, allocations: 44 kB / 0.6387 GB, free: 12.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01559/0.5645, allocations: 7.881 MB / 0.6464 GB, free: 4.273 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.5647, allocations: 72 kB / 0.6465 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001955/0.5649, allocations: 152 kB / 0.6466 GB, free: 4.055 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.5651, allocations: 203.9 kB / 0.6468 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004943/0.5701, allocations: 1.505 MB / 0.6483 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002655/0.5704, allocations: 302.8 kB / 0.6486 GB, free: 2.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005153/0.5755, allocations: 0.9472 MB / 0.6495 GB, free: 1.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/0.5767, allocations: 412.1 kB / 0.6499 GB, free: 0.6875 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005105/0.5818, allocations: 2.288 MB / 0.6521 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007547/0.5826, allocations: 319.8 kB / 0.6524 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.5838, allocations: 416.2 kB / 0.6528 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.332e-05/0.5839, allocations: 39.98 kB / 0.6529 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.5839, allocations: 0 / 0.6529 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.5839, allocations: 15.91 kB / 0.6529 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.5954, allocations: 5.692 MB / 0.6584 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.5955, allocations: 4 kB / 0.6584 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009815/0.5965, allocations: 215.7 kB / 0.6586 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/0.5965, allocations: 12 kB / 0.6587 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.576e-05/0.5966, allocations: 27.98 kB / 0.6587 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.665e-05/0.5966, allocations: 23.91 kB / 0.6587 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/0.5966, allocations: 11.94 kB / 0.6587 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.5996, allocations: 2.57 MB / 0.6612 GB, free: 4.824 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/0.6005, allocations: 404.4 kB / 0.6616 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/0.6008, allocations: 28 kB / 0.6616 GB, free: 4.379 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.6018, allocations: 67.91 kB / 0.6617 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.602, allocations: 92.2 kB / 0.6618 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.59e-05/0.6021, allocations: 44.19 kB / 0.6618 GB, free: 4.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004118/0.6062, allocations: 2.395 MB / 0.6642 GB, free: 1.801 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6062, allocations: 3.938 kB / 0.6642 GB, free: 1.797 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005532/0.6118, allocations: 1.129 MB / 0.6653 GB, free: 0.6641 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004654/0.6123, allocations: 162.9 kB / 0.6654 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007608/0.6199, allocations: 4.494 MB / 0.6698 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.62, allocations: 0 / 0.6698 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.6213, allocations: 0.9648 MB / 0.6708 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00497/0.6263, allocations: 340.6 kB / 0.6711 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2181/0.8445, allocations: 10.84 MB / 0.6817 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006378/0.8509, allocations: 3.278 MB / 0.6849 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.852, allocations: 289.9 kB / 0.6852 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/0.852, allocations: 0 / 0.6852 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.08623/0.9383, allocations: 53.48 MB / 0.7374 GB, free: 130.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches