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.001363/0.001363, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002325/0.002325, allocations: 209.8 kB / 23.73 MB, free: 4.523 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2383/0.2383, allocations: 46.94 MB / 360.9 MB, free: 4.137 MB / 286.1 MB " [Timeout remaining time 179] 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.002224/0.002224, allocations: 67.83 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3504, allocations: 66.03 MB / 0.5611 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01438/0.3647, allocations: 11.09 MB / 0.5719 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.3756, allocations: 4.303 MB / 0.5761 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.3782, allocations: 103.5 kB / 0.5762 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008301/0.3865, allocations: 3.606 MB / 0.5797 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006945/0.3934, allocations: 2.265 MB / 0.5819 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.396, allocations: 0.9982 MB / 0.5829 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00899/0.405, allocations: 6.054 MB / 0.5888 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005458/0.4104, allocations: 3.517 MB / 0.5923 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/0.4142, allocations: 1.986 MB / 0.5942 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004704/0.4189, allocations: 2.827 MB / 0.597 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.4202, allocations: 411.9 kB / 0.5974 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.4235, allocations: 1.353 MB / 0.5987 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003345/0.4268, allocations: 2.497 MB / 0.6011 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003992/0.4308, allocations: 2.015 MB / 0.6031 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.442, allocations: 8.693 MB / 0.6116 GB, free: 100 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.4421, allocations: 0 / 0.6116 GB, free: 100 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4421, allocations: 0 / 0.6116 GB, free: 100 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002582/0.4423, allocations: 0 / 0.6116 GB, free: 100 kB / 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.01587/0.4582, allocations: 6.092 MB / 0.6175 GB, free: 9.938 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4582, allocations: 8.031 kB / 0.6175 GB, free: 9.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.4699, allocations: 2.575 MB / 0.6201 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.481, allocations: 3.688 MB / 0.6237 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/0.4813, allocations: 279.5 kB / 0.6239 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.4823, allocations: 379.7 kB / 0.6243 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02178/0.5041, allocations: 11.66 MB / 0.6357 GB, free: 6.445 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002131/0.5043, allocations: 59.53 kB / 0.6357 GB, free: 6.387 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009677/0.5052, allocations: 179.8 kB / 0.6359 GB, free: 6.211 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003953/0.5092, allocations: 2.147 MB / 0.638 GB, free: 4.062 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/0.5312, allocations: 9.605 MB / 0.6474 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07034/0.6015, allocations: 42.9 MB / 0.6893 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.6126, allocations: 3.334 MB / 0.6925 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003538/0.6162, allocations: 1.998 MB / 0.6945 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01281/0.629, allocations: 4.987 MB / 0.6993 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.94e-05/0.6291, allocations: 59.91 kB / 0.6994 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 6.412e-06/0.6291, allocations: 0 / 0.6994 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.0553/0.6844, allocations: 17.39 MB / 0.7164 GB, free: 2.297 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.6845, allocations: 226.3 kB / 0.7166 GB, free: 2.027 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009294/0.6938, allocations: 4.811 MB / 0.7213 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004558/0.6943, allocations: 49.7 kB / 0.7213 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003716/0.698, allocations: 3.894 MB / 0.7251 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/0.6992, allocations: 0.6825 MB / 0.7258 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002168/0.7014, allocations: 1.417 MB / 0.7272 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7015, allocations: 305.1 kB / 0.7275 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003703/0.7052, allocations: 2.293 MB / 0.7297 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2994/1.005, allocations: 6.598 MB / 0.7362 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009716/1.014, allocations: 9.518 MB / 0.7455 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002567/1.015, allocations: 44.5 kB / 0.7455 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01823/1.033, allocations: 9.515 MB / 0.7548 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/1.033, allocations: 71.25 kB / 0.7549 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/1.033, allocations: 154.1 kB / 0.755 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/1.036, allocations: 1.227 MB / 0.7562 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/1.041, allocations: 1.559 MB / 0.7577 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007616/1.048, allocations: 8.132 MB / 0.7657 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004511/1.053, allocations: 374.4 kB / 0.766 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004795/1.053, allocations: 415.7 kB / 0.7664 GB, free: 128.1 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.002742/1.056, allocations: 2.464 MB / 0.7688 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000498/1.056, allocations: 402.3 kB / 0.7692 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004791/1.061, allocations: 3.309 MB / 0.7725 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/1.061, allocations: 19.94 kB / 0.7725 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.061, allocations: 8 kB / 0.7725 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/1.061, allocations: 7.984 kB / 0.7725 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/1.072, allocations: 7.027 MB / 0.7793 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.072, allocations: 4 kB / 0.7794 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.074, allocations: 251.6 kB / 0.7796 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/1.076, allocations: 1.002 MB / 0.7806 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.076, allocations: 31.94 kB / 0.7806 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00698/1.083, allocations: 7.48 MB / 0.7879 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.083, allocations: 7.938 kB / 0.7879 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006867/1.09, allocations: 5.79 MB / 0.7936 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009318/1.091, allocations: 366.4 kB / 0.7939 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004065/1.091, allocations: 31.98 kB / 0.7939 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.093, allocations: 87.89 kB / 0.794 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/1.093, allocations: 104.6 kB / 0.7941 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.093, allocations: 51.98 kB / 0.7942 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003094/1.096, allocations: 2.81 MB / 0.7969 GB, free: 97.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.096, allocations: 0 / 0.7969 GB, free: 97.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004872/1.101, allocations: 1.137 MB / 0.798 GB, free: 96.67 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.0003335/1.101, allocations: 160.9 kB / 0.7982 GB, free: 96.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006405/1.108, allocations: 5.333 MB / 0.8034 GB, free: 91.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.108, allocations: 0.5625 kB / 0.8034 GB, free: 91.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/1.109, allocations: 1.541 MB / 0.8049 GB, free: 89.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/1.112, allocations: 0.4973 MB / 0.8054 GB, free: 89.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.126, allocations: 10.89 MB / 0.816 GB, free: 78.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/1.128, allocations: 3.252 MB / 0.8192 GB, free: 74.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003569/1.132, allocations: 2.025 MB / 0.8212 GB, free: 72.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/1.133, allocations: 259.4 kB / 0.8214 GB, free: 72.61 MB / 0.5606 GB Notification: Performance of SimCode: time 1.133e-06/1.133, allocations: 0 / 0.8214 GB, free: 72.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.06448/1.197, allocations: 42.89 MB / 0.8633 GB, free: 30.31 MB / 0.5606 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/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.5027702818624675]