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.001831/0.001831, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002334/0.002334, allocations: 214.8 kB / 24.48 MB, free: 3.957 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.567/1.567, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2532/0.2532, allocations: 46.96 MB / 361.6 MB, free: 4.023 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+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.001974/0.001974, allocations: 71.88 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4544, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01635/0.4708, allocations: 10.4 MB / 0.572 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.4824, allocations: 3.895 MB / 0.5758 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003395/0.4858, allocations: 87.69 kB / 0.5759 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004542/0.4903, allocations: 1.647 MB / 0.5775 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.4958, allocations: 1.561 MB / 0.579 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.499, allocations: 1.146 MB / 0.5801 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008075/0.5071, allocations: 3.498 MB / 0.5835 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003752/0.5108, allocations: 1.996 MB / 0.5855 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.5133, allocations: 1.172 MB / 0.5866 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003382/0.5167, allocations: 1.732 MB / 0.5883 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007598/0.5175, allocations: 236 kB / 0.5885 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.5192, allocations: 0.628 MB / 0.5891 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002182/0.5214, allocations: 1.589 MB / 0.5907 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002299/0.5237, allocations: 1.307 MB / 0.592 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009475/0.5332, allocations: 6.176 MB / 0.598 GB, free: 14.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.5332, allocations: 0 / 0.598 GB, free: 14.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5332, allocations: 0 / 0.598 GB, free: 14.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002601/0.5334, allocations: 0 / 0.598 GB, free: 14.92 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.01079/0.5442, allocations: 4.022 MB / 0.6019 GB, free: 10.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.5443, allocations: 12.03 kB / 0.6019 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.5545, allocations: 2.989 MB / 0.6049 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006049/0.5606, allocations: 1.775 MB / 0.6066 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.5608, allocations: 193.1 kB / 0.6068 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.5619, allocations: 247.8 kB / 0.607 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.5818, allocations: 10.04 MB / 0.6168 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.374e-05/0.5819, allocations: 31.69 kB / 0.6168 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004475/0.5823, allocations: 127.8 kB / 0.617 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004096/0.5864, allocations: 2.306 MB / 0.6192 GB, free: 8.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02018/0.6066, allocations: 8.914 MB / 0.6279 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06022/0.6668, allocations: 35.04 MB / 0.6621 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006067/0.6729, allocations: 2.35 MB / 0.6644 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.6748, allocations: 1.13 MB / 0.6655 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/0.6853, allocations: 4.461 MB / 0.6699 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.767e-05/0.6854, allocations: 51.16 kB / 0.67 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 5.851e-06/0.6854, allocations: 0 / 0.67 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.007908/0.6933, allocations: 3.316 MB / 0.6732 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.6934, allocations: 174.8 kB / 0.6734 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00642/0.6998, allocations: 3.748 MB / 0.677 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003412/0.7002, allocations: 41.7 kB / 0.6771 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003664/0.7039, allocations: 3.337 MB / 0.6803 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/0.7052, allocations: 0.6399 MB / 0.6809 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002047/0.7072, allocations: 1.31 MB / 0.6822 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002278/0.7075, allocations: 353.9 kB / 0.6826 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003161/0.7106, allocations: 1.957 MB / 0.6845 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007499/0.7181, allocations: 6.104 MB / 0.6904 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/0.7304, allocations: 8.793 MB / 0.699 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/0.7305, allocations: 44 kB / 0.6991 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01598/0.7465, allocations: 7.698 MB / 0.7066 GB, free: 9.465 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.7466, allocations: 68 kB / 0.7066 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002396/0.7469, allocations: 160.5 kB / 0.7068 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.7471, allocations: 192 kB / 0.707 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005127/0.7522, allocations: 1.454 MB / 0.7084 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002849/0.7525, allocations: 290.9 kB / 0.7087 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005437/0.7579, allocations: 0.8997 MB / 0.7096 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/0.759, allocations: 408.1 kB / 0.7099 GB, free: 6.008 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.004648/0.7637, allocations: 2.191 MB / 0.7121 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006726/0.7643, allocations: 297.9 kB / 0.7124 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007791/0.7651, allocations: 388.3 kB / 0.7127 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.919e-05/0.7652, allocations: 35.98 kB / 0.7128 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.7652, allocations: 7.984 kB / 0.7128 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.7652, allocations: 3.984 kB / 0.7128 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00937/0.7746, allocations: 4.331 MB / 0.717 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.7746, allocations: 8 kB / 0.717 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.7756, allocations: 200.3 kB / 0.7172 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/0.7756, allocations: 12 kB / 0.7172 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.833e-05/0.7757, allocations: 35.98 kB / 0.7173 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.555e-05/0.7757, allocations: 15.94 kB / 0.7173 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.7758, allocations: 7.938 kB / 0.7173 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003496/0.7793, allocations: 2.513 MB / 0.7197 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007141/0.78, allocations: 281.6 kB / 0.72 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/0.7803, allocations: 35.97 kB / 0.72 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009619/0.7812, allocations: 67.8 kB / 0.7201 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.7814, allocations: 84.25 kB / 0.7202 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.7815, allocations: 44 kB / 0.7202 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003414/0.7849, allocations: 2.095 MB / 0.7223 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7849, allocations: 0 / 0.7223 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005511/0.7904, allocations: 1.102 MB / 0.7233 GB, free: 8.062 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.0004307/0.7908, allocations: 150.9 kB / 0.7235 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007636/0.7985, allocations: 4.255 MB / 0.7276 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.7985, allocations: 4 kB / 0.7276 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.7998, allocations: 0.8752 MB / 0.7285 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.8018, allocations: 297.2 kB / 0.7288 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3851/1.187, allocations: 8.825 MB / 0.7374 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003192/1.19, allocations: 2.625 MB / 0.74 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009137/1.191, allocations: 266.6 kB / 0.7402 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.264e-06/1.191, allocations: 1.406 kB / 0.7402 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.07666/1.268, allocations: 52.82 MB / 0.7918 GB, free: 105 MB / 0.5606 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.69138554300298]