Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2331/0.2331, allocations: 46.89 MB / 361.1 MB, free: 4.641 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 75.88 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3336, allocations: 66 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01201/0.3456, allocations: 9.598 MB / 0.5706 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006186/0.3518, allocations: 2.946 MB / 0.5734 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009065/0.3527, allocations: 47.94 kB / 0.5735 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003911/0.3566, allocations: 2.036 MB / 0.5755 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.3594, allocations: 1.129 MB / 0.5766 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.3602, allocations: 287.4 kB / 0.5769 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003489/0.3637, allocations: 2.326 MB / 0.5791 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.3657, allocations: 1.621 MB / 0.5807 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.3669, allocations: 0.876 MB / 0.5816 GB, free: 48 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.3686, allocations: 1.254 MB / 0.5828 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.3689, allocations: 200 kB / 0.583 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.3702, allocations: 0.7177 MB / 0.5837 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.3715, allocations: 1.145 MB / 0.5848 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.3732, allocations: 1.305 MB / 0.5861 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006038/0.3793, allocations: 4.326 MB / 0.5903 GB, free: 7.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3793, allocations: 0 / 0.5903 GB, free: 7.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3793, allocations: 4 kB / 0.5903 GB, free: 7.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001257/0.3794, allocations: 0 / 0.5903 GB, free: 7.066 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005827/0.3852, allocations: 2.945 MB / 0.5932 GB, free: 4.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.3853, allocations: 12.03 kB / 0.5932 GB, free: 4.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/0.3909, allocations: 1.582 MB / 0.5947 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/0.394, allocations: 1.34 MB / 0.596 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.3942, allocations: 144 kB / 0.5962 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/0.3945, allocations: 187.8 kB / 0.5964 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009752/0.4043, allocations: 6.246 MB / 0.6025 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.4043, allocations: 11.88 kB / 0.6025 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/0.4045, allocations: 87.91 kB / 0.6026 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002413/0.407, allocations: 1.344 MB / 0.6039 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.4202, allocations: 5.334 MB / 0.6091 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04212/0.4623, allocations: 20.08 MB / 0.6287 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006905/0.4692, allocations: 1.94 MB / 0.6306 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.4708, allocations: 0.6465 MB / 0.6312 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009431/0.4802, allocations: 3.609 MB / 0.6347 GB, free: 8.305 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.4802, allocations: 39 kB / 0.6348 GB, free: 8.258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.985e-06/0.4802, allocations: 0 / 0.6348 GB, free: 8.258 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005712/0.4859, allocations: 1.998 MB / 0.6367 GB, free: 6.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.486, allocations: 59.78 kB / 0.6368 GB, free: 6.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.4887, allocations: 1.946 MB / 0.6387 GB, free: 4.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.4888, allocations: 37.7 kB / 0.6387 GB, free: 4.188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/0.4902, allocations: 1.899 MB / 0.6406 GB, free: 2.266 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.4905, allocations: 333.5 kB / 0.6409 GB, free: 1.938 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007766/0.4913, allocations: 0.6195 MB / 0.6415 GB, free: 1.309 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.4915, allocations: 353.9 kB / 0.6418 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.4928, allocations: 0.8881 MB / 0.6427 GB, free: 68 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/0.4957, allocations: 2.748 MB / 0.6454 GB, free: 12.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004854/0.5006, allocations: 3.974 MB / 0.6493 GB, free: 7.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.401e-05/0.5006, allocations: 23.94 kB / 0.6493 GB, free: 7.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005903/0.5065, allocations: 3.534 MB / 0.6527 GB, free: 3.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.5066, allocations: 32 kB / 0.6528 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.207e-05/0.5066, allocations: 76.11 kB / 0.6528 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.5067, allocations: 88 kB / 0.6529 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.5086, allocations: 0.6549 MB / 0.6536 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001947/0.5088, allocations: 127.5 kB / 0.6537 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.5106, allocations: 428.8 kB / 0.6541 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.5109, allocations: 188 kB / 0.6543 GB, free: 2.352 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * 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.002021/0.5129, allocations: 1.346 MB / 0.6556 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.5132, allocations: 162.9 kB / 0.6557 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.5135, allocations: 196.9 kB / 0.6559 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.5135, allocations: 11.94 kB / 0.6559 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5135, allocations: 0 / 0.6559 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5136, allocations: 4 kB / 0.6559 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007364/0.5209, allocations: 4.025 MB / 0.6599 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.5209, allocations: 8 kB / 0.6599 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.5213, allocations: 103.8 kB / 0.66 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/0.5214, allocations: 8 kB / 0.66 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.5214, allocations: 16 kB / 0.66 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.5214, allocations: 11.94 kB / 0.66 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.5214, allocations: 12.44 kB / 0.66 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.5233, allocations: 1.275 MB / 0.6613 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/0.5237, allocations: 255.8 kB / 0.6615 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.5239, allocations: 23.94 kB / 0.6615 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.5244, allocations: 27.94 kB / 0.6616 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.5245, allocations: 63.73 kB / 0.6616 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.5246, allocations: 28 kB / 0.6617 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0019/0.5265, allocations: 1.275 MB / 0.6629 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5265, allocations: 0 / 0.6629 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002575/0.529, allocations: 0.6852 MB / 0.6636 GB, free: 8.543 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * 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.0003346/0.5294, allocations: 150.9 kB / 0.6637 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003327/0.5327, allocations: 1.956 MB / 0.6656 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.5327, allocations: 11.94 kB / 0.6656 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005818/0.5333, allocations: 430.2 kB / 0.666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.5345, allocations: 244 kB / 0.6663 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00866/0.5432, allocations: 5.129 MB / 0.6713 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002531/0.5457, allocations: 2.267 MB / 0.6735 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002126/0.5479, allocations: 0.9597 MB / 0.6744 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.5481, allocations: 123.4 kB / 0.6746 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.5481, allocations: 0 / 0.6746 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of Templates: time 0.03272/0.5809, allocations: 15.85 MB / 0.69 GB, free: 13.33 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.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: 5.640040883794427]