Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.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.001474/0.001474, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.002155/0.002155, allocations: 211.5 kB / 25.13 MB, free: 3.605 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.446/1.446, allocations: 230.4 MB / 258.7 MB, free: 8.055 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.2247/0.2247, allocations: 46.92 MB / 362 MB, free: 4.336 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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques") [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.002374/0.002374, allocations: 75.88 kB / 0.4978 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3318, allocations: 66.08 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01519/0.347, allocations: 12.64 MB / 0.5747 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00958/0.3566, allocations: 4.535 MB / 0.5791 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.3585, allocations: 99.5 kB / 0.5792 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006923/0.3654, allocations: 3.765 MB / 0.5829 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005851/0.3713, allocations: 2.257 MB / 0.5851 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.3736, allocations: 0.9981 MB / 0.5861 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01055/0.3841, allocations: 6.058 MB / 0.592 GB, free: 5.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005311/0.3894, allocations: 3.525 MB / 0.5954 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005342/0.3948, allocations: 1.986 MB / 0.5974 GB, free: 240 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006808/0.4016, allocations: 2.827 MB / 0.6001 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.4032, allocations: 408 kB / 0.6005 GB, free: 13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.4066, allocations: 1.35 MB / 0.6018 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003219/0.4099, allocations: 2.497 MB / 0.6043 GB, free: 9.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004374/0.4142, allocations: 2.707 MB / 0.6069 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.4273, allocations: 8.693 MB / 0.6154 GB, free: 13.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4273, allocations: 0 / 0.6154 GB, free: 13.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4273, allocations: 0 / 0.6154 GB, free: 13.69 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002654/0.4276, allocations: 0 / 0.6154 GB, free: 13.69 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01675/0.4444, allocations: 6.096 MB / 0.6213 GB, free: 7.531 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.314e-05/0.4444, allocations: 12.03 kB / 0.6214 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/0.4563, allocations: 2.575 MB / 0.6239 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009784/0.4661, allocations: 3.668 MB / 0.6275 GB, free: 1.219 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.4664, allocations: 279.5 kB / 0.6277 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.4678, allocations: 379.7 kB / 0.6281 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/0.4904, allocations: 11.66 MB / 0.6395 GB, free: 4.047 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.4906, allocations: 55.53 kB / 0.6395 GB, free: 3.992 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005879/0.4912, allocations: 187.8 kB / 0.6397 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003797/0.495, allocations: 2.143 MB / 0.6418 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02206/0.5171, allocations: 9.625 MB / 0.6512 GB, free: 8.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06942/0.5865, allocations: 45.54 MB / 0.6957 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.5969, allocations: 3.345 MB / 0.6989 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003307/0.6002, allocations: 1.985 MB / 0.7009 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01135/0.6115, allocations: 5.633 MB / 0.7064 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/0.6116, allocations: 55.98 kB / 0.7064 GB, free: 14.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 4.949e-06/0.6116, allocations: 0 / 0.7064 GB, free: 14.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04948/0.6611, allocations: 17.47 MB / 0.7235 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.6612, allocations: 222.3 kB / 0.7237 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009634/0.6709, allocations: 5.624 MB / 0.7292 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004128/0.6713, allocations: 49.7 kB / 0.7292 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00355/0.6748, allocations: 3.857 MB / 0.733 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.6759, allocations: 0.6825 MB / 0.7337 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002029/0.6779, allocations: 1.42 MB / 0.7351 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.678, allocations: 317.3 kB / 0.7354 GB, free: 244 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2571/0.9352, allocations: 2.282 MB / 0.7376 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004411/0.9396, allocations: 6.598 MB / 0.744 GB, free: 150 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007144/0.9467, allocations: 9.518 MB / 0.7533 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.946e-05/0.9468, allocations: 42.53 kB / 0.7534 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01269/0.9595, allocations: 9.593 MB / 0.7627 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.035e-05/0.9596, allocations: 68 kB / 0.7628 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.9597, allocations: 152 kB / 0.763 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/0.9623, allocations: 1.235 MB / 0.7642 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/0.9662, allocations: 1.555 MB / 0.7657 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007625/0.9738, allocations: 8.259 MB / 0.7737 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004757/0.9785, allocations: 357.8 kB / 0.7741 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007888/0.9793, allocations: 427.9 kB / 0.7745 GB, free: 125.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (836): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003002/0.9823, allocations: 2.463 MB / 0.7769 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006643/0.983, allocations: 482.7 kB / 0.7774 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005075/0.9881, allocations: 3.378 MB / 0.7807 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/0.9881, allocations: 23.28 kB / 0.7807 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/0.9881, allocations: 4 kB / 0.7807 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.9881, allocations: 11.97 kB / 0.7807 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/1.001, allocations: 8.144 MB / 0.7887 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.001, allocations: 0 / 0.7887 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/1.002, allocations: 263.8 kB / 0.7889 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002363/1.005, allocations: 1 MB / 0.7899 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/1.005, allocations: 35.98 kB / 0.7899 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006883/1.012, allocations: 7.584 MB / 0.7973 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.012, allocations: 4 kB / 0.7973 GB, free: 102.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006789/1.019, allocations: 5.875 MB / 0.8031 GB, free: 96.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009893/1.02, allocations: 480.6 kB / 0.8035 GB, free: 96.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004445/1.02, allocations: 27.98 kB / 0.8035 GB, free: 96.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.021, allocations: 91.61 kB / 0.8036 GB, free: 95.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/1.022, allocations: 100.6 kB / 0.8037 GB, free: 95.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.022, allocations: 55.98 kB / 0.8038 GB, free: 95.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003909/1.026, allocations: 3.588 MB / 0.8073 GB, free: 92.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.026, allocations: 0 / 0.8073 GB, free: 92.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004449/1.03, allocations: 1.145 MB / 0.8084 GB, free: 91.09 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (120): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003042/1.03, allocations: 163.3 kB / 0.8086 GB, free: 90.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006041/1.036, allocations: 5.33 MB / 0.8138 GB, free: 85.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.036, allocations: 4 kB / 0.8138 GB, free: 85.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/1.038, allocations: 1.533 MB / 0.8153 GB, free: 84.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/1.041, allocations: 0.6066 MB / 0.8159 GB, free: 83.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.054, allocations: 11 MB / 0.8266 GB, free: 72.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/1.057, allocations: 3.772 MB / 0.8303 GB, free: 68.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003889/1.061, allocations: 2.108 MB / 0.8323 GB, free: 66.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007104/1.062, allocations: 287.4 kB / 0.8326 GB, free: 66.18 MB / 0.5606 GB Notification: Performance of SimCode: time 1.233e-06/1.062, allocations: 4 kB / 0.8326 GB, free: 66.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.07024/1.132, allocations: 45.55 MB / 0.8771 GB, free: 20.95 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.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: 7.3063196840230376]