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.001176/0.001176, allocations: 104.8 kB / 17.32 MB, free: 5.984 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.001234/0.001234, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.347/1.347, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2126/0.2126, allocations: 44.19 MB / 336.2 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 56.78 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1377, allocations: 60.83 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02714/0.1649, allocations: 25.94 MB / 494.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01526/0.1803, allocations: 6.264 MB / 0.4892 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005377/0.1857, allocations: 111.8 kB / 0.4893 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003853/0.1896, allocations: 1.589 MB / 0.4908 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.194, allocations: 1.472 MB / 0.4923 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.1964, allocations: 1.146 MB / 0.4934 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005365/0.2018, allocations: 3.577 MB / 0.4969 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.2053, allocations: 2.637 MB / 0.4995 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.2071, allocations: 1.191 MB / 0.5006 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.2092, allocations: 1.779 MB / 0.5024 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004138/0.2096, allocations: 247.9 kB / 0.5026 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2563/0.4659, allocations: 0.7179 MB / 0.5033 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002823/0.4688, allocations: 1.619 MB / 0.5049 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002399/0.4712, allocations: 1.945 MB / 0.5068 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009126/0.4804, allocations: 6.034 MB / 0.5127 GB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.4804, allocations: 0 / 0.5127 GB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4804, allocations: 1.656 kB / 0.5127 GB, free: 13.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002151/0.4806, allocations: 0 / 0.5127 GB, free: 13.41 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.01012/0.4908, allocations: 4.071 MB / 0.5166 GB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/0.4908, allocations: 11.03 kB / 0.5166 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.5015, allocations: 2.995 MB / 0.5196 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.5065, allocations: 1.818 MB / 0.5213 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.5067, allocations: 193.3 kB / 0.5215 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007583/0.5074, allocations: 250.3 kB / 0.5218 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01758/0.525, allocations: 10.23 MB / 0.5318 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-05/0.5251, allocations: 37.03 kB / 0.5318 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000389/0.5255, allocations: 129.3 kB / 0.5319 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003131/0.5287, allocations: 2.373 MB / 0.5342 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/0.5425, allocations: 9.08 MB / 0.5431 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05468/0.5972, allocations: 38.15 MB / 0.5804 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006081/0.6033, allocations: 3.388 MB / 0.5837 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.6051, allocations: 1.233 MB / 0.5849 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008983/0.6141, allocations: 5.184 MB / 0.5899 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.6142, allocations: 54 kB / 0.59 GB, free: 15.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 3.797e-06/0.6142, allocations: 0 / 0.59 GB, free: 15.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.006796/0.621, allocations: 3.329 MB / 0.5932 GB, free: 11.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/0.6211, allocations: 169.8 kB / 0.5934 GB, free: 11.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006192/0.6273, allocations: 3.865 MB / 0.5972 GB, free: 7.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.6275, allocations: 41.7 kB / 0.5972 GB, free: 7.863 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/0.6297, allocations: 3.229 MB / 0.6004 GB, free: 4.641 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007403/0.6304, allocations: 0.6065 MB / 0.601 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001754/0.6322, allocations: 1.316 MB / 0.6022 GB, free: 2.715 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6323, allocations: 301.1 kB / 0.6025 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/0.6352, allocations: 1.961 MB / 0.6045 GB, free: 464 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006825/0.642, allocations: 6.157 MB / 0.6105 GB, free: 8.277 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/0.6531, allocations: 8.857 MB / 0.6191 GB, free: 13.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/0.6532, allocations: 48 kB / 0.6192 GB, free: 13.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01657/0.6698, allocations: 7.755 MB / 0.6267 GB, free: 6.848 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.67, allocations: 68 kB / 0.6268 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001872/0.6702, allocations: 148 kB / 0.6269 GB, free: 6.637 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.6704, allocations: 196 kB / 0.6271 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005372/0.6758, allocations: 1.466 MB / 0.6286 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003323/0.6761, allocations: 295.3 kB / 0.6288 GB, free: 4.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006258/0.6824, allocations: 0.9161 MB / 0.6297 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/0.6837, allocations: 407.3 kB / 0.6301 GB, free: 3.371 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.006495/0.6903, allocations: 2.23 MB / 0.6323 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008515/0.6911, allocations: 307.9 kB / 0.6326 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.6924, allocations: 407.4 kB / 0.633 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.583e-05/0.6925, allocations: 46.09 kB / 0.633 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.6925, allocations: 0 / 0.633 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.6925, allocations: 7.984 kB / 0.633 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.7032, allocations: 5.533 MB / 0.6384 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.7033, allocations: 8 kB / 0.6384 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009319/0.7042, allocations: 199.7 kB / 0.6386 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.201e-05/0.7043, allocations: 23.86 kB / 0.6387 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-05/0.7044, allocations: 32.8 kB / 0.6387 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.7044, allocations: 12 kB / 0.6387 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.7044, allocations: 7.938 kB / 0.6387 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.7074, allocations: 2.536 MB / 0.6412 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008953/0.7083, allocations: 372.6 kB / 0.6415 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003421/0.7087, allocations: 24 kB / 0.6416 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009881/0.7097, allocations: 74.72 kB / 0.6416 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.7098, allocations: 76.36 kB / 0.6417 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.71, allocations: 43.98 kB / 0.6417 GB, free: 7.238 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004292/0.7143, allocations: 2.354 MB / 0.644 GB, free: 4.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7143, allocations: 4 kB / 0.6441 GB, free: 4.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006329/0.7206, allocations: 1.105 MB / 0.6451 GB, free: 3.789 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.0005214/0.7212, allocations: 154.6 kB / 0.6453 GB, free: 3.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009108/0.7303, allocations: 5.122 MB / 0.6503 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.7303, allocations: 0 / 0.6503 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.7317, allocations: 0.9538 MB / 0.6512 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.7342, allocations: 358.5 kB / 0.6516 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/0.7528, allocations: 10.42 MB / 0.6617 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004462/0.7573, allocations: 3.207 MB / 0.6649 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005846/0.7632, allocations: 2.236 MB / 0.667 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007044/0.7639, allocations: 219.4 kB / 0.6673 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.7639, allocations: 0 / 0.6673 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.05833/0.8223, allocations: 25.05 MB / 0.6917 GB, free: 4.164 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/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