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.001604/0.001604, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.00169/0.00169, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.482/1.482, allocations: 227.4 MB / 251.6 MB, free: 72 kB / 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.252/0.252, allocations: 46.17 MB / 351.1 MB, free: 14.29 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.002273/0.002273, allocations: 85.59 kB / 490.2 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1209, allocations: 62.46 MB / 0.5397 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01393/0.1349, allocations: 11.92 MB / 0.5513 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008516/0.1435, allocations: 4.078 MB / 0.5553 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.1453, allocations: 79.81 kB / 0.5554 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003158/0.1485, allocations: 1.662 MB / 0.557 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.152, allocations: 1.514 MB / 0.5585 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.1541, allocations: 1.18 MB / 0.5596 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004376/0.1585, allocations: 3.511 MB / 0.5631 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.1614, allocations: 2.454 MB / 0.5655 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.1631, allocations: 1.156 MB / 0.5666 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.1653, allocations: 1.561 MB / 0.5681 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005649/0.1659, allocations: 236 kB / 0.5683 GB, free: 6.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.1674, allocations: 0.7138 MB / 0.569 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001518/0.1689, allocations: 1.543 MB / 0.5705 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001972/0.1709, allocations: 1.859 MB / 0.5724 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00804/0.179, allocations: 6.15 MB / 0.5784 GB, free: 12.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.179, allocations: 0 / 0.5784 GB, free: 12.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.179, allocations: 0 / 0.5784 GB, free: 12.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002297/0.1793, allocations: 0 / 0.5784 GB, free: 12.43 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.008464/0.1877, allocations: 4.09 MB / 0.5824 GB, free: 8.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.1878, allocations: 11.97 kB / 0.5824 GB, free: 8.254 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.1981, allocations: 2.997 MB / 0.5853 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/0.2021, allocations: 1.812 MB / 0.5871 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.2023, allocations: 189.1 kB / 0.5872 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008048/0.2032, allocations: 251.8 kB / 0.5875 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/0.2194, allocations: 10.04 MB / 0.5973 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.219e-05/0.2195, allocations: 31.69 kB / 0.5973 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004/0.2199, allocations: 119.8 kB / 0.5974 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003715/0.2237, allocations: 2.321 MB / 0.5997 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3081/0.5318, allocations: 8.918 MB / 0.6084 GB, free: 53.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04545/0.5773, allocations: 37.61 MB / 0.6451 GB, free: 27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005316/0.5827, allocations: 3.373 MB / 0.6484 GB, free: 24.67 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.5841, allocations: 1.234 MB / 0.6496 GB, free: 24.08 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007468/0.5916, allocations: 5.18 MB / 0.6547 GB, free: 20.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.5917, allocations: 46.62 kB / 0.6547 GB, free: 20.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 3.948e-06/0.5917, allocations: 0 / 0.6547 GB, free: 20.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=150): time 0.005831/0.5975, allocations: 3.349 MB / 0.658 GB, free: 19.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.5976, allocations: 169.2 kB / 0.6582 GB, free: 19.01 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004424/0.602, allocations: 3.836 MB / 0.6619 GB, free: 15.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.6021, allocations: 41.7 kB / 0.662 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.6035, allocations: 3.321 MB / 0.6652 GB, free: 12.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/0.6039, allocations: 0.634 MB / 0.6658 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.6051, allocations: 1.316 MB / 0.6671 GB, free: 10.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.6052, allocations: 309.1 kB / 0.6674 GB, free: 9.891 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.6072, allocations: 1.953 MB / 0.6693 GB, free: 7.934 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/0.6108, allocations: 6.112 MB / 0.6753 GB, free: 15.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/0.6222, allocations: 8.798 MB / 0.6839 GB, free: 4.883 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/0.6224, allocations: 44 kB / 0.6839 GB, free: 4.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01534/0.6377, allocations: 7.712 MB / 0.6914 GB, free: 13.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.6379, allocations: 75.94 kB / 0.6915 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002492/0.6382, allocations: 150.5 kB / 0.6917 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.6384, allocations: 192 kB / 0.6918 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004673/0.6431, allocations: 1.45 MB / 0.6933 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002773/0.6434, allocations: 290.9 kB / 0.6935 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/0.6487, allocations: 0.9306 MB / 0.6944 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007675/0.6494, allocations: 407.8 kB / 0.6948 GB, free: 9.652 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.004395/0.6538, allocations: 2.198 MB / 0.697 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00075/0.6546, allocations: 321.8 kB / 0.6973 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000958/0.6556, allocations: 411.1 kB / 0.6977 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-05/0.6557, allocations: 35.98 kB / 0.6977 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.133e-05/0.6557, allocations: 4 kB / 0.6977 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.6557, allocations: 3.984 kB / 0.6977 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009913/0.6656, allocations: 5.466 MB / 0.7031 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.6657, allocations: 8.656 kB / 0.7031 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.6667, allocations: 218 kB / 0.7033 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.745e-05/0.6667, allocations: 12 kB / 0.7033 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.73e-05/0.6668, allocations: 24 kB / 0.7033 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/0.6668, allocations: 12 kB / 0.7033 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.6668, allocations: 7.938 kB / 0.7033 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.67, allocations: 2.548 MB / 0.7058 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007127/0.6708, allocations: 390.5 kB / 0.7062 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.671, allocations: 35.91 kB / 0.7062 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009308/0.672, allocations: 63.92 kB / 0.7063 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.6722, allocations: 84.28 kB / 0.7064 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.814e-05/0.6723, allocations: 44 kB / 0.7064 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003616/0.6759, allocations: 2.33 MB / 0.7087 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6759, allocations: 0 / 0.7087 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005239/0.6812, allocations: 1.08 MB / 0.7097 GB, free: 10.18 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.0004726/0.6816, allocations: 158.9 kB / 0.7099 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007656/0.6893, allocations: 4.448 MB / 0.7142 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/0.6894, allocations: 0 / 0.7142 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.6907, allocations: 0.9477 MB / 0.7152 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.6933, allocations: 351 kB / 0.7155 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.7121, allocations: 8.388 MB / 0.7237 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006556/0.7187, allocations: 3.154 MB / 0.7268 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006262/0.725, allocations: 2.229 MB / 0.7289 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009795/0.726, allocations: 219.4 kB / 0.7292 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/0.7261, allocations: 0 / 0.7292 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.05597/0.782, allocations: 21.76 MB / 0.7504 GB, free: 496 kB / 0.5294 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 -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/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_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.6232984168455005]