Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009992/0.0009992, allocations: 95.31 kB / 20.43 MB, free: 4.145 MB / 18.57 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.0009123/0.0009123, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9153/0.9153, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1422/0.1422, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 347.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.591e-05, allocations: 2.312 kB / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.00973/0.009756, allocations: 13.28 MB / 361 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008655/0.01841, allocations: 4.536 MB / 365.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.01951, allocations: 103.5 kB / 365.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004138/0.02365, allocations: 4.038 MB / 369.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.02718, allocations: 2.523 MB / 372.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.02867, allocations: 1.123 MB / 373.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005755/0.03443, allocations: 6.601 MB / 379.9 MB, free: 9.082 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003522/0.03795, allocations: 4.315 MB / 384.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.04158, allocations: 3.204 MB / 387.4 MB, free: 1.488 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.04436, allocations: 3.172 MB / 390.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004772/0.04484, allocations: 452 kB / 391 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.0466, allocations: 1.439 MB / 392.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.04824, allocations: 2.848 MB / 395.3 MB, free: 9.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.04954, allocations: 1.729 MB / 397.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005153/0.0547, allocations: 6.15 MB / 403.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.0547, allocations: 0 / 403.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.0547, allocations: 0 / 403.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.533e-05/0.05477, allocations: 4 kB / 403.2 MB, free: 1.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.007767/0.06254, allocations: 6.974 MB / 410.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.06258, allocations: 12.02 kB / 410.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007205/0.06979, allocations: 3.254 MB / 413.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005355/0.07514, allocations: 3.464 MB / 416.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.07535, allocations: 296 kB / 417.2 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006042/0.07595, allocations: 408 kB / 417.6 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.08872, allocations: 7.73 MB / 425.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.08885, allocations: 59.53 kB / 425.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004156/0.08926, allocations: 187.8 kB / 425.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003027/0.09229, allocations: 2.405 MB / 428 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.1035, allocations: 4.184 MB / 432.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2129/0.3165, allocations: 53.68 MB / 485.9 MB, free: 52.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005141/0.3216, allocations: 2.266 MB / 488.1 MB, free: 51.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.3226, allocations: 0.7694 MB / 488.9 MB, free: 51.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005418/0.3281, allocations: 4.811 MB / 493.7 MB, free: 50.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3281, allocations: 52.05 kB / 493.7 MB, free: 50.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=181): time 3.136e-06/0.3281, allocations: 0.625 kB / 493.7 MB, free: 50.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.02191/0.35, allocations: 13.34 MB / 0.4952 GB, free: 43.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.35, allocations: 204.4 kB / 0.4954 GB, free: 43.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/0.3538, allocations: 4.555 MB / 0.4998 GB, free: 39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/0.3539, allocations: 53.7 kB / 0.4999 GB, free: 38.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.3553, allocations: 4.302 MB / 0.5041 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/0.3558, allocations: 0.8149 MB / 0.5049 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/0.3569, allocations: 1.622 MB / 0.5065 GB, free: 32.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.429e-05/0.3569, allocations: 480.7 kB / 0.5069 GB, free: 32.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3581, allocations: 0.8456 MB / 0.5078 GB, free: 31.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.361, allocations: 7.458 MB / 0.515 GB, free: 20.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005261/0.3663, allocations: 9.06 MB / 0.5239 GB, free: 9.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.486e-05/0.3663, allocations: 44 kB / 0.5239 GB, free: 9.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.007671/0.374, allocations: 6.929 MB / 0.5307 GB, free: 2.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.3741, allocations: 72 kB / 0.5308 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.526e-05/0.3742, allocations: 156 kB / 0.5309 GB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.3757, allocations: 0.8095 MB / 0.5317 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/0.3784, allocations: 1.711 MB / 0.5334 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004751/0.3832, allocations: 5.815 MB / 0.5391 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/0.3862, allocations: 483.3 kB / 0.5395 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00045/0.3866, allocations: 444 kB / 0.5399 GB, free: 8.492 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (904): * Single equations (assignments): 897 * 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%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001467/0.3881, allocations: 0.762 MB / 0.5407 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005852/0.3887, allocations: 473.2 kB / 0.5411 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/0.3919, allocations: 2.008 MB / 0.5431 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.3919, allocations: 20 kB / 0.5431 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.3919, allocations: 15.92 kB / 0.5431 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.3919, allocations: 7.969 kB / 0.5431 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009333/0.4013, allocations: 6.369 MB / 0.5494 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4013, allocations: 0 / 0.5494 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/0.4022, allocations: 366.7 kB / 0.5497 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.4037, allocations: 0.5795 MB / 0.5503 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.4038, allocations: 43.11 kB / 0.5503 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004209/0.408, allocations: 5.319 MB / 0.5555 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.408, allocations: 4 kB / 0.5555 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004819/0.4128, allocations: 3.147 MB / 0.5586 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.4142, allocations: 0.6805 MB / 0.5593 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/0.4145, allocations: 39.52 kB / 0.5593 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.4156, allocations: 179.7 kB / 0.5595 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.4158, allocations: 125 kB / 0.5596 GB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.625e-05/0.4159, allocations: 56.92 kB / 0.5596 GB, free: 3.965 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002805/0.4187, allocations: 1.991 MB / 0.5616 GB, free: 1.977 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4187, allocations: 0 / 0.5616 GB, free: 1.977 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005246/0.4239, allocations: 1.41 MB / 0.563 GB, free: 0.5664 MB / 410.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 (154): * Single equations (assignments): 149 * 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.00044/0.4244, allocations: 193.4 kB / 0.5631 GB, free: 380 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005507/0.4299, allocations: 3.84 MB / 0.5669 GB, free: 12.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.4299, allocations: 4 kB / 0.5669 GB, free: 12.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.431, allocations: 1.063 MB / 0.5679 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.4329, allocations: 0.5346 MB / 0.5685 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.446, allocations: 9.636 MB / 0.5779 GB, free: 1.156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/0.4474, allocations: 1.605 MB / 0.5794 GB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003215/0.4506, allocations: 1.867 MB / 0.5813 GB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005961/0.4512, allocations: 288.4 kB / 0.5815 GB, free: 13.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.643e-06/0.4512, allocations: 0 / 0.5815 GB, free: 13.37 MB / 442.7 MB Notification: Performance of Templates: time 0.2043/0.6555, allocations: 40.75 MB / 0.6213 GB, free: 157.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6441891975700855]