Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.00137/0.00137, 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.001382/0.001382, allocations: 165.3 kB / 23.79 MB, free: 0.7812 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.925/0.925, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.159/0.159, allocations: 32.36 MB / 270.4 MB, free: 14.7 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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 3.938 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.244e-05, allocations: 4.281 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.007077/0.007109, allocations: 10.09 MB / 357.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006773/0.01388, allocations: 3.803 MB / 361.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.01536, allocations: 67.69 kB / 361.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002957/0.01832, allocations: 2.231 MB / 363.9 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004075/0.02239, allocations: 1.808 MB / 365.7 MB, free: 7.375 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.024, allocations: 0.7716 MB / 366.4 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004667/0.02866, allocations: 4.173 MB / 370.6 MB, free: 2.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003217/0.03188, allocations: 2.508 MB / 373.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.03473, allocations: 1.995 MB / 375.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.03754, allocations: 2.042 MB / 377.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007366/0.03828, allocations: 272 kB / 377.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.04004, allocations: 1.147 MB / 378.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001642/0.04169, allocations: 1.808 MB / 380.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.04322, allocations: 1.09 MB / 381.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005049/0.04827, allocations: 4.289 MB / 385.8 MB, free: 3.184 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.04827, allocations: 0 / 385.8 MB, free: 3.184 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.04828, allocations: 0 / 385.8 MB, free: 3.184 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001664/0.04844, allocations: 0 / 385.8 MB, free: 3.184 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.006679/0.05512, allocations: 4.637 MB / 390.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.05517, allocations: 8.031 kB / 390.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008579/0.06375, allocations: 2.92 MB / 393.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004228/0.06797, allocations: 2.2 MB / 395.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.06808, allocations: 197.2 kB / 395.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004556/0.06854, allocations: 276.5 kB / 396 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0075/0.07604, allocations: 5.296 MB / 401.3 MB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-05/0.07613, allocations: 43.59 kB / 401.3 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/0.07639, allocations: 127.9 kB / 401.5 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001751/0.07814, allocations: 1.731 MB / 403.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006754/0.08489, allocations: 2.821 MB / 406 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0334/0.1183, allocations: 37.52 MB / 443.5 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006171/0.1245, allocations: 1.895 MB / 445.4 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.1256, allocations: 0.5958 MB / 446 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1662/0.2918, allocations: 4.644 MB / 450.7 MB, free: 99.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.067e-05/0.2918, allocations: 57.7 kB / 450.7 MB, free: 99.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 7.073e-06/0.2919, allocations: 0 / 450.7 MB, free: 99.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=188): time 0.02873/0.3206, allocations: 13.99 MB / 464.7 MB, free: 96.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.3206, allocations: 200.7 kB / 464.9 MB, free: 96.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/0.3235, allocations: 3.332 MB / 468.2 MB, free: 95.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.3236, allocations: 56.95 kB / 468.3 MB, free: 95.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.3247, allocations: 3.08 MB / 471.4 MB, free: 93.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.3252, allocations: 0.7639 MB / 472.1 MB, free: 92.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.3262, allocations: 1.29 MB / 473.4 MB, free: 91.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.3263, allocations: 484.8 kB / 473.9 MB, free: 91.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009589/0.3273, allocations: 0.7401 MB / 474.6 MB, free: 90.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.3295, allocations: 6.064 MB / 480.7 MB, free: 82.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/0.3341, allocations: 7.473 MB / 488.2 MB, free: 72.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-05/0.3342, allocations: 36 kB / 488.2 MB, free: 72.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.009417/0.3436, allocations: 6.206 MB / 494.4 MB, free: 66.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.3436, allocations: 56.19 kB / 494.5 MB, free: 66.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.241e-05/0.3437, allocations: 132 kB / 494.6 MB, free: 66.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/0.3471, allocations: 1.451 MB / 496 MB, free: 64.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.3497, allocations: 1.322 MB / 497.4 MB, free: 63.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005499/0.3552, allocations: 4.952 MB / 0.4905 GB, free: 58.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/0.3583, allocations: 355.6 kB / 0.4909 GB, free: 58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005814/0.3589, allocations: 362.2 kB / 0.4912 GB, free: 57.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00131/0.3602, allocations: 0.6418 MB / 0.4919 GB, free: 57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005093/0.3607, allocations: 369.8 kB / 0.4922 GB, free: 56.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/0.3645, allocations: 2.368 MB / 0.4945 GB, free: 54.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.3646, allocations: 22.5 kB / 0.4945 GB, free: 54.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.3646, allocations: 11.94 kB / 0.4946 GB, free: 54.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.3646, allocations: 15.91 kB / 0.4946 GB, free: 54.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00856/0.3731, allocations: 5.654 MB / 0.5001 GB, free: 48.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.3731, allocations: 4.656 kB / 0.5001 GB, free: 48.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.3738, allocations: 251.6 kB / 0.5003 GB, free: 48.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/0.3769, allocations: 1.245 MB / 0.5016 GB, free: 47.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/0.3771, allocations: 32 kB / 0.5016 GB, free: 47.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006323/0.3834, allocations: 4.467 MB / 0.5059 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3834, allocations: 0 / 0.5059 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006397/0.3898, allocations: 3.442 MB / 0.5093 GB, free: 38.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/0.3912, allocations: 0.5289 MB / 0.5098 GB, free: 38.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003678/0.3916, allocations: 28 kB / 0.5098 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.3927, allocations: 127.8 kB / 0.51 GB, free: 38.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.393, allocations: 120.9 kB / 0.5101 GB, free: 38.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.3931, allocations: 48 kB / 0.5101 GB, free: 38.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001991/0.3951, allocations: 1.42 MB / 0.5115 GB, free: 36.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3951, allocations: 0 / 0.5115 GB, free: 36.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004231/0.3993, allocations: 1.082 MB / 0.5126 GB, free: 35.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004543/0.3998, allocations: 189.6 kB / 0.5128 GB, free: 35.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005392/0.4051, allocations: 3.292 MB / 0.516 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.4052, allocations: 4.062 kB / 0.516 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.4065, allocations: 0.9895 MB / 0.5169 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.4085, allocations: 350.8 kB / 0.5173 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009347/0.4179, allocations: 6.795 MB / 0.5239 GB, free: 23.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009749/0.4188, allocations: 1.12 MB / 0.525 GB, free: 22.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002905/0.4217, allocations: 1.553 MB / 0.5265 GB, free: 21.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005333/0.4223, allocations: 208.5 kB / 0.5267 GB, free: 21.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.004e-06/0.4223, allocations: 0 / 0.5267 GB, free: 21.04 MB / 378.7 MB Notification: Performance of Templates: time 0.0485/0.4708, allocations: 35.48 MB / 0.5614 GB, free: 1.695 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.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.455566550139338]