Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.002538/0.002538, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.003119/0.003119, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 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.615/1.615, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3661/0.3661, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.022e-05, allocations: 6.25 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01718/0.01721, allocations: 12.17 MB / 389.4 MB, free: 6.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009877/0.02709, allocations: 4.399 MB / 393.8 MB, free: 2.246 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.02859, allocations: 99.5 kB / 393.9 MB, free: 2.148 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00817/0.03676, allocations: 3.987 MB / 397.9 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00606/0.04282, allocations: 2.31 MB / 400.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.04533, allocations: 1.123 MB / 401.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.05563, allocations: 6.799 MB / 408.1 MB, free: 3.895 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006139/0.06177, allocations: 4.139 MB / 412.2 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004667/0.06644, allocations: 2.994 MB / 415.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004694/0.07113, allocations: 2.962 MB / 418.2 MB, free: 9.715 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008283/0.07196, allocations: 416 kB / 418.6 MB, free: 9.309 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.07474, allocations: 1.4 MB / 420 MB, free: 7.906 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002755/0.07749, allocations: 2.622 MB / 422.6 MB, free: 5.277 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002458/0.07995, allocations: 1.593 MB / 424.2 MB, free: 3.68 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.09219, allocations: 8.758 MB / 433 MB, free: 10.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.0922, allocations: 0 / 433 MB, free: 10.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0922, allocations: 0 / 433 MB, free: 10.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002838/0.09248, allocations: 8 kB / 433 MB, free: 10.89 MB / 410.7 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.01645/0.1089, allocations: 7.108 MB / 440.1 MB, free: 3.707 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.109, allocations: 8.031 kB / 440.1 MB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/0.1218, allocations: 3.102 MB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1627/0.2846, allocations: 3.346 MB / 446.6 MB, free: 95.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.2848, allocations: 275.1 kB / 446.8 MB, free: 95.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.2859, allocations: 370 kB / 447.2 MB, free: 95.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.2985, allocations: 7.766 MB / 455 MB, free: 91.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.2986, allocations: 63.17 kB / 455 MB, free: 91.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003871/0.299, allocations: 182.1 kB / 455.2 MB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002904/0.3019, allocations: 2.14 MB / 457.3 MB, free: 90.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/0.3134, allocations: 4.155 MB / 461.5 MB, free: 90.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05133/0.3647, allocations: 55.52 MB / 0.5049 GB, free: 45.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008496/0.3732, allocations: 2.206 MB / 0.507 GB, free: 45.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.3746, allocations: 0.7116 MB / 0.5077 GB, free: 45.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.3849, allocations: 4.518 MB / 0.5121 GB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.3849, allocations: 59.56 kB / 0.5122 GB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=154): time 5.129e-06/0.3849, allocations: 0 / 0.5122 GB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.0404/0.4253, allocations: 12.72 MB / 0.5246 GB, free: 31.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.029e-05/0.4254, allocations: 196.9 kB / 0.5248 GB, free: 31.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007104/0.4325, allocations: 5.47 MB / 0.5302 GB, free: 26.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004125/0.4329, allocations: 53.7 kB / 0.5302 GB, free: 25.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002316/0.4352, allocations: 4.294 MB / 0.5344 GB, free: 21.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009465/0.4362, allocations: 0.7644 MB / 0.5351 GB, free: 20.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001993/0.4382, allocations: 1.796 MB / 0.5369 GB, free: 19.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.514e-05/0.4383, allocations: 488.7 kB / 0.5374 GB, free: 18.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.4399, allocations: 0.8176 MB / 0.5382 GB, free: 17.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/0.4435, allocations: 7.417 MB / 0.5454 GB, free: 7.445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008662/0.4522, allocations: 9.002 MB / 0.5542 GB, free: 11.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001522/0.4523, allocations: 44 kB / 0.5542 GB, free: 11.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01729/0.4696, allocations: 6.691 MB / 0.5608 GB, free: 4.805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.4698, allocations: 72 kB / 0.5608 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002136/0.47, allocations: 148.9 kB / 0.561 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.4733, allocations: 0.8115 MB / 0.5618 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005295/0.4786, allocations: 1.579 MB / 0.5633 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009467/0.488, allocations: 6.059 MB / 0.5692 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00596/0.494, allocations: 427.4 kB / 0.5696 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/0.4951, allocations: 420 kB / 0.57 GB, free: 11.06 MB / 442.7 MB 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.002424/0.4975, allocations: 0.83 MB / 0.5709 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/0.4986, allocations: 445.3 kB / 0.5713 GB, free: 9.777 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005271/0.5039, allocations: 1.842 MB / 0.5731 GB, free: 7.918 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/0.5039, allocations: 19.98 kB / 0.5731 GB, free: 7.898 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.5039, allocations: 8 kB / 0.5731 GB, free: 7.891 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.5039, allocations: 3.984 kB / 0.5731 GB, free: 7.887 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/0.5225, allocations: 6.954 MB / 0.5799 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.5225, allocations: 4.281 kB / 0.5799 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.5241, allocations: 299.5 kB / 0.5802 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002919/0.527, allocations: 0.594 MB / 0.5808 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/0.5272, allocations: 28 kB / 0.5808 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008044/0.5353, allocations: 5.521 MB / 0.5862 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5353, allocations: 4 kB / 0.5862 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00743/0.5427, allocations: 3.06 MB / 0.5892 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/0.5446, allocations: 409.1 kB / 0.5896 GB, free: 6.602 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005113/0.5451, allocations: 31.94 kB / 0.5896 GB, free: 6.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/0.5468, allocations: 151.8 kB / 0.5897 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.5472, allocations: 108.7 kB / 0.5898 GB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.5473, allocations: 43.98 kB / 0.5899 GB, free: 6.273 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004646/0.5519, allocations: 2.26 MB / 0.5921 GB, free: 4.012 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5519, allocations: 0 / 0.5921 GB, free: 4.012 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006944/0.5589, allocations: 1.297 MB / 0.5934 GB, free: 2.715 MB / 458.7 MB 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.0005409/0.5594, allocations: 174.9 kB / 0.5935 GB, free: 2.535 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0085/0.5679, allocations: 3.904 MB / 0.5973 GB, free: 14.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5679, allocations: 0 / 0.5973 GB, free: 14.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.5698, allocations: 1.048 MB / 0.5984 GB, free: 13.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.573, allocations: 0.5186 MB / 0.5989 GB, free: 13.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/0.5913, allocations: 8.922 MB / 0.6076 GB, free: 3.973 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004417/0.5957, allocations: 2.962 MB / 0.6105 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.1877/0.7834, allocations: 1.748 MB / 0.6122 GB, free: 131.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/0.7845, allocations: 270 kB / 0.6124 GB, free: 131.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/0.7845, allocations: 0 / 0.6124 GB, free: 131.6 MB / 474.7 MB Notification: Performance of Templates: time 0.07958/0.8641, allocations: 37.69 MB / 0.6492 GB, free: 124 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.432574064005166]