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.001558/0.001557, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001623/0.001623, allocations: 194 kB / 18.77 MB, free: 4.742 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.984/1.984, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.3166/0.3166, allocations: 44.18 MB / 336.8 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 65.31 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1576, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.03665/0.1943, allocations: 25.93 MB / 495.1 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02035/0.2147, allocations: 6.33 MB / 0.4897 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007919/0.2227, allocations: 119.7 kB / 0.4898 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005069/0.2278, allocations: 1.632 MB / 0.4914 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.2338, allocations: 1.472 MB / 0.4928 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.2374, allocations: 1.189 MB / 0.494 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008934/0.2464, allocations: 4.996 MB / 0.4989 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005067/0.2515, allocations: 2.489 MB / 0.5013 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.2544, allocations: 1.023 MB / 0.5023 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.375/0.6294, allocations: 1.706 MB / 0.504 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002057/0.6316, allocations: 171.1 kB / 0.5041 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004399/0.636, allocations: 0.688 MB / 0.5048 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005286/0.6414, allocations: 1.55 MB / 0.5063 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009144/0.6506, allocations: 1.874 MB / 0.5082 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.6644, allocations: 4.903 MB / 0.5129 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.6645, allocations: 0 / 0.5129 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.6646, allocations: 0.5938 kB / 0.5129 GB, free: 12.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003837/0.6649, allocations: 1.469 kB / 0.5129 GB, free: 12.51 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.02299/0.6879, allocations: 4.08 MB / 0.5169 GB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.42e-05/0.6881, allocations: 9.438 kB / 0.5169 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/0.7042, allocations: 2.999 MB / 0.5199 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00775/0.712, allocations: 1.815 MB / 0.5216 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.7125, allocations: 201 kB / 0.5218 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/0.7146, allocations: 246.9 kB / 0.5221 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02744/0.7421, allocations: 10.23 MB / 0.5321 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.7423, allocations: 29 kB / 0.5321 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00112/0.7434, allocations: 133.8 kB / 0.5322 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005061/0.7485, allocations: 2.373 MB / 0.5345 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0227/0.7712, allocations: 9.078 MB / 0.5434 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07782/0.8491, allocations: 38.15 MB / 0.5807 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008687/0.8579, allocations: 3.381 MB / 0.584 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002867/0.8608, allocations: 1.241 MB / 0.5852 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01385/0.8747, allocations: 5.172 MB / 0.5902 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.582e-05/0.8748, allocations: 57.5 kB / 0.5903 GB, free: 14.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 7.995e-06/0.8748, allocations: 0 / 0.5903 GB, free: 14.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01066/0.8855, allocations: 3.326 MB / 0.5935 GB, free: 11.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.8857, allocations: 169.4 kB / 0.5937 GB, free: 11.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009163/0.8948, allocations: 3.861 MB / 0.5975 GB, free: 7.461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004286/0.8953, allocations: 44.44 kB / 0.5975 GB, free: 7.414 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003633/0.899, allocations: 3.226 MB / 0.6006 GB, free: 4.191 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001367/0.9004, allocations: 0.6028 MB / 0.6012 GB, free: 3.594 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002913/0.9033, allocations: 1.321 MB / 0.6025 GB, free: 2.266 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9034, allocations: 305.1 kB / 0.6028 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004631/0.9081, allocations: 1.963 MB / 0.6047 GB, free: 0 / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0096/0.9177, allocations: 6.156 MB / 0.6107 GB, free: 7.824 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/0.9325, allocations: 8.846 MB / 0.6194 GB, free: 13.49 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002278/0.9328, allocations: 44 kB / 0.6194 GB, free: 13.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02303/0.9558, allocations: 7.759 MB / 0.627 GB, free: 6.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.9561, allocations: 74.5 kB / 0.6271 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002566/0.9563, allocations: 151.9 kB / 0.6272 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/0.9566, allocations: 196 kB / 0.6274 GB, free: 5.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007608/0.9642, allocations: 1.47 MB / 0.6288 GB, free: 4.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003965/0.9647, allocations: 294.7 kB / 0.6291 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008202/0.9729, allocations: 0.9161 MB / 0.63 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002041/0.975, allocations: 402.2 kB / 0.6304 GB, free: 2.855 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.00676/0.9818, allocations: 2.237 MB / 0.6326 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009031/0.9827, allocations: 304 kB / 0.6329 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.9844, allocations: 441.2 kB / 0.6333 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.074e-05/0.9845, allocations: 32 kB / 0.6333 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.9845, allocations: 4 kB / 0.6333 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.9845, allocations: 7.922 kB / 0.6333 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.9994, allocations: 5.539 MB / 0.6387 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/0.9995, allocations: 8.094 kB / 0.6388 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/1.001, allocations: 211.7 kB / 0.639 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.131e-05/1.001, allocations: 8 kB / 0.639 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/1.001, allocations: 28 kB / 0.639 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.986e-05/1.001, allocations: 11.94 kB / 0.639 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.001, allocations: 8 kB / 0.639 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004563/1.006, allocations: 2.532 MB / 0.6415 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.007, allocations: 376.6 kB / 0.6418 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005444/1.008, allocations: 30.17 kB / 0.6419 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/1.009, allocations: 59.92 kB / 0.6419 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/1.009, allocations: 84.34 kB / 0.642 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.01, allocations: 42.19 kB / 0.642 GB, free: 6.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007044/1.017, allocations: 2.362 MB / 0.6444 GB, free: 4.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.01e-07/1.017, allocations: 0 / 0.6444 GB, free: 4.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01056/1.027, allocations: 1.105 MB / 0.6454 GB, free: 3.375 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.001139/1.028, allocations: 155.4 kB / 0.6456 GB, free: 3.215 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01288/1.041, allocations: 4.446 MB / 0.6499 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/1.041, allocations: 0 / 0.6499 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/1.044, allocations: 0.9464 MB / 0.6508 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004006/1.048, allocations: 357.5 kB / 0.6512 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/1.08, allocations: 10.9 MB / 0.6618 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009316/1.089, allocations: 3.211 MB / 0.665 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/1.091, allocations: 275.4 kB / 0.6652 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of SimCode: time 2.174e-06/1.091, allocations: 0 / 0.6652 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of Templates: time 0.4346/1.525, allocations: 52.97 MB / 0.717 GB, free: 198.8 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