Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.001161, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 78.62 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1349, allocations: 62.43 MB / 481.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01318/0.1481, allocations: 11.94 MB / 493.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009096/0.1572, allocations: 4.074 MB / 497.4 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.1597, allocations: 79.81 kB / 497.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.163, allocations: 1.662 MB / 499.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.1684, allocations: 1.518 MB / 0.489 GB, free: 1.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.1711, allocations: 1.177 MB / 0.4901 GB, free: 0 / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00518/0.1763, allocations: 3.506 MB / 0.4935 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002801/0.1791, allocations: 2.458 MB / 0.4959 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.1807, allocations: 1.16 MB / 0.4971 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.1825, allocations: 1.561 MB / 0.4986 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004646/0.183, allocations: 239.9 kB / 0.4988 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.1843, allocations: 0.7099 MB / 0.4995 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.1855, allocations: 1.543 MB / 0.501 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001598/0.1871, allocations: 1.863 MB / 0.5028 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2664/0.4535, allocations: 6.111 MB / 0.5088 GB, free: 20 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.4536, allocations: 0 / 0.5088 GB, free: 20 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.668e-06/0.4536, allocations: 0.6562 kB / 0.5088 GB, free: 20 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000354/0.454, allocations: 0 / 0.5088 GB, free: 20 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: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.01295/0.4669, allocations: 3.979 MB / 0.5127 GB, free: 18.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.467, allocations: 12.16 kB / 0.5127 GB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.4773, allocations: 2.965 MB / 0.5156 GB, free: 18.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005592/0.4829, allocations: 1.817 MB / 0.5174 GB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.4831, allocations: 190.2 kB / 0.5176 GB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/0.4844, allocations: 246.8 kB / 0.5178 GB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.5011, allocations: 10.04 MB / 0.5276 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.083e-05/0.5012, allocations: 31.91 kB / 0.5276 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004408/0.5017, allocations: 127.4 kB / 0.5278 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003224/0.5049, allocations: 2.317 MB / 0.53 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/0.5193, allocations: 8.933 MB / 0.5387 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04399/0.5633, allocations: 37.52 MB / 0.5754 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005097/0.5685, allocations: 3.379 MB / 0.5787 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.57, allocations: 1.223 MB / 0.5799 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008238/0.5782, allocations: 5.182 MB / 0.5849 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.5783, allocations: 46.22 kB / 0.585 GB, free: 9.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 3.877e-06/0.5783, allocations: 0 / 0.585 GB, free: 9.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.006505/0.5848, allocations: 3.326 MB / 0.5882 GB, free: 5.703 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.5849, allocations: 166.8 kB / 0.5884 GB, free: 5.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005827/0.5907, allocations: 3.828 MB / 0.5921 GB, free: 1.684 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000209/0.591, allocations: 44.12 kB / 0.5922 GB, free: 1.637 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002135/0.5931, allocations: 3.177 MB / 0.5953 GB, free: 14.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007746/0.5939, allocations: 0.6109 MB / 0.5959 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/0.5955, allocations: 1.3 MB / 0.5971 GB, free: 12.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5957, allocations: 301.1 kB / 0.5974 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/0.5984, allocations: 1.964 MB / 0.5993 GB, free: 10.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005122/0.6035, allocations: 6.097 MB / 0.6053 GB, free: 2.195 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008584/0.6121, allocations: 8.8 MB / 0.6139 GB, free: 7.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.332e-05/0.6122, allocations: 40 kB / 0.6139 GB, free: 7.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01121/0.6234, allocations: 7.708 MB / 0.6215 GB, free: 436 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.85e-05/0.6235, allocations: 68 kB / 0.6215 GB, free: 368 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/0.6237, allocations: 151.9 kB / 0.6217 GB, free: 216 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.6239, allocations: 192 kB / 0.6218 GB, free: 24 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/0.6276, allocations: 1.454 MB / 0.6233 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001991/0.6278, allocations: 286.9 kB / 0.6235 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003772/0.6316, allocations: 0.912 MB / 0.6244 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004857/0.632, allocations: 399.9 kB / 0.6248 GB, free: 12.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.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 (791): * Single equations (assignments): 783 * 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.003037/0.6351, allocations: 2.195 MB / 0.627 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004715/0.6356, allocations: 313.5 kB / 0.6273 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006268/0.6362, allocations: 407 kB / 0.6276 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.865e-05/0.6363, allocations: 39.67 kB / 0.6277 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.6363, allocations: 7.938 kB / 0.6277 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6363, allocations: 7.969 kB / 0.6277 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008674/0.645, allocations: 5.461 MB / 0.633 GB, free: 4.453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.645, allocations: 4 kB / 0.633 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008946/0.6459, allocations: 207.7 kB / 0.6332 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.646, allocations: 8 kB / 0.6332 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.384e-05/0.646, allocations: 39.92 kB / 0.6333 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.6461, allocations: 11.84 kB / 0.6333 GB, free: 4.191 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.6461, allocations: 11.94 kB / 0.6333 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.6492, allocations: 2.531 MB / 0.6358 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008667/0.65, allocations: 372.7 kB / 0.6361 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/0.6503, allocations: 31.92 kB / 0.6362 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008876/0.6512, allocations: 65.56 kB / 0.6362 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.6514, allocations: 84.09 kB / 0.6363 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.7e-05/0.6515, allocations: 44.88 kB / 0.6363 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003427/0.6549, allocations: 2.334 MB / 0.6386 GB, free: 14.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.655, allocations: 0 / 0.6386 GB, free: 14.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005148/0.6601, allocations: 1.059 MB / 0.6397 GB, free: 13.59 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.0003715/0.6605, allocations: 158.2 kB / 0.6398 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006499/0.667, allocations: 4.443 MB / 0.6441 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.667, allocations: 4 kB / 0.6441 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.6682, allocations: 0.9478 MB / 0.6451 GB, free: 8.062 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.6703, allocations: 358 kB / 0.6454 GB, free: 7.734 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.6831, allocations: 8.262 MB / 0.6535 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003304/0.6864, allocations: 3.162 MB / 0.6566 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004498/0.6909, allocations: 2.229 MB / 0.6587 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/0.6915, allocations: 215.4 kB / 0.659 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/0.6915, allocations: 0 / 0.659 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of Templates: time 0.04474/0.7362, allocations: 19.55 MB / 0.678 GB, free: 6.426 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches