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.001451/0.001451, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001582/0.001582, allocations: 217 kB / 24.5 MB, free: 4.133 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.372/1.372, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.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.2113/0.2113, allocations: 46.92 MB / 361.5 MB, free: 4.191 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.002248/0.002248, allocations: 79.88 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2748, allocations: 66.08 MB / 0.5619 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01417/0.289, allocations: 12.01 MB / 0.5737 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008455/0.2974, allocations: 4.105 MB / 0.5777 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.2995, allocations: 87.69 kB / 0.5778 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003564/0.3031, allocations: 1.705 MB / 0.5794 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003662/0.3067, allocations: 1.561 MB / 0.581 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.3092, allocations: 1.204 MB / 0.5821 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005241/0.3144, allocations: 3.506 MB / 0.5856 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00312/0.3175, allocations: 1.996 MB / 0.5875 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.3194, allocations: 1.179 MB / 0.5887 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.322, allocations: 1.725 MB / 0.5903 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000661/0.3226, allocations: 240 kB / 0.5906 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.3242, allocations: 0.7372 MB / 0.5913 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001742/0.326, allocations: 1.589 MB / 0.5928 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00259/0.3286, allocations: 1.859 MB / 0.5947 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007116/0.3357, allocations: 6.15 MB / 0.6007 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3357, allocations: 0 / 0.6007 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3357, allocations: 0 / 0.6007 GB, free: 12.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001161/0.3358, allocations: 0 / 0.6007 GB, free: 12.41 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.006209/0.342, allocations: 4.019 MB / 0.6046 GB, free: 8.332 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3421, allocations: 8.031 kB / 0.6046 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009193/0.3513, allocations: 2.993 MB / 0.6075 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/0.3553, allocations: 1.763 MB / 0.6092 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.3554, allocations: 193.1 kB / 0.6094 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006171/0.356, allocations: 243.8 kB / 0.6097 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.3709, allocations: 10.04 MB / 0.6195 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.148e-05/0.3709, allocations: 27.75 kB / 0.6195 GB, free: 8.371 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003499/0.3713, allocations: 131.8 kB / 0.6196 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003608/0.3749, allocations: 2.306 MB / 0.6219 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.3901, allocations: 8.933 MB / 0.6306 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04888/0.439, allocations: 37.47 MB / 0.6672 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005078/0.4441, allocations: 2.35 MB / 0.6695 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.4457, allocations: 1.138 MB / 0.6706 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008291/0.454, allocations: 4.716 MB / 0.6752 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.454, allocations: 51.16 kB / 0.6752 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 3.908e-06/0.454, allocations: 0 / 0.6752 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.006899/0.4609, allocations: 3.341 MB / 0.6785 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.4611, allocations: 166.9 kB / 0.6787 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005648/0.4667, allocations: 3.834 MB / 0.6824 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.4669, allocations: 45.64 kB / 0.6824 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002543/0.4694, allocations: 3.321 MB / 0.6857 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007688/0.4702, allocations: 0.636 MB / 0.6863 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001651/0.4718, allocations: 1.314 MB / 0.6876 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.472, allocations: 301.1 kB / 0.6879 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/0.4747, allocations: 1.957 MB / 0.6898 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006213/0.4809, allocations: 6.112 MB / 0.6958 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/0.4913, allocations: 8.783 MB / 0.7043 GB, free: 11.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/0.4914, allocations: 44 kB / 0.7044 GB, free: 11.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01337/0.5048, allocations: 7.714 MB / 0.7119 GB, free: 4.203 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.5049, allocations: 76 kB / 0.712 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002145/0.5051, allocations: 148 kB / 0.7121 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.5053, allocations: 192 kB / 0.7123 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004291/0.5096, allocations: 1.459 MB / 0.7137 GB, free: 2.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002687/0.5099, allocations: 286.9 kB / 0.714 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/0.5143, allocations: 0.9345 MB / 0.7149 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008595/0.5152, allocations: 403.9 kB / 0.7153 GB, free: 0.7227 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.003739/0.5189, allocations: 2.204 MB / 0.7175 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005946/0.5195, allocations: 329.7 kB / 0.7178 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008943/0.5204, allocations: 403.1 kB / 0.7182 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-05/0.5204, allocations: 43.89 kB / 0.7182 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.5205, allocations: 0 / 0.7182 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5205, allocations: 3.984 kB / 0.7182 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008942/0.5294, allocations: 5.446 MB / 0.7235 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.5294, allocations: 8.656 kB / 0.7235 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008808/0.5303, allocations: 199.7 kB / 0.7237 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/0.5303, allocations: 23.92 kB / 0.7237 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.5304, allocations: 28.31 kB / 0.7238 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.396e-05/0.5304, allocations: 15.94 kB / 0.7238 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.5304, allocations: 8 kB / 0.7238 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.5334, allocations: 2.552 MB / 0.7263 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005832/0.534, allocations: 317.5 kB / 0.7266 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.5343, allocations: 35.91 kB / 0.7266 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000864/0.5351, allocations: 59.92 kB / 0.7267 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.5353, allocations: 88.19 kB / 0.7268 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.831e-05/0.5354, allocations: 43.98 kB / 0.7268 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003079/0.5385, allocations: 2.334 MB / 0.7291 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5385, allocations: 4 kB / 0.7291 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004092/0.5425, allocations: 1.072 MB / 0.7301 GB, free: 1.32 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.0003279/0.5429, allocations: 154.9 kB / 0.7303 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2359/0.7787, allocations: 4.247 MB / 0.7344 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.7787, allocations: 3.969 kB / 0.7344 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009307/0.7797, allocations: 0.8754 MB / 0.7353 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.7815, allocations: 345 kB / 0.7356 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.7917, allocations: 8.868 MB / 0.7443 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/0.794, allocations: 3.169 MB / 0.7474 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/0.7946, allocations: 275.2 kB / 0.7476 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.743e-06/0.7946, allocations: 0 / 0.7476 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.05516/0.8498, allocations: 53.03 MB / 0.7994 GB, free: 97.23 MB / 0.5606 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/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: 10.60238148807548]