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.001347/0.001347, allocations: 112.6 kB / 18.45 MB, free: 4.621 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.001436/0.001436, allocations: 185.2 kB / 19.38 MB, free: 3.699 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.31/1.31, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.1884/0.1884, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3356, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01318/0.3488, allocations: 12.05 MB / 0.5313 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008615/0.3575, allocations: 4.034 MB / 0.5353 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.3597, allocations: 81.03 kB / 0.5353 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.3632, allocations: 1.662 MB / 0.537 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.3675, allocations: 1.559 MB / 0.5385 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.3699, allocations: 1.181 MB / 0.5396 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005532/0.3755, allocations: 3.524 MB / 0.5431 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003827/0.3793, allocations: 2.48 MB / 0.5455 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.3815, allocations: 1.176 MB / 0.5466 GB, free: 200 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.3839, allocations: 1.592 MB / 0.5482 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007403/0.3846, allocations: 240 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.3864, allocations: 0.7138 MB / 0.5491 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001934/0.3883, allocations: 1.593 MB / 0.5507 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002994/0.3913, allocations: 1.921 MB / 0.5526 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007191/0.3985, allocations: 6.291 MB / 0.5587 GB, free: 3.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3986, allocations: 4 kB / 0.5587 GB, free: 3.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3986, allocations: 0 / 0.5587 GB, free: 3.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001627/0.3988, allocations: 3.938 kB / 0.5587 GB, free: 3.797 MB / 414.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.006366/0.4051, allocations: 4.074 MB / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4052, allocations: 8.031 kB / 0.5627 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009676/0.4149, allocations: 2.998 MB / 0.5656 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003786/0.4187, allocations: 1.846 MB / 0.5674 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.4189, allocations: 189.2 kB / 0.5676 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007469/0.4196, allocations: 255.8 kB / 0.5679 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.4345, allocations: 10.23 MB / 0.5778 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.567e-05/0.4347, allocations: 27.75 kB / 0.5779 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004077/0.4351, allocations: 123.8 kB / 0.578 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003627/0.4387, allocations: 2.38 MB / 0.5803 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/0.454, allocations: 9.07 MB / 0.5892 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04567/0.4997, allocations: 37.98 MB / 0.6263 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005704/0.5055, allocations: 3.38 MB / 0.6296 GB, free: 9.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00177/0.5073, allocations: 1.236 MB / 0.6308 GB, free: 7.762 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008779/0.5161, allocations: 5.175 MB / 0.6358 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.5162, allocations: 47.06 kB / 0.6359 GB, free: 2.379 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 5.31e-06/0.5162, allocations: 4 kB / 0.6359 GB, free: 2.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.006924/0.5231, allocations: 3.32 MB / 0.6391 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.5232, allocations: 178.7 kB / 0.6393 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006918/0.5302, allocations: 3.861 MB / 0.6431 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.5304, allocations: 45.7 kB / 0.6431 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002489/0.5329, allocations: 3.223 MB / 0.6462 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008544/0.5338, allocations: 0.61 MB / 0.6468 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002499/0.5363, allocations: 1.313 MB / 0.6481 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.5364, allocations: 309.1 kB / 0.6484 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002986/0.5394, allocations: 1.968 MB / 0.6503 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005949/0.5453, allocations: 6.148 MB / 0.6563 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009621/0.555, allocations: 8.861 MB / 0.665 GB, free: 252 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001409/0.5552, allocations: 40 kB / 0.665 GB, free: 212 kB / 0.5137 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01381/0.569, allocations: 7.744 MB / 0.6726 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.5692, allocations: 68.97 kB / 0.6727 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002724/0.5695, allocations: 148 kB / 0.6728 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.5697, allocations: 200 kB / 0.673 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004592/0.5743, allocations: 1.47 MB / 0.6744 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002701/0.5746, allocations: 290.9 kB / 0.6747 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005036/0.5797, allocations: 0.9199 MB / 0.6756 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.5807, allocations: 404 kB / 0.676 GB, free: 4.961 MB / 0.5294 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.004183/0.5849, allocations: 2.234 MB / 0.6782 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006037/0.5855, allocations: 311.9 kB / 0.6785 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.5866, allocations: 415.4 kB / 0.6789 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.306e-05/0.5867, allocations: 31.98 kB / 0.6789 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.5867, allocations: 4 kB / 0.6789 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.5867, allocations: 7.969 kB / 0.6789 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.5975, allocations: 5.535 MB / 0.6843 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/0.5975, allocations: 4 kB / 0.6843 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.5986, allocations: 211.7 kB / 0.6845 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.771e-05/0.5986, allocations: 8 kB / 0.6845 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.5987, allocations: 24.66 kB / 0.6846 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.54e-05/0.5987, allocations: 19.94 kB / 0.6846 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.5988, allocations: 8 kB / 0.6846 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.6019, allocations: 2.532 MB / 0.6871 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008376/0.6027, allocations: 376.6 kB / 0.6874 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005993/0.6033, allocations: 35.91 kB / 0.6874 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.6046, allocations: 59.92 kB / 0.6875 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.6048, allocations: 80.34 kB / 0.6876 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.835e-05/0.6049, allocations: 48 kB / 0.6876 GB, free: 8.801 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004248/0.6092, allocations: 2.354 MB / 0.6899 GB, free: 6.461 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6092, allocations: 0 / 0.6899 GB, free: 6.461 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005216/0.6144, allocations: 1.113 MB / 0.691 GB, free: 5.344 MB / 0.545 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.0005193/0.615, allocations: 150.9 kB / 0.6912 GB, free: 5.188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007624/0.6226, allocations: 4.464 MB / 0.6955 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/0.6227, allocations: 4 kB / 0.6955 GB, free: 0.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.6241, allocations: 0.9519 MB / 0.6964 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.6269, allocations: 372.3 kB / 0.6968 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.6434, allocations: 8.862 MB / 0.7055 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00388/0.6473, allocations: 3.222 MB / 0.7086 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009611/0.6483, allocations: 271.4 kB / 0.7089 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.6483, allocations: 3.938 kB / 0.7089 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of Templates: time 0.3597/1.008, allocations: 53.62 MB / 0.7612 GB, free: 165.8 MB / 0.5762 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