Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 108.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 193.3 kB / 18.9 MB, free: 4.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 242.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 44.17 MB / 336.9 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 57.19 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1114, allocations: 60.82 MB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02599/0.1374, allocations: 25.94 MB / 495.3 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.1521, allocations: 6.267 MB / 0.4898 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004791/0.1569, allocations: 111.8 kB / 0.4899 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003613/0.1605, allocations: 1.589 MB / 0.4915 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.1647, allocations: 1.476 MB / 0.4929 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.1673, allocations: 1.142 MB / 0.494 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005532/0.1729, allocations: 3.568 MB / 0.4975 GB, free: 6.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004113/0.177, allocations: 2.641 MB / 0.5001 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.1793, allocations: 1.187 MB / 0.5013 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.1821, allocations: 1.783 MB / 0.503 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009549/0.1831, allocations: 243.9 kB / 0.5032 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2291/0.4121, allocations: 0.7197 MB / 0.5039 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002391/0.4146, allocations: 1.618 MB / 0.5055 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002577/0.4171, allocations: 1.944 MB / 0.5074 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006973/0.4241, allocations: 4.967 MB / 0.5123 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4242, allocations: 0 / 0.5123 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4242, allocations: 0 / 0.5123 GB, free: 13.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002908/0.4245, allocations: 0 / 0.5123 GB, free: 13.97 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01229/0.4368, allocations: 4.083 MB / 0.5163 GB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.4369, allocations: 9.5 kB / 0.5163 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.4474, allocations: 2.995 MB / 0.5192 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004784/0.4523, allocations: 1.816 MB / 0.521 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.4525, allocations: 196 kB / 0.5211 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/0.4538, allocations: 249.5 kB / 0.5214 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/0.4695, allocations: 10.23 MB / 0.5314 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.506e-05/0.4696, allocations: 33.12 kB / 0.5314 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004325/0.4701, allocations: 135.2 kB / 0.5315 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003117/0.4732, allocations: 2.368 MB / 0.5339 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.4876, allocations: 9.088 MB / 0.5427 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0514/0.539, allocations: 38.14 MB / 0.58 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005721/0.5448, allocations: 3.385 MB / 0.5833 GB, free: 6.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.5466, allocations: 1.244 MB / 0.5845 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009169/0.5558, allocations: 5.179 MB / 0.5896 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.5559, allocations: 45.66 kB / 0.5896 GB, free: 360 kB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 8.356e-06/0.556, allocations: 0 / 0.5896 GB, free: 360 kB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.007304/0.5633, allocations: 3.327 MB / 0.5928 GB, free: 13.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.5634, allocations: 169.4 kB / 0.593 GB, free: 12.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006379/0.5698, allocations: 3.865 MB / 0.5968 GB, free: 8.973 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002997/0.5701, allocations: 41.7 kB / 0.5968 GB, free: 8.926 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002471/0.5726, allocations: 3.229 MB / 0.6 GB, free: 5.703 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008425/0.5734, allocations: 0.6048 MB / 0.6006 GB, free: 5.102 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00175/0.5752, allocations: 1.318 MB / 0.6019 GB, free: 3.777 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.5753, allocations: 301.1 kB / 0.6021 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/0.5781, allocations: 1.961 MB / 0.6041 GB, free: 1.516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005694/0.5838, allocations: 6.157 MB / 0.6101 GB, free: 9.344 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009917/0.5938, allocations: 8.864 MB / 0.6187 GB, free: 15 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/0.5939, allocations: 44 kB / 0.6188 GB, free: 14.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.0136/0.6075, allocations: 7.749 MB / 0.6263 GB, free: 7.922 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.857e-05/0.6076, allocations: 74.12 kB / 0.6264 GB, free: 7.852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001683/0.6078, allocations: 151.9 kB / 0.6265 GB, free: 7.703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.608, allocations: 196 kB / 0.6267 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004532/0.6125, allocations: 1.47 MB / 0.6282 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002539/0.6128, allocations: 286.9 kB / 0.6284 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/0.6175, allocations: 0.9166 MB / 0.6293 GB, free: 4.832 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008734/0.6184, allocations: 410.8 kB / 0.6297 GB, free: 4.434 MB / 478.1 MB 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.004093/0.6225, allocations: 2.226 MB / 0.6319 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006079/0.6231, allocations: 308 kB / 0.6322 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009096/0.6241, allocations: 411.4 kB / 0.6326 GB, free: 1.484 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.327e-05/0.6241, allocations: 38.41 kB / 0.6326 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.6242, allocations: 4 kB / 0.6326 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.6242, allocations: 7.984 kB / 0.6326 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009874/0.634, allocations: 5.541 MB / 0.638 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.6341, allocations: 8 kB / 0.6381 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009056/0.635, allocations: 203.7 kB / 0.6383 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.635, allocations: 12 kB / 0.6383 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.48e-05/0.6351, allocations: 27.98 kB / 0.6383 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/0.6352, allocations: 12.25 kB / 0.6383 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.6352, allocations: 11.94 kB / 0.6383 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/0.638, allocations: 2.532 MB / 0.6408 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007084/0.6387, allocations: 372.6 kB / 0.6411 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/0.639, allocations: 31.98 kB / 0.6412 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/0.64, allocations: 59.92 kB / 0.6412 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.6401, allocations: 88.28 kB / 0.6413 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.292e-05/0.6402, allocations: 43.38 kB / 0.6414 GB, free: 8.305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003526/0.6438, allocations: 2.358 MB / 0.6437 GB, free: 5.961 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6438, allocations: 0 / 0.6437 GB, free: 5.961 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004869/0.6487, allocations: 1.109 MB / 0.6447 GB, free: 4.852 MB / 494.1 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.0003584/0.649, allocations: 159.3 kB / 0.6449 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007594/0.6566, allocations: 5.106 MB / 0.6499 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.6567, allocations: 9.812 kB / 0.6499 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.6578, allocations: 0.9559 MB / 0.6508 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.6603, allocations: 355.9 kB / 0.6512 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/0.6811, allocations: 10.91 MB / 0.6618 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004465/0.6856, allocations: 3.211 MB / 0.6649 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/0.6868, allocations: 279.4 kB / 0.6652 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.6868, allocations: 0 / 0.6652 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.2973/0.9841, allocations: 52.97 MB / 0.7169 GB, free: 200.5 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches