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.001642/0.001642, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.001717/0.001717, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.462/1.462, allocations: 230.3 MB / 255.2 MB, free: 15.2 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.239/0.239, allocations: 46.93 MB / 358.2 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 180] 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.002326/0.002326, allocations: 91.84 kB / 0.4925 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1627, allocations: 66 MB / 0.557 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01633/0.179, allocations: 11.97 MB / 0.5686 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00952/0.1886, allocations: 4.097 MB / 0.5727 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.1905, allocations: 87.69 kB / 0.5727 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.1941, allocations: 1.682 MB / 0.5744 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.1981, allocations: 1.557 MB / 0.5759 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.2005, allocations: 1.177 MB / 0.577 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005687/0.2062, allocations: 3.513 MB / 0.5805 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.2091, allocations: 2.071 MB / 0.5825 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.2108, allocations: 1.176 MB / 0.5836 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.2134, allocations: 1.732 MB / 0.5853 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005937/0.214, allocations: 236 kB / 0.5856 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.2154, allocations: 0.7333 MB / 0.5863 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001695/0.2171, allocations: 1.597 MB / 0.5878 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002204/0.2193, allocations: 1.863 MB / 0.5897 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3032/0.5225, allocations: 6.142 MB / 0.5957 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.5225, allocations: 0.5156 kB / 0.5957 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5225, allocations: 1.281 kB / 0.5957 GB, free: 12.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002243/0.5227, allocations: 0 / 0.5957 GB, free: 12.55 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.008811/0.5316, allocations: 4.089 MB / 0.5997 GB, free: 10.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5316, allocations: 9.688 kB / 0.5997 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.5423, allocations: 2.997 MB / 0.6026 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004563/0.5469, allocations: 1.82 MB / 0.6044 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.5471, allocations: 191.8 kB / 0.6045 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009831/0.5481, allocations: 245.3 kB / 0.6048 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01654/0.5646, allocations: 10.04 MB / 0.6146 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.521e-05/0.5647, allocations: 31.72 kB / 0.6146 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004169/0.5651, allocations: 125.2 kB / 0.6147 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00371/0.5688, allocations: 2.312 MB / 0.617 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.5843, allocations: 8.925 MB / 0.6257 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05597/0.6403, allocations: 37.6 MB / 0.6624 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006261/0.6465, allocations: 3.257 MB / 0.6656 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.6485, allocations: 1.128 MB / 0.6667 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.6599, allocations: 5.175 MB / 0.6718 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.647e-05/0.66, allocations: 54.03 kB / 0.6718 GB, free: 6.676 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 1.025e-05/0.66, allocations: 0 / 0.6718 GB, free: 6.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.009032/0.669, allocations: 3.348 MB / 0.6751 GB, free: 3.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.6692, allocations: 170.8 kB / 0.6752 GB, free: 3.133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008017/0.6772, allocations: 3.836 MB / 0.679 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003106/0.6775, allocations: 49.62 kB / 0.679 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003014/0.6805, allocations: 3.32 MB / 0.6823 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.6815, allocations: 0.6277 MB / 0.6829 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002211/0.6838, allocations: 1.309 MB / 0.6842 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6839, allocations: 301.1 kB / 0.6845 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/0.6871, allocations: 1.961 MB / 0.6864 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007059/0.6942, allocations: 6.104 MB / 0.6923 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/0.7061, allocations: 8.796 MB / 0.7009 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/0.7062, allocations: 43.19 kB / 0.701 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01642/0.7226, allocations: 7.723 MB / 0.7085 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.7227, allocations: 70.19 kB / 0.7086 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001805/0.7229, allocations: 152.8 kB / 0.7087 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/0.7231, allocations: 196 kB / 0.7089 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005012/0.7281, allocations: 1.454 MB / 0.7103 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003302/0.7285, allocations: 290.8 kB / 0.7106 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00652/0.735, allocations: 0.9315 MB / 0.7115 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/0.7365, allocations: 408.7 kB / 0.7119 GB, free: 10.44 MB / 0.5294 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.005239/0.7417, allocations: 2.187 MB / 0.714 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008493/0.7426, allocations: 323.7 kB / 0.7144 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.7441, allocations: 422.9 kB / 0.7148 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.587e-05/0.7442, allocations: 38.56 kB / 0.7148 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/0.7442, allocations: 4 kB / 0.7148 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.7443, allocations: 3.984 kB / 0.7148 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.7598, allocations: 5.461 MB / 0.7201 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.939e-05/0.7599, allocations: 4 kB / 0.7201 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.7611, allocations: 211.7 kB / 0.7203 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.375e-05/0.7611, allocations: 12 kB / 0.7204 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.7613, allocations: 30.12 kB / 0.7204 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.502e-05/0.7614, allocations: 8.625 kB / 0.7204 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.046e-05/0.7614, allocations: 19.92 kB / 0.7204 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/0.7659, allocations: 2.541 MB / 0.7229 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.767, allocations: 398.5 kB / 0.7233 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007669/0.7678, allocations: 23.75 kB / 0.7233 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.7693, allocations: 67.92 kB / 0.7234 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.7695, allocations: 76.34 kB / 0.7234 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.7696, allocations: 52.7 kB / 0.7235 GB, free: 14.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005386/0.775, allocations: 2.334 MB / 0.7258 GB, free: 12.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.81e-07/0.775, allocations: 0 / 0.7258 GB, free: 12.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006673/0.7817, allocations: 1.074 MB / 0.7268 GB, free: 10.98 MB / 0.545 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.0006282/0.7823, allocations: 149.3 kB / 0.727 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008591/0.7909, allocations: 4.263 MB / 0.7311 GB, free: 6.602 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.7909, allocations: 0 / 0.7311 GB, free: 6.602 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.7924, allocations: 0.8769 MB / 0.732 GB, free: 5.719 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/0.7958, allocations: 349.4 kB / 0.7323 GB, free: 5.391 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02276/0.8185, allocations: 8.876 MB / 0.741 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007465/0.826, allocations: 3.164 MB / 0.7441 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.8273, allocations: 279.4 kB / 0.7443 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of SimCode: time 1.723e-06/0.8273, allocations: 0 / 0.7443 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of Templates: time 0.09842/0.9257, allocations: 53.03 MB / 0.7961 GB, free: 4.062 MB / 0.6075 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.257579550001537]