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.001506/0.001506, allocations: 178.7 kB / 16.41 MB, free: 5.707 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.683/1.683, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0008822/0.0008819, allocations: 98.28 kB / 270.9 MB, free: 8.352 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.425/0.425, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006232/0.0006234, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1903, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.3289/0.5193, allocations: 23.69 MB / 0.5019 GB, free: 33.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01657/0.5359, allocations: 5.945 MB / 0.5077 GB, free: 29.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008112/0.5441, allocations: 118 kB / 0.5078 GB, free: 29.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004886/0.549, allocations: 1.111 MB / 0.5089 GB, free: 29.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.5621, allocations: 3.372 MB / 0.5122 GB, free: 28.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.564, allocations: 215.3 kB / 0.5124 GB, free: 28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006157/0.5702, allocations: 3.969 MB / 0.5163 GB, free: 26.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005165/0.5754, allocations: 2.851 MB / 0.519 GB, free: 25.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.5779, allocations: 1.04 MB / 0.5201 GB, free: 25.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002668/0.5806, allocations: 1.605 MB / 0.5216 GB, free: 24.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009523/0.5816, allocations: 128.5 kB / 0.5218 GB, free: 24.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.5835, allocations: 0.5271 MB / 0.5223 GB, free: 24.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001888/0.5854, allocations: 1.493 MB / 0.5237 GB, free: 24.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.5868, allocations: 0.7917 MB / 0.5245 GB, free: 23.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006424/0.5933, allocations: 4.964 MB / 0.5293 GB, free: 22.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5933, allocations: 0 / 0.5293 GB, free: 22.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.5933, allocations: 0.5156 kB / 0.5293 GB, free: 22.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003337/0.5937, allocations: 0 / 0.5293 GB, free: 22.59 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.009694/0.6034, allocations: 3.454 MB / 0.5327 GB, free: 20.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.6034, allocations: 9.625 kB / 0.5327 GB, free: 20.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.6141, allocations: 3.103 MB / 0.5358 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/0.6188, allocations: 1.83 MB / 0.5375 GB, free: 18.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.6192, allocations: 200.8 kB / 0.5377 GB, free: 18.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/0.6208, allocations: 260.8 kB / 0.538 GB, free: 18.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02248/0.6433, allocations: 10.5 MB / 0.5482 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002607/0.6436, allocations: 35.8 kB / 0.5483 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001557/0.6451, allocations: 131.4 kB / 0.5484 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004692/0.6498, allocations: 2.444 MB / 0.5508 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/0.6676, allocations: 9.313 MB / 0.5599 GB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05691/0.7245, allocations: 38.95 MB / 0.5979 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006105/0.7307, allocations: 3.485 MB / 0.6013 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.7327, allocations: 1.27 MB / 0.6026 GB, free: 5.508 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/0.7438, allocations: 5.452 MB / 0.6079 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.7439, allocations: 47.06 kB / 0.6079 GB, free: 15.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 4.949e-06/0.7439, allocations: 0 / 0.6079 GB, free: 15.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.006887/0.7508, allocations: 3.35 MB / 0.6112 GB, free: 12.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.064e-05/0.7509, allocations: 174.8 kB / 0.6114 GB, free: 12.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00658/0.7575, allocations: 3.928 MB / 0.6152 GB, free: 8.371 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.7577, allocations: 45.7 kB / 0.6152 GB, free: 8.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002368/0.76, allocations: 3.316 MB / 0.6185 GB, free: 4.953 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007235/0.7608, allocations: 0.6291 MB / 0.6191 GB, free: 4.316 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.7612, allocations: 124 kB / 0.6192 GB, free: 4.195 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004641/0.7616, allocations: 0.5911 MB / 0.6198 GB, free: 3.598 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003137/0.7648, allocations: 1.981 MB / 0.6217 GB, free: 1.613 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005579/0.7704, allocations: 6.284 MB / 0.6279 GB, free: 9.176 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005108/0.7755, allocations: 3.521 MB / 0.6313 GB, free: 5.656 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/0.7756, allocations: 44 kB / 0.6313 GB, free: 5.613 MB / 458.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01606/0.7917, allocations: 7.879 MB / 0.639 GB, free: 13.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.7919, allocations: 72 kB / 0.6391 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/0.7921, allocations: 152.9 kB / 0.6393 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.7923, allocations: 228 kB / 0.6395 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004538/0.7969, allocations: 1.509 MB / 0.6409 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000243/0.7971, allocations: 298.9 kB / 0.6412 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004772/0.8019, allocations: 0.9431 MB / 0.6422 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006887/0.8026, allocations: 416 kB / 0.6425 GB, free: 10.12 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.00383/0.8065, allocations: 2.288 MB / 0.6448 GB, free: 7.816 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006226/0.8071, allocations: 323.7 kB / 0.6451 GB, free: 7.496 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000789/0.8079, allocations: 420.2 kB / 0.6455 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.963e-05/0.808, allocations: 39.94 kB / 0.6455 GB, free: 7.047 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.808, allocations: 4 kB / 0.6455 GB, free: 7.043 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.808, allocations: 3.984 kB / 0.6455 GB, free: 7.039 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009914/0.8179, allocations: 5.688 MB / 0.6511 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.818, allocations: 4.75 kB / 0.6511 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009145/0.8189, allocations: 215.7 kB / 0.6513 GB, free: 1.004 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/0.8189, allocations: 16 kB / 0.6513 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.782e-05/0.819, allocations: 31.98 kB / 0.6513 GB, free: 0.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.454e-05/0.8191, allocations: 11.94 kB / 0.6514 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/0.8191, allocations: 11.95 kB / 0.6514 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.8222, allocations: 2.574 MB / 0.6539 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/0.823, allocations: 392.5 kB / 0.6543 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005326/0.8236, allocations: 24 kB / 0.6543 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.8248, allocations: 75.81 kB / 0.6544 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.825, allocations: 88.27 kB / 0.6544 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.8251, allocations: 47.98 kB / 0.6545 GB, free: 13.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003904/0.829, allocations: 2.388 MB / 0.6568 GB, free: 11.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.829, allocations: 0 / 0.6568 GB, free: 11.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006131/0.8351, allocations: 1.137 MB / 0.6579 GB, free: 10.12 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.0005787/0.8357, allocations: 158.9 kB / 0.6581 GB, free: 9.949 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007471/0.8432, allocations: 4.491 MB / 0.6625 GB, free: 5.496 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.8432, allocations: 0.8125 kB / 0.6625 GB, free: 5.496 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.8445, allocations: 0.9682 MB / 0.6634 GB, free: 4.527 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.847, allocations: 352.5 kB / 0.6637 GB, free: 4.184 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.8662, allocations: 10.83 MB / 0.6743 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004844/0.8711, allocations: 3.288 MB / 0.6775 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.8723, allocations: 287.4 kB / 0.6778 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of SimCode: time 1.352e-06/0.8723, allocations: 0 / 0.6778 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of Templates: time 0.3359/1.208, allocations: 53.59 MB / 0.7301 GB, free: 133 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