Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00135/0.00135, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001437/0.001437, allocations: 161.4 kB / 24.55 MB, free: 24 kB / 18.57 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 0.9876/0.9876, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.252/0.252, allocations: 34.27 MB / 295.7 MB, free: 0.7852 MB / 266.7 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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.104e-05, allocations: 2.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.008962/0.008993, allocations: 10.04 MB / 388.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006322/0.01531, allocations: 3.802 MB / 391.9 MB, free: 4.758 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.01634, allocations: 71.62 kB / 392 MB, free: 4.688 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.01876, allocations: 2.227 MB / 394.2 MB, free: 2.453 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.02175, allocations: 1.773 MB / 396 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.02291, allocations: 0.7638 MB / 396.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003905/0.02681, allocations: 4.409 MB / 401.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.02895, allocations: 2.499 MB / 403.6 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.03129, allocations: 1.976 MB / 405.6 MB, free: 6.957 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.03349, allocations: 2.03 MB / 407.6 MB, free: 4.922 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.03394, allocations: 268 kB / 407.9 MB, free: 4.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.03541, allocations: 1.131 MB / 409 MB, free: 3.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.03656, allocations: 1.784 MB / 410.8 MB, free: 1.738 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.03758, allocations: 1.079 MB / 411.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.04204, allocations: 4.239 MB / 416.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.04205, allocations: 0 / 416.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.04205, allocations: 0 / 416.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001195/0.04217, allocations: 0 / 416.1 MB, free: 12.4 MB / 394.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.005777/0.04795, allocations: 4.602 MB / 420.7 MB, free: 7.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.04799, allocations: 8.031 kB / 420.7 MB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008397/0.05639, allocations: 2.92 MB / 423.7 MB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/0.06009, allocations: 2.176 MB / 425.8 MB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.06023, allocations: 193.3 kB / 426 MB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004503/0.06068, allocations: 276.5 kB / 426.3 MB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00777/0.06845, allocations: 5.331 MB / 431.6 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.466e-05/0.06852, allocations: 43.64 kB / 431.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002369/0.06876, allocations: 123.9 kB / 431.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/0.07041, allocations: 1.735 MB / 433.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006406/0.07682, allocations: 2.818 MB / 436.3 MB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1922/0.269, allocations: 37.49 MB / 473.8 MB, free: 60.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/0.2733, allocations: 1.903 MB / 475.7 MB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/0.2741, allocations: 0.5913 MB / 476.3 MB, free: 60.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006006/0.2801, allocations: 4.643 MB / 481 MB, free: 58.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.2801, allocations: 55.86 kB / 481 MB, free: 58.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 3.707e-06/0.2801, allocations: 0 / 481 MB, free: 58.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.02855/0.3087, allocations: 13.92 MB / 494.9 MB, free: 54.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.3087, allocations: 201.3 kB / 495.1 MB, free: 54.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/0.3128, allocations: 3.304 MB / 498.4 MB, free: 53.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.313, allocations: 51.58 kB / 498.5 MB, free: 53.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.3144, allocations: 3.076 MB / 0.4898 GB, free: 50.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006209/0.315, allocations: 0.7663 MB / 0.4906 GB, free: 50.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.3163, allocations: 1.294 MB / 0.4918 GB, free: 49.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.3164, allocations: 478.4 kB / 0.4923 GB, free: 49.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.3178, allocations: 0.7397 MB / 0.493 GB, free: 49.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003278/0.3211, allocations: 6.061 MB / 0.4989 GB, free: 41.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005804/0.3269, allocations: 7.46 MB / 0.5062 GB, free: 34.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/0.327, allocations: 34.28 kB / 0.5062 GB, free: 34.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01027/0.3373, allocations: 6.209 MB / 0.5123 GB, free: 32.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/0.3374, allocations: 56.8 kB / 0.5124 GB, free: 32.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/0.3375, allocations: 127.4 kB / 0.5125 GB, free: 32.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003913/0.3414, allocations: 1.454 MB / 0.5139 GB, free: 31.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/0.3442, allocations: 1.329 MB / 0.5152 GB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006229/0.3505, allocations: 4.943 MB / 0.52 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/0.3541, allocations: 347.5 kB / 0.5204 GB, free: 27.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004492/0.3545, allocations: 363.8 kB / 0.5207 GB, free: 26.72 MB / 410.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.001229/0.3558, allocations: 0.6461 MB / 0.5213 GB, free: 26.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004325/0.3562, allocations: 366.7 kB / 0.5217 GB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.3602, allocations: 2.362 MB / 0.524 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.3602, allocations: 24 kB / 0.524 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.3602, allocations: 11.94 kB / 0.524 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.3602, allocations: 8.953 kB / 0.524 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008464/0.3687, allocations: 5.649 MB / 0.5296 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.3687, allocations: 0 / 0.5296 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/0.3694, allocations: 255.7 kB / 0.5298 GB, free: 19.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003027/0.3724, allocations: 1.234 MB / 0.531 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.3725, allocations: 35.28 kB / 0.531 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/0.3775, allocations: 4.458 MB / 0.5354 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3775, allocations: 32 / 0.5354 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005097/0.3826, allocations: 3.437 MB / 0.5387 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000771/0.3833, allocations: 301.7 kB / 0.539 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.3836, allocations: 26.89 kB / 0.5391 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/0.3843, allocations: 128.7 kB / 0.5392 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.3846, allocations: 121 kB / 0.5393 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.063e-05/0.3847, allocations: 44 kB / 0.5393 GB, free: 10.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001516/0.3862, allocations: 1.4 MB / 0.5407 GB, free: 8.828 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3862, allocations: 0 / 0.5407 GB, free: 8.828 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003865/0.39, allocations: 1.055 MB / 0.5417 GB, free: 7.773 MB / 410.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.0004048/0.3904, allocations: 177.8 kB / 0.5419 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00539/0.3958, allocations: 3.303 MB / 0.5451 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3958, allocations: 0 / 0.5451 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.3971, allocations: 0.9868 MB / 0.5461 GB, free: 3.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.399, allocations: 352.1 kB / 0.5464 GB, free: 2.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00978/0.4088, allocations: 6.781 MB / 0.5531 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.4099, allocations: 1.112 MB / 0.5541 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002472/0.4124, allocations: 1.546 MB / 0.5556 GB, free: 9.438 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/0.4129, allocations: 208.5 kB / 0.5558 GB, free: 9.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.124e-06/0.4129, allocations: 0 / 0.5558 GB, free: 9.23 MB / 426.7 MB Notification: Performance of Templates: time 0.04976/0.4626, allocations: 35.03 MB / 0.5901 GB, free: 6.734 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.600775146856904]