Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001314/0.001314, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001489/0.001489, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2507/0.2507, allocations: 44.92 MB / 359.6 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 71.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3546, allocations: 65.47 MB / 0.5582 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01541/0.37, allocations: 12 MB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009259/0.3793, allocations: 4.113 MB / 0.574 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.3816, allocations: 87.69 kB / 0.5741 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003836/0.3854, allocations: 1.701 MB / 0.5757 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.3896, allocations: 1.565 MB / 0.5773 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.3922, allocations: 1.2 MB / 0.5784 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005869/0.3981, allocations: 3.502 MB / 0.5819 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.4008, allocations: 1.992 MB / 0.5838 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.4025, allocations: 1.179 MB / 0.5849 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.4049, allocations: 1.728 MB / 0.5866 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.4053, allocations: 236 kB / 0.5869 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.4067, allocations: 0.7411 MB / 0.5876 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001661/0.4084, allocations: 1.593 MB / 0.5891 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.4105, allocations: 1.863 MB / 0.591 GB, free: 6.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007721/0.4183, allocations: 6.144 MB / 0.597 GB, free: 15.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.4183, allocations: 3.984 kB / 0.597 GB, free: 15.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4183, allocations: 0 / 0.597 GB, free: 15.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000166/0.4184, allocations: 0 / 0.597 GB, free: 15.86 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.007354/0.4258, allocations: 4.015 MB / 0.6009 GB, free: 11.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4258, allocations: 12.03 kB / 0.6009 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.436, allocations: 2.993 MB / 0.6038 GB, free: 8.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004817/0.4409, allocations: 1.759 MB / 0.6055 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.441, allocations: 197.1 kB / 0.6057 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000753/0.4418, allocations: 247.8 kB / 0.606 GB, free: 6.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.4575, allocations: 10.04 MB / 0.6158 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-05/0.4576, allocations: 27.75 kB / 0.6158 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003835/0.4579, allocations: 123.8 kB / 0.6159 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003774/0.4617, allocations: 2.317 MB / 0.6182 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/0.4789, allocations: 8.929 MB / 0.6269 GB, free: 456 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05166/0.5306, allocations: 37.47 MB / 0.6635 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005596/0.5362, allocations: 2.35 MB / 0.6658 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.538, allocations: 1.128 MB / 0.6669 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009314/0.5474, allocations: 4.72 MB / 0.6715 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/0.5474, allocations: 59.08 kB / 0.6715 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.29e-06/0.5474, allocations: 0 / 0.6715 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007966/0.5554, allocations: 3.339 MB / 0.6748 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.5555, allocations: 166.9 kB / 0.675 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006277/0.5618, allocations: 3.838 MB / 0.6787 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001814/0.562, allocations: 45.64 kB / 0.6788 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002996/0.565, allocations: 3.321 MB / 0.682 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008665/0.5658, allocations: 0.636 MB / 0.6826 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/0.5677, allocations: 1.31 MB / 0.6839 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.5678, allocations: 301.1 kB / 0.6842 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/0.5709, allocations: 1.953 MB / 0.6861 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007089/0.5779, allocations: 6.112 MB / 0.6921 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/0.5901, allocations: 8.777 MB / 0.7006 GB, free: 15.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001452/0.5903, allocations: 44 kB / 0.7007 GB, free: 15.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01524/0.6055, allocations: 7.718 MB / 0.7082 GB, free: 7.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.6056, allocations: 76.16 kB / 0.7083 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/0.6058, allocations: 148 kB / 0.7084 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.606, allocations: 192 kB / 0.7086 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004497/0.6105, allocations: 1.462 MB / 0.71 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000259/0.6108, allocations: 286.9 kB / 0.7103 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004168/0.6149, allocations: 0.9306 MB / 0.7112 GB, free: 4.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005771/0.6155, allocations: 408 kB / 0.7116 GB, free: 4.172 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.00319/0.6187, allocations: 2.203 MB / 0.7138 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004983/0.6192, allocations: 325.7 kB / 0.7141 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007845/0.62, allocations: 407.1 kB / 0.7145 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.284e-05/0.62, allocations: 43.97 kB / 0.7145 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.62, allocations: 0 / 0.7145 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.6201, allocations: 7.984 kB / 0.7145 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009385/0.6294, allocations: 5.438 MB / 0.7198 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.6295, allocations: 8.312 kB / 0.7198 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009327/0.6304, allocations: 212.5 kB / 0.72 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.622e-05/0.6304, allocations: 15.94 kB / 0.72 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.182e-05/0.6305, allocations: 31.94 kB / 0.7201 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.638e-05/0.6305, allocations: 15.94 kB / 0.7201 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.6305, allocations: 4 kB / 0.7201 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/0.6337, allocations: 2.554 MB / 0.7226 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006517/0.6343, allocations: 313.4 kB / 0.7229 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/0.6346, allocations: 35.91 kB / 0.7229 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009284/0.6355, allocations: 59.92 kB / 0.723 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.6357, allocations: 88.25 kB / 0.7231 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.6358, allocations: 47.98 kB / 0.7231 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003509/0.6393, allocations: 2.33 MB / 0.7254 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6393, allocations: 0 / 0.7254 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004524/0.6439, allocations: 1.072 MB / 0.7264 GB, free: 4.773 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.0003559/0.6442, allocations: 162.8 kB / 0.7266 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007171/0.6514, allocations: 4.255 MB / 0.7307 GB, free: 392 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.6514, allocations: 4.125 kB / 0.7307 GB, free: 388 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2533/0.9047, allocations: 0.8685 MB / 0.7316 GB, free: 159 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.9068, allocations: 346.9 kB / 0.7319 GB, free: 159 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.9194, allocations: 8.866 MB / 0.7406 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/0.9219, allocations: 3.173 MB / 0.7437 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007827/0.9227, allocations: 272.3 kB / 0.7439 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.9227, allocations: 0 / 0.7439 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.06418/0.9869, allocations: 53.03 MB / 0.7957 GB, free: 103.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.24713747878559]