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.0008463/0.0008463, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.7 MB / 247.5 MB, free: 9.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1996/0.1996, allocations: 46.18 MB / 345.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002826, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1067, allocations: 63.57 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02114/0.1279, allocations: 21.42 MB / 0.4933 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.1401, allocations: 5.683 MB / 0.4989 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003707/0.1438, allocations: 99.75 kB / 0.499 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.1452, allocations: 442.1 kB / 0.4994 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.1489, allocations: 1.452 MB / 0.5008 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.1498, allocations: 231.5 kB / 0.501 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005788/0.1556, allocations: 4.945 MB / 0.5059 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2866/0.4422, allocations: 3.162 MB / 0.5089 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.4451, allocations: 0.8855 MB / 0.5098 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003821/0.449, allocations: 1.536 MB / 0.5113 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.4502, allocations: 121.5 kB / 0.5114 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.4531, allocations: 0.6374 MB / 0.512 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003879/0.457, allocations: 1.445 MB / 0.5135 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004316/0.4614, allocations: 1.753 MB / 0.5152 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00799/0.4694, allocations: 4.669 MB / 0.5197 GB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4695, allocations: 4.969 kB / 0.5197 GB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.067e-06/0.4695, allocations: 0 / 0.5197 GB, free: 9.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002892/0.4698, allocations: 0 / 0.5197 GB, free: 9.953 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.008709/0.4785, allocations: 3.217 MB / 0.5229 GB, free: 8.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4785, allocations: 17 kB / 0.5229 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.4894, allocations: 3.058 MB / 0.5259 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00515/0.4946, allocations: 1.79 MB / 0.5276 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.4949, allocations: 192.1 kB / 0.5278 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.4962, allocations: 252 kB / 0.5281 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.5128, allocations: 10.04 MB / 0.5379 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.812e-05/0.513, allocations: 35.03 kB / 0.5379 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004085/0.5134, allocations: 121.2 kB / 0.538 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003156/0.5165, allocations: 2.312 MB / 0.5403 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/0.5336, allocations: 8.926 MB / 0.549 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0557/0.5894, allocations: 37.73 MB / 0.5858 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006258/0.5957, allocations: 3.377 MB / 0.5891 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.5978, allocations: 1.236 MB / 0.5903 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009959/0.6077, allocations: 5.177 MB / 0.5954 GB, free: 9.887 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.6078, allocations: 51.61 kB / 0.5954 GB, free: 9.828 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 6.572e-06/0.6078, allocations: 0 / 0.5954 GB, free: 9.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.007258/0.6151, allocations: 3.324 MB / 0.5987 GB, free: 6.516 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.486e-05/0.6152, allocations: 166.8 kB / 0.5988 GB, free: 6.312 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008048/0.6233, allocations: 3.824 MB / 0.6026 GB, free: 2.492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002399/0.6236, allocations: 48.11 kB / 0.6026 GB, free: 2.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002798/0.6264, allocations: 3.178 MB / 0.6057 GB, free: 15.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001223/0.6276, allocations: 0.6071 MB / 0.6063 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/0.6291, allocations: 0.5499 MB / 0.6069 GB, free: 14.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6293, allocations: 305.1 kB / 0.6071 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003675/0.6329, allocations: 1.953 MB / 0.6091 GB, free: 11.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006369/0.6393, allocations: 6.102 MB / 0.615 GB, free: 3.746 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.6499, allocations: 8.8 MB / 0.6236 GB, free: 9.469 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001908/0.6502, allocations: 40 kB / 0.6236 GB, free: 9.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01557/0.6657, allocations: 7.7 MB / 0.6312 GB, free: 1.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.666, allocations: 75.92 kB / 0.6312 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002723/0.6662, allocations: 148.1 kB / 0.6314 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/0.6665, allocations: 200.1 kB / 0.6316 GB, free: 1.461 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00492/0.6714, allocations: 1.458 MB / 0.633 GB, free: 0 / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000287/0.6717, allocations: 286.9 kB / 0.6333 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005233/0.677, allocations: 0.9161 MB / 0.6342 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/0.6781, allocations: 396 kB / 0.6345 GB, free: 14.41 MB / 494.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.004915/0.683, allocations: 2.197 MB / 0.6367 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006928/0.6837, allocations: 311.9 kB / 0.637 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.6853, allocations: 411.1 kB / 0.6374 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/0.6855, allocations: 34.34 kB / 0.6374 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/0.6855, allocations: 4 kB / 0.6374 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.178e-05/0.6855, allocations: 7.969 kB / 0.6374 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.699, allocations: 5.464 MB / 0.6428 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.6991, allocations: 8 kB / 0.6428 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.7001, allocations: 200.3 kB / 0.6429 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.407e-05/0.7002, allocations: 12 kB / 0.643 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.7003, allocations: 35.92 kB / 0.643 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/0.7003, allocations: 15.88 kB / 0.643 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.7003, allocations: 8 kB / 0.643 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/0.7036, allocations: 2.528 MB / 0.6455 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009422/0.7046, allocations: 388.6 kB / 0.6459 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006843/0.7053, allocations: 27.94 kB / 0.6459 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.7067, allocations: 62.97 kB / 0.6459 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.7068, allocations: 84.34 kB / 0.646 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.707, allocations: 40 kB / 0.6461 GB, free: 2.379 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005121/0.7121, allocations: 2.338 MB / 0.6483 GB, free: 56 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7121, allocations: 0 / 0.6483 GB, free: 56 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.006301/0.7184, allocations: 1.065 MB / 0.6494 GB, free: 14.98 MB / 0.4981 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.0005816/0.719, allocations: 158 kB / 0.6495 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007879/0.7269, allocations: 4.413 MB / 0.6538 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.7269, allocations: 384 / 0.6538 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.7283, allocations: 0.9541 MB / 0.6548 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004958/0.7333, allocations: 342.2 kB / 0.6551 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.7535, allocations: 10.76 MB / 0.6656 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005484/0.759, allocations: 3.175 MB / 0.6687 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.7602, allocations: 267.4 kB / 0.669 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.7602, allocations: 4 kB / 0.669 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of Templates: time 0.3259/1.086, allocations: 51.4 MB / 0.7192 GB, free: 190.7 MB / 0.545 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 -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