Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2518/0.2518, allocations: 46.93 MB / 357.1 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 0.4914 GB, free: 7.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1389, allocations: 65.99 MB / 0.5558 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01463/0.1535, allocations: 11.97 MB / 0.5675 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008457/0.1619, allocations: 4.091 MB / 0.5715 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.1635, allocations: 87.69 kB / 0.5716 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003251/0.1668, allocations: 1.689 MB / 0.5733 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.1701, allocations: 1.557 MB / 0.5748 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.1724, allocations: 1.188 MB / 0.5759 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004616/0.177, allocations: 3.502 MB / 0.5794 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.1795, allocations: 2.067 MB / 0.5814 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.1811, allocations: 1.172 MB / 0.5825 GB, free: 9.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/0.1836, allocations: 1.736 MB / 0.5842 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004958/0.1841, allocations: 236 kB / 0.5844 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.1855, allocations: 0.7333 MB / 0.5852 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.1871, allocations: 1.593 MB / 0.5867 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.1889, allocations: 1.855 MB / 0.5885 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.356/0.545, allocations: 6.146 MB / 0.5945 GB, free: 12.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.545, allocations: 0.5625 kB / 0.5945 GB, free: 12.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.545, allocations: 2.219 kB / 0.5945 GB, free: 12.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002366/0.5452, allocations: 0 / 0.5945 GB, free: 12.48 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.009867/0.5551, allocations: 4.094 MB / 0.5985 GB, free: 10.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.5551, allocations: 9.734 kB / 0.5985 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.567, allocations: 2.994 MB / 0.6015 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005597/0.5726, allocations: 1.815 MB / 0.6032 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/0.5729, allocations: 195.8 kB / 0.6034 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00177/0.5746, allocations: 246.2 kB / 0.6037 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.5928, allocations: 10.05 MB / 0.6135 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.118e-05/0.5929, allocations: 32.47 kB / 0.6135 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005549/0.5935, allocations: 122.4 kB / 0.6136 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003812/0.5973, allocations: 2.313 MB / 0.6159 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01616/0.6134, allocations: 8.934 MB / 0.6246 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06112/0.6746, allocations: 37.59 MB / 0.6613 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006624/0.6812, allocations: 3.257 MB / 0.6645 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.6833, allocations: 1.135 MB / 0.6656 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.694, allocations: 5.181 MB / 0.6707 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/0.6941, allocations: 46.31 kB / 0.6707 GB, free: 6.547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 5.991e-06/0.6941, allocations: 0 / 0.6707 GB, free: 6.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.008172/0.7022, allocations: 3.345 MB / 0.674 GB, free: 3.215 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.7024, allocations: 174.8 kB / 0.6741 GB, free: 3.008 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00826/0.7107, allocations: 3.835 MB / 0.6779 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003675/0.711, allocations: 49.27 kB / 0.6779 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003424/0.7144, allocations: 3.314 MB / 0.6812 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/0.7155, allocations: 0.6328 MB / 0.6818 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003203/0.7187, allocations: 1.313 MB / 0.6831 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7189, allocations: 301.1 kB / 0.6834 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003652/0.7226, allocations: 1.957 MB / 0.6853 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007749/0.7303, allocations: 6.104 MB / 0.6912 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/0.7428, allocations: 8.795 MB / 0.6998 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001895/0.743, allocations: 45.97 kB / 0.6999 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01698/0.7599, allocations: 7.719 MB / 0.7074 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/0.7601, allocations: 71.94 kB / 0.7075 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002858/0.7604, allocations: 148 kB / 0.7076 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002678/0.7607, allocations: 196 kB / 0.7078 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005116/0.7658, allocations: 1.45 MB / 0.7092 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003067/0.7661, allocations: 290.8 kB / 0.7095 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/0.7718, allocations: 0.9431 MB / 0.7104 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/0.773, allocations: 396 kB / 0.7108 GB, free: 10.32 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.005157/0.7782, allocations: 2.195 MB / 0.7129 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009802/0.7792, allocations: 331.2 kB / 0.7132 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.7807, allocations: 411.1 kB / 0.7136 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.885e-05/0.7807, allocations: 35.94 kB / 0.7137 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.7808, allocations: 7.844 kB / 0.7137 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.7808, allocations: 7.969 kB / 0.7137 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/0.7966, allocations: 5.471 MB / 0.719 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.7966, allocations: 4 kB / 0.719 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.7978, allocations: 203.7 kB / 0.7192 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.309e-05/0.7978, allocations: 8 kB / 0.7192 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/0.798, allocations: 38.97 kB / 0.7193 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.789e-05/0.798, allocations: 8 kB / 0.7193 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.345e-05/0.798, allocations: 12.62 kB / 0.7193 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004123/0.8021, allocations: 2.546 MB / 0.7218 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.8032, allocations: 378.6 kB / 0.7221 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008092/0.804, allocations: 39.64 kB / 0.7222 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.8056, allocations: 65.56 kB / 0.7222 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.8058, allocations: 80.34 kB / 0.7223 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.8059, allocations: 44.31 kB / 0.7224 GB, free: 14.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005828/0.8118, allocations: 2.334 MB / 0.7246 GB, free: 11.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8118, allocations: 0 / 0.7246 GB, free: 11.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006974/0.8187, allocations: 1.074 MB / 0.7257 GB, free: 10.87 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.0006979/0.8194, allocations: 158.8 kB / 0.7258 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009662/0.8291, allocations: 4.259 MB / 0.73 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.8291, allocations: 0 / 0.73 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.8308, allocations: 0.8768 MB / 0.7309 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/0.8342, allocations: 357.2 kB / 0.7312 GB, free: 5.266 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02038/0.8546, allocations: 8.397 MB / 0.7394 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006464/0.8611, allocations: 3.158 MB / 0.7425 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006795/0.8679, allocations: 2.221 MB / 0.7446 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.8689, allocations: 223.4 kB / 0.7449 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of SimCode: time 1.933e-06/0.8689, allocations: 4 kB / 0.7449 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of Templates: time 0.06021/0.9291, allocations: 22.18 MB / 0.7665 GB, free: 1.113 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.092630375176668]