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.001616/0.001616, allocations: 122 kB / 18.46 MB, free: 4.578 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.001892/0.001892, allocations: 213.6 kB / 21.42 MB, free: 1.625 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.576/1.576, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2359/0.2359, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.002856/0.002856, allocations: 67.89 kB / 0.4921 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1692, allocations: 65.99 MB / 0.5565 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01587/0.1851, allocations: 11.97 MB / 0.5682 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.1951, allocations: 4.087 MB / 0.5722 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.1978, allocations: 87.69 kB / 0.5723 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003661/0.2014, allocations: 1.689 MB / 0.5739 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004601/0.206, allocations: 1.549 MB / 0.5754 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.2086, allocations: 1.188 MB / 0.5766 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00575/0.2143, allocations: 3.506 MB / 0.58 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.2175, allocations: 2.063 MB / 0.582 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.2196, allocations: 1.176 MB / 0.5832 GB, free: 9.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.2221, allocations: 1.729 MB / 0.5849 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006158/0.2227, allocations: 243.9 kB / 0.5851 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.2242, allocations: 0.7333 MB / 0.5858 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.2258, allocations: 1.593 MB / 0.5874 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.2277, allocations: 1.859 MB / 0.5892 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3903/0.6181, allocations: 6.15 MB / 0.5952 GB, free: 12.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-05/0.6181, allocations: 1.516 kB / 0.5952 GB, free: 12.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.568e-06/0.6181, allocations: 0 / 0.5952 GB, free: 12.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003788/0.6185, allocations: 0 / 0.5952 GB, free: 12.98 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.01045/0.6289, allocations: 4.091 MB / 0.5992 GB, free: 11.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.629, allocations: 9.094 kB / 0.5992 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.6412, allocations: 2.99 MB / 0.6021 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00643/0.6476, allocations: 1.82 MB / 0.6039 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/0.6479, allocations: 195.2 kB / 0.6041 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.6492, allocations: 244.6 kB / 0.6043 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/0.6691, allocations: 10.05 MB / 0.6141 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-05/0.6692, allocations: 28.38 kB / 0.6142 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004449/0.6696, allocations: 123.6 kB / 0.6143 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004055/0.6737, allocations: 2.315 MB / 0.6165 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/0.6918, allocations: 8.925 MB / 0.6253 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06414/0.7559, allocations: 37.6 MB / 0.662 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006883/0.7628, allocations: 3.25 MB / 0.6652 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002166/0.765, allocations: 1.136 MB / 0.6663 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01317/0.7781, allocations: 5.186 MB / 0.6713 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.7782, allocations: 50.88 kB / 0.6714 GB, free: 6.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 6.342e-06/0.7782, allocations: 0 / 0.6714 GB, free: 6.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.00849/0.7867, allocations: 3.342 MB / 0.6746 GB, free: 3.367 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.7868, allocations: 178.5 kB / 0.6748 GB, free: 3.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/0.7969, allocations: 3.833 MB / 0.6785 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000293/0.7972, allocations: 44.83 kB / 0.6786 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003547/0.8007, allocations: 3.317 MB / 0.6818 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001204/0.8019, allocations: 0.6275 MB / 0.6824 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004013/0.8059, allocations: 1.321 MB / 0.6837 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8061, allocations: 301.1 kB / 0.684 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003959/0.81, allocations: 1.957 MB / 0.6859 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008106/0.8181, allocations: 6.109 MB / 0.6919 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/0.8307, allocations: 8.788 MB / 0.7005 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001891/0.8309, allocations: 40 kB / 0.7005 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01832/0.8492, allocations: 7.718 MB / 0.7081 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.8494, allocations: 71.75 kB / 0.7081 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003106/0.8497, allocations: 151.8 kB / 0.7083 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.8499, allocations: 196.8 kB / 0.7085 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005526/0.8555, allocations: 1.455 MB / 0.7099 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003339/0.8558, allocations: 290.9 kB / 0.7102 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005936/0.8617, allocations: 0.9368 MB / 0.7111 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/0.863, allocations: 397.6 kB / 0.7114 GB, free: 10.48 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.005162/0.8682, allocations: 2.207 MB / 0.7136 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000885/0.8691, allocations: 325.7 kB / 0.7139 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.8705, allocations: 415.1 kB / 0.7143 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-05/0.8706, allocations: 31.98 kB / 0.7143 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/0.8706, allocations: 4 kB / 0.7143 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.8706, allocations: 3.984 kB / 0.7143 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.8841, allocations: 5.465 MB / 0.7197 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.8842, allocations: 4 kB / 0.7197 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.8852, allocations: 207.7 kB / 0.7199 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.308e-05/0.8852, allocations: 15.94 kB / 0.7199 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.8853, allocations: 28 kB / 0.7199 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/0.8854, allocations: 12.5 kB / 0.7199 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.8854, allocations: 8 kB / 0.7199 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003826/0.8892, allocations: 2.543 MB / 0.7224 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.8903, allocations: 392.2 kB / 0.7228 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007898/0.8911, allocations: 39.52 kB / 0.7228 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.8926, allocations: 63.92 kB / 0.7229 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.8928, allocations: 80.34 kB / 0.723 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.8929, allocations: 40 kB / 0.723 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003917/0.8968, allocations: 2.338 MB / 0.7253 GB, free: 12.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.8968, allocations: 0 / 0.7253 GB, free: 12.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005702/0.9025, allocations: 1.082 MB / 0.7264 GB, free: 11.01 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.00037/0.9029, allocations: 149 kB / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007664/0.9105, allocations: 4.259 MB / 0.7307 GB, free: 6.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.9106, allocations: 0 / 0.7307 GB, free: 6.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.9119, allocations: 0.8799 MB / 0.7315 GB, free: 5.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/0.9141, allocations: 354.4 kB / 0.7319 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/0.9323, allocations: 8.865 MB / 0.7405 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004323/0.9366, allocations: 3.174 MB / 0.7436 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.9378, allocations: 271.4 kB / 0.7439 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of SimCode: time 2.334e-06/0.9378, allocations: 0 / 0.7439 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of Templates: time 0.09962/1.037, allocations: 53.03 MB / 0.7957 GB, free: 4.098 MB / 0.6075 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/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_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.637831216998165]