Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.001884/0.001884, allocations: 74.19 kB / 21.24 MB, free: 0.5547 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.002301/0.002301, allocations: 158.3 kB / 24.5 MB, free: 3.715 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.508/1.508, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.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.213/0.213, allocations: 34.28 MB / 295.5 MB, free: 14.57 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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_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_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 71.86 kB / 443.2 MB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3344, allocations: 66.01 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.009662/0.3441, allocations: 11.1 MB / 0.5081 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00724/0.3513, allocations: 4.293 MB / 0.5123 GB, free: 19.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.3532, allocations: 100.4 kB / 0.5124 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006206/0.3594, allocations: 3.618 MB / 0.5159 GB, free: 18.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005729/0.3651, allocations: 2.254 MB / 0.5181 GB, free: 17.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.3673, allocations: 0.9921 MB / 0.5191 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009938/0.3773, allocations: 6.063 MB / 0.525 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004829/0.3821, allocations: 3.496 MB / 0.5284 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003445/0.3855, allocations: 1.989 MB / 0.5303 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004349/0.3899, allocations: 2.664 MB / 0.5329 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.391, allocations: 407.6 kB / 0.5333 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.394, allocations: 1.337 MB / 0.5346 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002206/0.3962, allocations: 2.488 MB / 0.5371 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002379/0.3986, allocations: 2.019 MB / 0.539 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.4098, allocations: 8.697 MB / 0.5475 GB, free: 2.074 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4099, allocations: 0 / 0.5475 GB, free: 2.074 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4099, allocations: 4 kB / 0.5475 GB, free: 2.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003042/0.4102, allocations: 0 / 0.5475 GB, free: 2.07 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.0147/0.4249, allocations: 6.092 MB / 0.5535 GB, free: 11.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4249, allocations: 8.031 kB / 0.5535 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.4372, allocations: 2.661 MB / 0.5561 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00943/0.4466, allocations: 3.684 MB / 0.5597 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.4469, allocations: 275.5 kB / 0.56 GB, free: 5.234 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/0.4481, allocations: 383.7 kB / 0.5603 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02316/0.4713, allocations: 11.68 MB / 0.5717 GB, free: 8.316 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.4715, allocations: 55.53 kB / 0.5718 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005103/0.472, allocations: 179.8 kB / 0.5719 GB, free: 8.086 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003917/0.4759, allocations: 2.147 MB / 0.574 GB, free: 5.938 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/0.4961, allocations: 9.613 MB / 0.5834 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05625/0.5523, allocations: 43.06 MB / 0.6255 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.5628, allocations: 3.497 MB / 0.6289 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/0.5659, allocations: 1.989 MB / 0.6308 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009833/0.5757, allocations: 5.053 MB / 0.6358 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.5758, allocations: 59.91 kB / 0.6358 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 3.927e-06/0.5758, allocations: 0 / 0.6358 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04847/0.6243, allocations: 17.93 MB / 0.6533 GB, free: 3.254 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.6244, allocations: 234.2 kB / 0.6536 GB, free: 2.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007089/0.6315, allocations: 4.807 MB / 0.6583 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003858/0.6319, allocations: 45.7 kB / 0.6583 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00336/0.6353, allocations: 3.895 MB / 0.6621 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009349/0.6362, allocations: 0.6864 MB / 0.6628 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002093/0.6383, allocations: 1.42 MB / 0.6642 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6384, allocations: 305.1 kB / 0.6645 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003635/0.6421, allocations: 2.289 MB / 0.6667 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00747/0.6495, allocations: 6.601 MB / 0.6731 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/0.6618, allocations: 9.512 MB / 0.6824 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/0.6619, allocations: 44 kB / 0.6825 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01777/0.6796, allocations: 9.518 MB / 0.6918 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.6797, allocations: 75.97 kB / 0.6918 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001843/0.6799, allocations: 152 kB / 0.692 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/0.6833, allocations: 1.234 MB / 0.6932 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005033/0.6883, allocations: 1.556 MB / 0.6947 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3057/0.9941, allocations: 8.123 MB / 0.7026 GB, free: 155.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005111/0.9992, allocations: 364.5 kB / 0.703 GB, free: 155.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1, allocations: 428.2 kB / 0.7034 GB, free: 155.3 MB / 0.5919 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.004603/1.005, allocations: 2.457 MB / 0.7058 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008081/1.006, allocations: 404.6 kB / 0.7062 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005453/1.011, allocations: 3.309 MB / 0.7094 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/1.011, allocations: 23.42 kB / 0.7094 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.011, allocations: 9.391 kB / 0.7094 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/1.011, allocations: 12.94 kB / 0.7095 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.023, allocations: 7.036 MB / 0.7163 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.023, allocations: 5.016 kB / 0.7163 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.024, allocations: 253.6 kB / 0.7166 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/1.027, allocations: 1.006 MB / 0.7176 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.027, allocations: 27.58 kB / 0.7176 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008393/1.036, allocations: 7.486 MB / 0.7249 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.036, allocations: 4.047 kB / 0.7249 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009001/1.045, allocations: 5.779 MB / 0.7305 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.046, allocations: 369.4 kB / 0.7309 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004356/1.046, allocations: 29.27 kB / 0.7309 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.048, allocations: 94.98 kB / 0.731 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/1.048, allocations: 109.8 kB / 0.7311 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.048, allocations: 47.78 kB / 0.7312 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004921/1.053, allocations: 2.816 MB / 0.7339 GB, free: 143.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/1.053, allocations: 0 / 0.7339 GB, free: 143.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006417/1.059, allocations: 1.133 MB / 0.735 GB, free: 143.1 MB / 0.5919 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.0003882/1.06, allocations: 163.7 kB / 0.7352 GB, free: 143 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007928/1.068, allocations: 5.333 MB / 0.7404 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.068, allocations: 3.312 kB / 0.7404 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.07, allocations: 1.531 MB / 0.7419 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.073, allocations: 0.4918 MB / 0.7424 GB, free: 140.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/1.088, allocations: 10.89 MB / 0.753 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003259/1.091, allocations: 3.261 MB / 0.7562 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00375/1.095, allocations: 2.025 MB / 0.7582 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/1.095, allocations: 255.7 kB / 0.7584 GB, free: 134 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/1.095, allocations: 0 / 0.7584 GB, free: 134 MB / 0.5919 GB Notification: Performance of Templates: time 0.05918/1.154, allocations: 34.69 MB / 0.7923 GB, free: 101.4 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.319875514949672]