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.001396/0.001396, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001734/0.001734, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2296/0.2296, allocations: 46.93 MB / 361.6 MB, free: 4.27 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.002256/0.002256, allocations: 63.91 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3622, allocations: 66.03 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01458/0.3768, allocations: 12.02 MB / 0.5736 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008965/0.3857, allocations: 4.105 MB / 0.5776 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002281/0.388, allocations: 83.75 kB / 0.5777 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003515/0.3915, allocations: 1.705 MB / 0.5793 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.3958, allocations: 1.561 MB / 0.5809 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.3983, allocations: 1.204 MB / 0.582 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005467/0.4037, allocations: 3.51 MB / 0.5855 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003357/0.4071, allocations: 2 MB / 0.5874 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.4094, allocations: 1.168 MB / 0.5886 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003104/0.4125, allocations: 1.728 MB / 0.5903 GB, free: 7.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009236/0.4134, allocations: 240 kB / 0.5905 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.4155, allocations: 0.7372 MB / 0.5912 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002273/0.4178, allocations: 1.589 MB / 0.5928 GB, free: 4.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.4205, allocations: 1.863 MB / 0.5946 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008046/0.4286, allocations: 6.146 MB / 0.6006 GB, free: 12.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4286, allocations: 0 / 0.6006 GB, free: 12.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4286, allocations: 0 / 0.6006 GB, free: 12.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000175/0.4288, allocations: 0 / 0.6006 GB, free: 12.56 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.007933/0.4367, allocations: 4.023 MB / 0.6045 GB, free: 8.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4367, allocations: 11.97 kB / 0.6045 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009546/0.4463, allocations: 2.993 MB / 0.6074 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/0.4506, allocations: 1.755 MB / 0.6092 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.4508, allocations: 193.1 kB / 0.6093 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007884/0.4516, allocations: 251.8 kB / 0.6096 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01675/0.4684, allocations: 10.03 MB / 0.6194 GB, free: 8.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.232e-05/0.4685, allocations: 31.69 kB / 0.6194 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004046/0.4689, allocations: 131.8 kB / 0.6195 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003861/0.4727, allocations: 2.306 MB / 0.6218 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/0.4896, allocations: 8.929 MB / 0.6305 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0501/0.5397, allocations: 37.48 MB / 0.6671 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005207/0.5449, allocations: 2.355 MB / 0.6694 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.5466, allocations: 1.128 MB / 0.6705 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009106/0.5558, allocations: 4.724 MB / 0.6751 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.5558, allocations: 51.09 kB / 0.6752 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 5.471e-06/0.5558, allocations: 0 / 0.6752 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=150): time 0.00704/0.5628, allocations: 3.333 MB / 0.6784 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.563, allocations: 178.8 kB / 0.6786 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00575/0.5687, allocations: 3.834 MB / 0.6823 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.5689, allocations: 45.69 kB / 0.6824 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002709/0.5716, allocations: 3.317 MB / 0.6856 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008773/0.5725, allocations: 0.636 MB / 0.6862 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/0.5743, allocations: 1.31 MB / 0.6875 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5744, allocations: 305.1 kB / 0.6878 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/0.5773, allocations: 1.953 MB / 0.6897 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006591/0.5839, allocations: 6.108 MB / 0.6957 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/0.5944, allocations: 8.788 MB / 0.7043 GB, free: 12.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.653e-05/0.5945, allocations: 44 kB / 0.7043 GB, free: 12.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01299/0.6075, allocations: 7.724 MB / 0.7119 GB, free: 4.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.332e-05/0.6076, allocations: 71.94 kB / 0.7119 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/0.6077, allocations: 148 kB / 0.7121 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.6079, allocations: 196 kB / 0.7122 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004185/0.6121, allocations: 1.458 MB / 0.7137 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002481/0.6124, allocations: 286.9 kB / 0.7139 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/0.6169, allocations: 0.9345 MB / 0.7149 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007768/0.6177, allocations: 400.2 kB / 0.7152 GB, free: 0.8633 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.003676/0.6213, allocations: 2.195 MB / 0.7174 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/0.6219, allocations: 329.7 kB / 0.7177 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007697/0.6226, allocations: 411.1 kB / 0.7181 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-05/0.6227, allocations: 31.91 kB / 0.7181 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.6227, allocations: 4 kB / 0.7181 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6227, allocations: 7.969 kB / 0.7181 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008806/0.6315, allocations: 5.446 MB / 0.7234 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.6315, allocations: 8.125 kB / 0.7235 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/0.6324, allocations: 207.7 kB / 0.7237 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/0.6325, allocations: 11.94 kB / 0.7237 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.6325, allocations: 28 kB / 0.7237 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/0.6326, allocations: 15.92 kB / 0.7237 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.6326, allocations: 11.94 kB / 0.7237 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003206/0.6358, allocations: 2.552 MB / 0.7262 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006994/0.6365, allocations: 317.5 kB / 0.7265 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.6368, allocations: 23.94 kB / 0.7265 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009064/0.6377, allocations: 67.91 kB / 0.7266 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.6378, allocations: 84.25 kB / 0.7267 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.311e-05/0.6379, allocations: 40 kB / 0.7267 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003407/0.6413, allocations: 2.334 MB / 0.729 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6413, allocations: 0 / 0.729 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004601/0.6459, allocations: 1.079 MB / 0.7301 GB, free: 1.473 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.0003316/0.6462, allocations: 150.9 kB / 0.7302 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2868/0.9331, allocations: 4.256 MB / 0.7344 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.9331, allocations: 1.312 kB / 0.7344 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.9342, allocations: 0.8783 MB / 0.7352 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.9362, allocations: 352.1 kB / 0.7355 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.9497, allocations: 8.864 MB / 0.7442 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/0.9523, allocations: 3.165 MB / 0.7473 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008101/0.9531, allocations: 275.1 kB / 0.7476 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.113e-06/0.9531, allocations: 2.969 kB / 0.7476 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.06634/1.019, allocations: 53.02 MB / 0.7993 GB, free: 97.48 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: 11.913308728020638]