Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.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.001342/0.001342, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001496/0.001496, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2308/0.2308, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.FrameForces,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.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,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.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01445/0.3576, allocations: 11.08 MB / 0.5726 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009828/0.3674, allocations: 4.287 MB / 0.5768 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.3692, allocations: 103.5 kB / 0.5769 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00741/0.3766, allocations: 3.602 MB / 0.5804 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006333/0.3829, allocations: 2.265 MB / 0.5827 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.3855, allocations: 0.9943 MB / 0.5836 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01031/0.3958, allocations: 6.047 MB / 0.5895 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005543/0.4014, allocations: 3.509 MB / 0.593 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003656/0.405, allocations: 1.982 MB / 0.5949 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004898/0.4099, allocations: 2.823 MB / 0.5976 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001465/0.4114, allocations: 407.9 kB / 0.598 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003331/0.4147, allocations: 1.35 MB / 0.5994 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003004/0.4177, allocations: 2.493 MB / 0.6018 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003848/0.4216, allocations: 2.008 MB / 0.6038 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.4333, allocations: 8.673 MB / 0.6122 GB, free: 336 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4333, allocations: 4 kB / 0.6122 GB, free: 332 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4333, allocations: 0 / 0.6122 GB, free: 332 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002843/0.4336, allocations: 0 / 0.6122 GB, free: 332 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.0147/0.4483, allocations: 6.084 MB / 0.6182 GB, free: 10.17 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4483, allocations: 8.031 kB / 0.6182 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.4597, allocations: 2.571 MB / 0.6207 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.4698, allocations: 3.676 MB / 0.6243 GB, free: 3.855 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.4701, allocations: 275.5 kB / 0.6245 GB, free: 3.586 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001463/0.4716, allocations: 387.7 kB / 0.6249 GB, free: 3.207 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/0.4972, allocations: 11.64 MB / 0.6363 GB, free: 6.695 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000202/0.4974, allocations: 63.53 kB / 0.6363 GB, free: 6.633 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000588/0.498, allocations: 179.8 kB / 0.6365 GB, free: 6.457 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003847/0.5019, allocations: 2.15 MB / 0.6386 GB, free: 4.309 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02049/0.5224, allocations: 9.59 MB / 0.648 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05952/0.5819, allocations: 42.77 MB / 0.6897 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.5922, allocations: 3.333 MB / 0.693 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003023/0.5952, allocations: 2.001 MB / 0.695 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.6068, allocations: 5.643 MB / 0.7005 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.6069, allocations: 47.5 kB / 0.7005 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.51e-06/0.6069, allocations: 4 kB / 0.7005 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04568/0.6526, allocations: 16.51 MB / 0.7166 GB, free: 3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.6527, allocations: 204.8 kB / 0.7168 GB, free: 2.758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007736/0.6604, allocations: 4.806 MB / 0.7215 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000426/0.6609, allocations: 57.61 kB / 0.7216 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00342/0.6643, allocations: 3.867 MB / 0.7254 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.6654, allocations: 0.6941 MB / 0.726 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002069/0.6675, allocations: 1.428 MB / 0.7274 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6676, allocations: 301.1 kB / 0.7277 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/0.6711, allocations: 2.313 MB / 0.73 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2931/0.9642, allocations: 6.627 MB / 0.7364 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009824/0.9741, allocations: 9.575 MB / 0.7458 GB, free: 141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002313/0.9743, allocations: 41.94 kB / 0.7458 GB, free: 141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01494/0.9892, allocations: 9.543 MB / 0.7552 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.9893, allocations: 77.22 kB / 0.7552 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002001/0.9895, allocations: 152.4 kB / 0.7554 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/0.9925, allocations: 1.207 MB / 0.7566 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004736/0.9972, allocations: 1.578 MB / 0.7581 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007505/1.005, allocations: 8.005 MB / 0.7659 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005236/1.01, allocations: 369.8 kB / 0.7663 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.011, allocations: 427.5 kB / 0.7667 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 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (842): * Single equations (assignments): 835 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003745/1.015, allocations: 2.454 MB / 0.7691 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007825/1.016, allocations: 400.1 kB / 0.7695 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005169/1.021, allocations: 3.348 MB / 0.7727 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/1.021, allocations: 29.91 kB / 0.7727 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.021, allocations: 4 kB / 0.7728 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/1.021, allocations: 9.047 kB / 0.7728 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/1.037, allocations: 7 MB / 0.7796 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/1.037, allocations: 4 kB / 0.7796 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/1.038, allocations: 295.8 kB / 0.7799 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002509/1.041, allocations: 0.9862 MB / 0.7808 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/1.041, allocations: 35.98 kB / 0.7809 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00686/1.048, allocations: 7.361 MB / 0.7881 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.048, allocations: 3.938 kB / 0.7881 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007335/1.055, allocations: 5.807 MB / 0.7937 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/1.056, allocations: 368 kB / 0.7941 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009742/1.057, allocations: 32 kB / 0.7941 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/1.059, allocations: 91.88 kB / 0.7942 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/1.059, allocations: 104.7 kB / 0.7943 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.059, allocations: 47.98 kB / 0.7944 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003441/1.063, allocations: 2.806 MB / 0.7971 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.063, allocations: 0 / 0.7971 GB, free: 97.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005404/1.068, allocations: 1.141 MB / 0.7982 GB, free: 96.78 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003735/1.069, allocations: 161.4 kB / 0.7984 GB, free: 96.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006885/1.076, allocations: 5.372 MB / 0.8036 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.076, allocations: 0 / 0.8036 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/1.077, allocations: 1.521 MB / 0.8051 GB, free: 89.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/1.08, allocations: 0.5059 MB / 0.8056 GB, free: 89.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.1, allocations: 10.9 MB / 0.8162 GB, free: 78.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004525/1.105, allocations: 3.25 MB / 0.8194 GB, free: 74.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004383/1.109, allocations: 2.03 MB / 0.8214 GB, free: 72.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006859/1.11, allocations: 259.4 kB / 0.8216 GB, free: 72.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.763e-06/1.11, allocations: 4 kB / 0.8216 GB, free: 72.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.06826/1.178, allocations: 43.68 MB / 0.8643 GB, free: 29.57 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.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.120186479005497]