Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001182/0.001183, allocations: 109 kB / 16.41 MB, free: 6.5 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.001139/0.001139, allocations: 185.5 kB / 17.34 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2248/0.2248, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1402, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01344/0.1537, allocations: 12.44 MB / 0.5 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009464/0.1632, allocations: 4.043 MB / 0.504 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.1654, allocations: 79.81 kB / 0.504 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.1688, allocations: 1.685 MB / 0.5057 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.173, allocations: 1.627 MB / 0.5073 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.1757, allocations: 1.188 MB / 0.5084 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005161/0.1809, allocations: 3.623 MB / 0.512 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003596/0.1845, allocations: 2.524 MB / 0.5144 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.187, allocations: 1.214 MB / 0.5156 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.1896, allocations: 1.662 MB / 0.5173 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009488/0.1906, allocations: 256 kB / 0.5175 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.1926, allocations: 0.7177 MB / 0.5182 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002208/0.1948, allocations: 1.656 MB / 0.5198 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003524/0.1984, allocations: 1.984 MB / 0.5218 GB, free: 8.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007737/0.2061, allocations: 6.511 MB / 0.5281 GB, free: 2.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2061, allocations: 0 / 0.5281 GB, free: 2.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2062, allocations: 0 / 0.5281 GB, free: 2.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001794/0.2063, allocations: 0 / 0.5281 GB, free: 2.41 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.3075/0.5139, allocations: 4.2 MB / 0.5322 GB, free: 37.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.5139, allocations: 9.719 kB / 0.5322 GB, free: 37.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.5247, allocations: 3.01 MB / 0.5352 GB, free: 37.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004584/0.5293, allocations: 1.873 MB / 0.537 GB, free: 36.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.5295, allocations: 202.3 kB / 0.5372 GB, free: 36.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007414/0.5303, allocations: 256.6 kB / 0.5374 GB, free: 36.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.5548, allocations: 10.53 MB / 0.5477 GB, free: 32.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.555, allocations: 35.91 kB / 0.5477 GB, free: 32.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006639/0.5557, allocations: 127.1 kB / 0.5479 GB, free: 32.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004966/0.5607, allocations: 2.437 MB / 0.5502 GB, free: 31.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01852/0.5792, allocations: 9.376 MB / 0.5594 GB, free: 25.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04932/0.6286, allocations: 38.75 MB / 0.5972 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005875/0.6345, allocations: 3.484 MB / 0.6006 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.6364, allocations: 1.277 MB / 0.6019 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009203/0.6456, allocations: 5.459 MB / 0.6072 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6457, allocations: 51.06 kB / 0.6073 GB, free: 6.703 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 4.078e-06/0.6457, allocations: 0 / 0.6073 GB, free: 6.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.007086/0.6528, allocations: 3.359 MB / 0.6105 GB, free: 3.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.6529, allocations: 162.8 kB / 0.6107 GB, free: 3.145 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00582/0.6588, allocations: 3.955 MB / 0.6146 GB, free: 15.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.6589, allocations: 41.7 kB / 0.6146 GB, free: 15.15 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002367/0.6613, allocations: 3.324 MB / 0.6179 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007111/0.662, allocations: 0.6174 MB / 0.6185 GB, free: 11.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/0.6637, allocations: 1.348 MB / 0.6198 GB, free: 9.793 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6638, allocations: 305.1 kB / 0.6201 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002858/0.6667, allocations: 1.996 MB / 0.622 GB, free: 7.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005841/0.6725, allocations: 6.311 MB / 0.6282 GB, free: 15.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/0.6848, allocations: 9.067 MB / 0.637 GB, free: 3.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001478/0.685, allocations: 44 kB / 0.6371 GB, free: 3.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01604/0.701, allocations: 7.929 MB / 0.6448 GB, free: 11.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.8e-05/0.7012, allocations: 71.98 kB / 0.6449 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001752/0.7013, allocations: 152 kB / 0.645 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.7016, allocations: 200 kB / 0.6452 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004872/0.7064, allocations: 1.513 MB / 0.6467 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002613/0.7067, allocations: 298.8 kB / 0.647 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005335/0.7121, allocations: 0.9443 MB / 0.6479 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008554/0.7129, allocations: 420 kB / 0.6483 GB, free: 8.254 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00382/0.7168, allocations: 2.284 MB / 0.6505 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006198/0.7174, allocations: 315.8 kB / 0.6508 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007293/0.7181, allocations: 420.2 kB / 0.6512 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-05/0.7182, allocations: 35.98 kB / 0.6513 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.7182, allocations: 4 kB / 0.6513 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.7182, allocations: 8.031 kB / 0.6513 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.7284, allocations: 5.7 MB / 0.6568 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.7285, allocations: 8.812 kB / 0.6569 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009064/0.7294, allocations: 215.6 kB / 0.6571 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/0.7294, allocations: 11.98 kB / 0.6571 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-05/0.7295, allocations: 31.98 kB / 0.6571 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/0.7295, allocations: 12 kB / 0.6571 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.118e-06/0.7295, allocations: 8.938 kB / 0.6571 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.7327, allocations: 2.597 MB / 0.6597 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000788/0.7335, allocations: 376.6 kB / 0.66 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.7338, allocations: 24 kB / 0.66 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.7348, allocations: 69.39 kB / 0.6601 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.735, allocations: 88.3 kB / 0.6602 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.671e-05/0.7351, allocations: 47.98 kB / 0.6602 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003977/0.7391, allocations: 2.411 MB / 0.6626 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7391, allocations: 0 / 0.6626 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005577/0.7446, allocations: 1.132 MB / 0.6637 GB, free: 8.238 MB / 0.4981 GB 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 (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.0003993/0.7451, allocations: 164.4 kB / 0.6639 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007809/0.7529, allocations: 4.551 MB / 0.6683 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.7529, allocations: 8.5 kB / 0.6683 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.7542, allocations: 0.9586 MB / 0.6692 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.7566, allocations: 359.5 kB / 0.6696 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/0.7748, allocations: 8.612 MB / 0.678 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004098/0.779, allocations: 3.276 MB / 0.6812 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00572/0.7847, allocations: 2.28 MB / 0.6834 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006055/0.7854, allocations: 231.4 kB / 0.6836 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of SimCode: time 2.144e-06/0.7854, allocations: 0 / 0.6836 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of Templates: time 0.05254/0.8379, allocations: 22.57 MB / 0.7057 GB, free: 13.14 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches