Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001453/0.001453, allocations: 73.72 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.001735/0.001735, allocations: 158.9 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.44/1.44, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2025/0.2025, allocations: 32.81 MB / 294.1 MB, free: 4 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 63.91 kB / 440.6 MB, free: 9.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3497, allocations: 65.44 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.00924/0.3589, allocations: 11.1 MB / 0.505 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007248/0.3662, allocations: 4.298 MB / 0.5092 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.3679, allocations: 102.5 kB / 0.5093 GB, free: 21.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005552/0.3734, allocations: 3.614 MB / 0.5128 GB, free: 19.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005068/0.3785, allocations: 2.25 MB / 0.515 GB, free: 18.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.3806, allocations: 0.9958 MB / 0.516 GB, free: 18.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009525/0.3901, allocations: 6.061 MB / 0.5219 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004656/0.3947, allocations: 3.498 MB / 0.5253 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0036/0.3983, allocations: 1.99 MB / 0.5273 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005336/0.4037, allocations: 2.662 MB / 0.5299 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002282/0.406, allocations: 408.8 kB / 0.5303 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004594/0.4106, allocations: 1.336 MB / 0.5316 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004403/0.415, allocations: 2.488 MB / 0.534 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006129/0.4211, allocations: 2.017 MB / 0.536 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.4322, allocations: 8.699 MB / 0.5445 GB, free: 4.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4322, allocations: 5.5 kB / 0.5445 GB, free: 4.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4322, allocations: 0 / 0.5445 GB, free: 4.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002681/0.4325, allocations: 0 / 0.5445 GB, free: 4.371 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.01333/0.4458, allocations: 6.098 MB / 0.5504 GB, free: 15.15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4458, allocations: 8.031 kB / 0.5504 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/0.4581, allocations: 2.661 MB / 0.553 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009309/0.4674, allocations: 3.676 MB / 0.5566 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.4676, allocations: 279.5 kB / 0.5569 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000999/0.4686, allocations: 379.7 kB / 0.5572 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02379/0.4924, allocations: 11.68 MB / 0.5687 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001762/0.4926, allocations: 67.52 kB / 0.5687 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005026/0.4931, allocations: 183.8 kB / 0.5689 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004091/0.4972, allocations: 2.143 MB / 0.571 GB, free: 9.168 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02143/0.5186, allocations: 9.613 MB / 0.5804 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05872/0.5774, allocations: 43.05 MB / 0.6224 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.5887, allocations: 3.504 MB / 0.6258 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003394/0.5921, allocations: 1.99 MB / 0.6278 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.6031, allocations: 5.053 MB / 0.6327 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.6032, allocations: 51.98 kB / 0.6328 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.519e-06/0.6032, allocations: 3.938 kB / 0.6328 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.05023/0.6534, allocations: 17.93 MB / 0.6503 GB, free: 6.488 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.6535, allocations: 226.2 kB / 0.6505 GB, free: 6.219 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007717/0.6613, allocations: 4.807 MB / 0.6552 GB, free: 1.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003769/0.6616, allocations: 49.7 kB / 0.6552 GB, free: 1.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003749/0.6654, allocations: 3.899 MB / 0.659 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.6666, allocations: 0.6864 MB / 0.6597 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002287/0.6689, allocations: 1.417 MB / 0.6611 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.669, allocations: 305.1 kB / 0.6614 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003739/0.6728, allocations: 2.285 MB / 0.6636 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007686/0.6804, allocations: 6.597 MB / 0.6701 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/0.6932, allocations: 9.52 MB / 0.6794 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001623/0.6934, allocations: 44 kB / 0.6794 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02014/0.7135, allocations: 9.52 MB / 0.6887 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.7136, allocations: 74.81 kB / 0.6888 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/0.7138, allocations: 148 kB / 0.6889 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003322/0.7171, allocations: 1.231 MB / 0.6901 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00491/0.722, allocations: 1.56 MB / 0.6916 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2574/0.9794, allocations: 8.128 MB / 0.6996 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005696/0.9851, allocations: 367.4 kB / 0.6999 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00156/0.9867, allocations: 422.4 kB / 0.7003 GB, free: 159.1 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.005614/0.9923, allocations: 2.466 MB / 0.7027 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/0.9934, allocations: 403.2 kB / 0.7031 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005805/0.9992, allocations: 3.31 MB / 0.7063 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/0.9992, allocations: 18.81 kB / 0.7064 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.9993, allocations: 10.03 kB / 0.7064 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.9993, allocations: 10.31 kB / 0.7064 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/1.012, allocations: 7.037 MB / 0.7133 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.012, allocations: 6.094 kB / 0.7133 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/1.013, allocations: 259.6 kB / 0.7135 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002453/1.016, allocations: 1.009 MB / 0.7145 GB, free: 155.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.016, allocations: 25 kB / 0.7145 GB, free: 155.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008585/1.024, allocations: 7.479 MB / 0.7218 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.024, allocations: 7.156 kB / 0.7218 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008855/1.033, allocations: 5.775 MB / 0.7275 GB, free: 148.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.035, allocations: 370.2 kB / 0.7278 GB, free: 148.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004619/1.035, allocations: 33.33 kB / 0.7279 GB, free: 148.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/1.036, allocations: 98.11 kB / 0.7279 GB, free: 148.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/1.037, allocations: 101 kB / 0.728 GB, free: 148.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.037, allocations: 48.61 kB / 0.7281 GB, free: 148.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004644/1.042, allocations: 2.811 MB / 0.7308 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/1.042, allocations: 1.281 kB / 0.7308 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006595/1.048, allocations: 1.136 MB / 0.7319 GB, free: 147.6 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.0004612/1.049, allocations: 167 kB / 0.7321 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008672/1.057, allocations: 5.332 MB / 0.7373 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.057, allocations: 1.031 kB / 0.7373 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002389/1.06, allocations: 1.531 MB / 0.7388 GB, free: 145 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/1.063, allocations: 0.5067 MB / 0.7393 GB, free: 144.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/1.083, allocations: 10.89 MB / 0.7499 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00492/1.087, allocations: 3.256 MB / 0.7531 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003933/1.091, allocations: 2.02 MB / 0.7551 GB, free: 139 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/1.092, allocations: 258.8 kB / 0.7553 GB, free: 139 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/1.092, allocations: 0 / 0.7553 GB, free: 139 MB / 0.5919 GB Notification: Performance of Templates: time 0.06125/1.153, allocations: 34.68 MB / 0.7892 GB, free: 108.1 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.333077169023454]