Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.006886/0.006886, allocations: 111 kB / 21.98 MB, free: 5.184 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.001719/0.001719, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.451/1.451, allocations: 230.5 MB / 258.9 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2369/0.2369, allocations: 46.94 MB / 362.3 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 75.88 kB / 0.4982 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.394, allocations: 66.08 MB / 0.5627 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01526/0.4093, allocations: 12.01 MB / 0.5745 GB, free: 8.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.4202, allocations: 4.105 MB / 0.5785 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00254/0.4227, allocations: 87.69 kB / 0.5785 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.4265, allocations: 1.701 MB / 0.5802 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.431, allocations: 1.568 MB / 0.5817 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.4336, allocations: 1.204 MB / 0.5829 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005863/0.4395, allocations: 3.502 MB / 0.5863 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/0.4425, allocations: 1.988 MB / 0.5883 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.4446, allocations: 1.179 MB / 0.5894 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.4473, allocations: 1.729 MB / 0.5911 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007113/0.448, allocations: 236 kB / 0.5913 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.4497, allocations: 0.7372 MB / 0.5921 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.4515, allocations: 1.589 MB / 0.5936 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.4537, allocations: 1.863 MB / 0.5954 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008134/0.4618, allocations: 6.148 MB / 0.6014 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4618, allocations: 0 / 0.6014 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4618, allocations: 0 / 0.6014 GB, free: 12.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002256/0.462, allocations: 0 / 0.6014 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.008704/0.4707, allocations: 4.019 MB / 0.6054 GB, free: 8.332 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4708, allocations: 12.03 kB / 0.6054 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009536/0.4803, allocations: 2.993 MB / 0.6083 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004289/0.4846, allocations: 1.759 MB / 0.61 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.4848, allocations: 189.1 kB / 0.6102 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007237/0.4855, allocations: 251.8 kB / 0.6104 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/0.5028, allocations: 10.04 MB / 0.6202 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-05/0.5028, allocations: 31.75 kB / 0.6203 GB, free: 8.367 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003857/0.5032, allocations: 123.8 kB / 0.6204 GB, free: 8.246 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003744/0.507, allocations: 2.314 MB / 0.6226 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01781/0.5248, allocations: 8.936 MB / 0.6314 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05441/0.5792, allocations: 37.47 MB / 0.668 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005587/0.5848, allocations: 2.35 MB / 0.6703 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.5866, allocations: 1.132 MB / 0.6714 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009323/0.596, allocations: 4.72 MB / 0.676 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.596, allocations: 47.16 kB / 0.676 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 6.231e-06/0.596, allocations: 0 / 0.676 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.007518/0.6035, allocations: 3.344 MB / 0.6793 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.6037, allocations: 166.9 kB / 0.6794 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006542/0.6102, allocations: 3.841 MB / 0.6832 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002765/0.6105, allocations: 41.7 kB / 0.6832 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003486/0.614, allocations: 3.321 MB / 0.6865 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/0.6152, allocations: 0.6282 MB / 0.6871 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002187/0.6174, allocations: 1.314 MB / 0.6884 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.6176, allocations: 301.1 kB / 0.6887 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00345/0.6211, allocations: 1.953 MB / 0.6906 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007381/0.6284, allocations: 6.115 MB / 0.6965 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/0.6407, allocations: 8.783 MB / 0.7051 GB, free: 11.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/0.6408, allocations: 48 kB / 0.7052 GB, free: 11.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01709/0.6579, allocations: 7.723 MB / 0.7127 GB, free: 4.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.6581, allocations: 74.75 kB / 0.7128 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/0.6583, allocations: 148 kB / 0.7129 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.6585, allocations: 192 kB / 0.7131 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004989/0.6635, allocations: 1.458 MB / 0.7145 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002905/0.6638, allocations: 286.9 kB / 0.7148 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00512/0.6689, allocations: 0.9348 MB / 0.7157 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/0.6701, allocations: 412 kB / 0.7161 GB, free: 0.6992 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.00483/0.6749, allocations: 2.191 MB / 0.7182 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007163/0.6756, allocations: 325.7 kB / 0.7186 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008158/0.6764, allocations: 411 kB / 0.7189 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-05/0.6765, allocations: 39.98 kB / 0.719 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.6765, allocations: 0 / 0.719 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.6765, allocations: 7.984 kB / 0.719 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.6867, allocations: 5.443 MB / 0.7243 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.6867, allocations: 12.03 kB / 0.7243 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009763/0.6877, allocations: 207.6 kB / 0.7245 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/0.6877, allocations: 15.98 kB / 0.7245 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/0.6878, allocations: 27.94 kB / 0.7246 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.594e-05/0.6878, allocations: 15.94 kB / 0.7246 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6879, allocations: 4 kB / 0.7246 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.6914, allocations: 2.554 MB / 0.7271 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007823/0.6922, allocations: 309.5 kB / 0.7274 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/0.6925, allocations: 35.92 kB / 0.7274 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009419/0.6934, allocations: 63.91 kB / 0.7275 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.6936, allocations: 84.25 kB / 0.7275 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.6937, allocations: 47.98 kB / 0.7276 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004047/0.6977, allocations: 2.33 MB / 0.7299 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6977, allocations: 3.938 kB / 0.7299 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005154/0.7029, allocations: 1.072 MB / 0.7309 GB, free: 1.312 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.0004123/0.7033, allocations: 154.9 kB / 0.7311 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3011/1.004, allocations: 4.259 MB / 0.7352 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.004, allocations: 0 / 0.7352 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/1.005, allocations: 0.8706 MB / 0.7361 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.002022/1.008, allocations: 341.4 kB / 0.7364 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.02, allocations: 8.873 MB / 0.7451 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/1.022, allocations: 3.166 MB / 0.7482 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008101/1.023, allocations: 281.1 kB / 0.7484 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.283e-06/1.023, allocations: 0 / 0.7484 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.06815/1.091, allocations: 53.02 MB / 0.8002 GB, free: 97.22 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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: 12.155454440973699]