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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001941/0.001941, allocations: 75.28 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002259/0.002259, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 34.26 MB / 295.4 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002686, allocations: 79.88 kB / 443.1 MB, free: 6.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3771, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01815/0.3953, allocations: 10.41 MB / 0.5074 GB, free: 23.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.4089, allocations: 3.898 MB / 0.5112 GB, free: 20.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.412, allocations: 85.5 kB / 0.5113 GB, free: 20.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005445/0.4175, allocations: 1.64 MB / 0.5129 GB, free: 19.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00706/0.4246, allocations: 1.563 MB / 0.5144 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003816/0.4284, allocations: 1.141 MB / 0.5156 GB, free: 18.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008902/0.4373, allocations: 3.507 MB / 0.519 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005049/0.4423, allocations: 1.985 MB / 0.5209 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.4453, allocations: 1.174 MB / 0.5221 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004743/0.45, allocations: 1.657 MB / 0.5237 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.4511, allocations: 237.7 kB / 0.5239 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.4536, allocations: 0.6202 MB / 0.5245 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002829/0.4564, allocations: 1.591 MB / 0.5261 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002566/0.459, allocations: 1.302 MB / 0.5273 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009959/0.4689, allocations: 6.183 MB / 0.5334 GB, free: 11.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4689, allocations: 0 / 0.5334 GB, free: 11.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4689, allocations: 0 / 0.5334 GB, free: 11.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002321/0.4692, allocations: 0 / 0.5334 GB, free: 11.13 MB / 446.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.00926/0.4784, allocations: 4.016 MB / 0.5373 GB, free: 8.223 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4785, allocations: 9.562 kB / 0.5373 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009792/0.4883, allocations: 3.029 MB / 0.5403 GB, free: 6.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00499/0.4932, allocations: 1.771 MB / 0.542 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.4934, allocations: 192.1 kB / 0.5422 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009241/0.4944, allocations: 248.8 kB / 0.5424 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.5109, allocations: 10.05 MB / 0.5522 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.511, allocations: 31.69 kB / 0.5523 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009427/0.5119, allocations: 131.8 kB / 0.5524 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004367/0.5163, allocations: 2.314 MB / 0.5546 GB, free: 9.957 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/0.5364, allocations: 8.921 MB / 0.5634 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05672/0.5932, allocations: 35.21 MB / 0.5977 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006138/0.5993, allocations: 2.42 MB / 0.6001 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.6013, allocations: 1.135 MB / 0.6012 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/0.6114, allocations: 4.566 MB / 0.6057 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.6115, allocations: 47.16 kB / 0.6057 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.42e-06/0.6115, allocations: 7.938 kB / 0.6057 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.008004/0.6195, allocations: 3.421 MB / 0.6091 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.6196, allocations: 170.8 kB / 0.6092 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007587/0.6272, allocations: 3.753 MB / 0.6129 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003245/0.6275, allocations: 45.69 kB / 0.6129 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003261/0.6308, allocations: 3.345 MB / 0.6162 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/0.6319, allocations: 0.6243 MB / 0.6168 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00336/0.6352, allocations: 1.314 MB / 0.6181 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002631/0.6355, allocations: 353.9 kB / 0.6184 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003698/0.6392, allocations: 1.957 MB / 0.6203 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00762/0.6468, allocations: 6.1 MB / 0.6263 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/0.6588, allocations: 8.79 MB / 0.6349 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002002/0.659, allocations: 44.25 kB / 0.6349 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01702/0.676, allocations: 7.694 MB / 0.6424 GB, free: 10.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.6762, allocations: 68.22 kB / 0.6425 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002761/0.6765, allocations: 155.8 kB / 0.6427 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.6768, allocations: 192 kB / 0.6428 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005405/0.6822, allocations: 1.458 MB / 0.6443 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003635/0.6826, allocations: 286.9 kB / 0.6445 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006403/0.689, allocations: 0.9075 MB / 0.6454 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/0.6905, allocations: 400 kB / 0.6458 GB, free: 7.082 MB / 0.545 GB 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.005304/0.6958, allocations: 2.203 MB / 0.648 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007488/0.6965, allocations: 298.4 kB / 0.6482 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.6978, allocations: 380.4 kB / 0.6486 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-05/0.6978, allocations: 39.98 kB / 0.6486 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.6978, allocations: 0 / 0.6486 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.181e-05/0.6979, allocations: 11.97 kB / 0.6486 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.7094, allocations: 4.374 MB / 0.6529 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/0.7095, allocations: 4 kB / 0.6529 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.7106, allocations: 211.7 kB / 0.6531 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.896e-05/0.7106, allocations: 8 kB / 0.6531 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/0.7108, allocations: 28 kB / 0.6532 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-05/0.7108, allocations: 16.5 kB / 0.6532 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.7108, allocations: 12 kB / 0.6532 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003831/0.7146, allocations: 2.521 MB / 0.6556 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008212/0.7154, allocations: 281.6 kB / 0.6559 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005757/0.716, allocations: 27.98 kB / 0.6559 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.7173, allocations: 67.86 kB / 0.656 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.7175, allocations: 84.25 kB / 0.6561 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.7176, allocations: 43.98 kB / 0.6561 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004484/0.7221, allocations: 2.087 MB / 0.6582 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7221, allocations: 4 kB / 0.6582 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006511/0.7286, allocations: 1.11 MB / 0.6593 GB, free: 9.09 MB / 0.5606 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.0006867/0.7293, allocations: 154.8 kB / 0.6594 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009683/0.7389, allocations: 4.251 MB / 0.6636 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/0.739, allocations: 0 / 0.6636 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.7407, allocations: 0.8724 MB / 0.6644 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/0.7436, allocations: 295.2 kB / 0.6647 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/0.764, allocations: 8.35 MB / 0.6728 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007206/0.7712, allocations: 2.624 MB / 0.6754 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00627/0.7775, allocations: 2.187 MB / 0.6775 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009367/0.7784, allocations: 208.5 kB / 0.6777 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/0.7784, allocations: 0 / 0.6777 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of Templates: time 0.04918/0.8276, allocations: 16.92 MB / 0.6943 GB, free: 5.512 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (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 ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.643270927015692]