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.001026/0.001026, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.0009873/0.0009873, allocations: 164.6 kB / 24.99 MB, free: 8.809 MB / 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.9755/0.9755, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2695/0.2695, allocations: 34.26 MB / 296 MB, free: 0.707 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.833e-06/1.833e-06, allocations: 0 / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.313e-05, allocations: 5.406 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.02905/0.02907, allocations: 10 MB / 388 MB, free: 8.898 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009382/0.03845, allocations: 3.798 MB / 391.8 MB, free: 5.086 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008183/0.03927, allocations: 75.62 kB / 391.9 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00236/0.04163, allocations: 2.211 MB / 394.1 MB, free: 2.793 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.04461, allocations: 1.777 MB / 395.9 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.04586, allocations: 0.7561 MB / 396.6 MB, free: 256 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004294/0.05015, allocations: 4.406 MB / 401.1 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002392/0.05254, allocations: 2.499 MB / 403.6 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.05448, allocations: 1.976 MB / 405.5 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.05626, allocations: 2.034 MB / 407.6 MB, free: 5.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.05652, allocations: 268 kB / 407.8 MB, free: 5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.05775, allocations: 1.131 MB / 409 MB, free: 3.867 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009999/0.05875, allocations: 1.784 MB / 410.7 MB, free: 2.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008366/0.05959, allocations: 1.079 MB / 411.8 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003371/0.06296, allocations: 4.231 MB / 416 MB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.06296, allocations: 0 / 416 MB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.06296, allocations: 0 / 416 MB, free: 12.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.346e-05/0.063, allocations: 7.938 kB / 416.1 MB, free: 12.74 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.004625/0.06762, allocations: 4.599 MB / 420.7 MB, free: 8.082 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.06766, allocations: 8.031 kB / 420.7 MB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008128/0.07579, allocations: 2.924 MB / 423.6 MB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.07836, allocations: 2.169 MB / 425.8 MB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.827e-05/0.07845, allocations: 197.2 kB / 425.9 MB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.0788, allocations: 276.5 kB / 426.2 MB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005443/0.08425, allocations: 5.327 MB / 431.5 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.797e-05/0.08431, allocations: 43.64 kB / 431.6 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/0.08453, allocations: 123.9 kB / 431.7 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001653/0.08619, allocations: 1.735 MB / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004797/0.09098, allocations: 2.829 MB / 436.3 MB, free: 7.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1747/0.2657, allocations: 37.49 MB / 473.8 MB, free: 67.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005826/0.2715, allocations: 1.893 MB / 475.7 MB, free: 66.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.2725, allocations: 0.5919 MB / 476.2 MB, free: 66.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007018/0.2795, allocations: 4.657 MB / 480.9 MB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.2796, allocations: 52.86 kB / 481 MB, free: 64.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 4.168e-06/0.2796, allocations: 0 / 481 MB, free: 64.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.03606/0.3156, allocations: 13.91 MB / 494.9 MB, free: 60.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.3157, allocations: 206.9 kB / 495.1 MB, free: 60.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.3185, allocations: 3.304 MB / 498.4 MB, free: 58.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.37e-05/0.3186, allocations: 56.23 kB / 498.4 MB, free: 58.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.3197, allocations: 3.072 MB / 0.4897 GB, free: 56.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/0.3202, allocations: 0.7691 MB / 0.4905 GB, free: 55.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.3213, allocations: 1.287 MB / 0.4918 GB, free: 55.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.3213, allocations: 478.2 kB / 0.4922 GB, free: 54.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.3224, allocations: 0.7399 MB / 0.4929 GB, free: 54.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/0.325, allocations: 6.066 MB / 0.4989 GB, free: 47.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004145/0.3292, allocations: 7.471 MB / 0.5062 GB, free: 39.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.345e-05/0.3292, allocations: 34.69 kB / 0.5062 GB, free: 39.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.008405/0.3376, allocations: 6.2 MB / 0.5122 GB, free: 37.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.3377, allocations: 59.62 kB / 0.5123 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-05/0.3378, allocations: 124 kB / 0.5124 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003823/0.3416, allocations: 1.454 MB / 0.5138 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/0.3438, allocations: 1.321 MB / 0.5151 GB, free: 35.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005535/0.3494, allocations: 4.951 MB / 0.52 GB, free: 31.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.352, allocations: 352.2 kB / 0.5203 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/0.3522, allocations: 363.9 kB / 0.5206 GB, free: 30.44 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.0009521/0.3532, allocations: 0.6421 MB / 0.5213 GB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/0.3536, allocations: 370.6 kB / 0.5216 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004127/0.3577, allocations: 2.363 MB / 0.5239 GB, free: 27.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.3577, allocations: 20 kB / 0.524 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.3577, allocations: 8 kB / 0.524 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.3577, allocations: 7.547 kB / 0.524 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007666/0.3654, allocations: 5.642 MB / 0.5295 GB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3654, allocations: 0 / 0.5295 GB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.366, allocations: 253.9 kB / 0.5297 GB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/0.3688, allocations: 1.245 MB / 0.5309 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.561e-05/0.3689, allocations: 35.98 kB / 0.531 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004493/0.3734, allocations: 4.451 MB / 0.5353 GB, free: 17.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3734, allocations: 11.78 kB / 0.5353 GB, free: 17.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/0.3779, allocations: 3.432 MB / 0.5387 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.3783, allocations: 297.8 kB / 0.539 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.3785, allocations: 31.12 kB / 0.539 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007211/0.3793, allocations: 127.8 kB / 0.5391 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.3795, allocations: 113.1 kB / 0.5392 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/0.3795, allocations: 44 kB / 0.5393 GB, free: 13.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001247/0.3808, allocations: 1.408 MB / 0.5406 GB, free: 11.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3808, allocations: 0 / 0.5406 GB, free: 11.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003213/0.384, allocations: 1.055 MB / 0.5417 GB, free: 10.59 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.0003029/0.3843, allocations: 177.4 kB / 0.5418 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003372/0.3877, allocations: 3.292 MB / 0.5451 GB, free: 7.117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3877, allocations: 3.938 kB / 0.5451 GB, free: 7.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008415/0.3885, allocations: 0.9982 MB / 0.546 GB, free: 6.098 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.3896, allocations: 359.6 kB / 0.5464 GB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006279/0.3958, allocations: 6.773 MB / 0.553 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.3971, allocations: 1.112 MB / 0.5541 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0021/0.3992, allocations: 1.545 MB / 0.5556 GB, free: 12.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/0.3995, allocations: 208.5 kB / 0.5558 GB, free: 12.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3995, allocations: 0 / 0.5558 GB, free: 12.04 MB / 426.7 MB Notification: Performance of Templates: time 0.04551/0.445, allocations: 35.03 MB / 0.59 GB, free: 9.52 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.654938142979518]