Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009972/0.0009972, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001023/0.001023, allocations: 169.4 kB / 24.82 MB, free: 8.922 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.9796/0.9796, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2848/0.2848, allocations: 32.81 MB / 294.6 MB, free: 1.258 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.465e-05, allocations: 5.547 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.02113/0.02116, allocations: 9.812 MB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.03292, allocations: 3.763 MB / 390.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.03555, allocations: 71.69 kB / 390.1 MB, free: 6.703 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005354/0.04091, allocations: 2.203 MB / 392.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007056/0.04796, allocations: 1.777 MB / 394.1 MB, free: 2.707 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.05058, allocations: 0.76 MB / 394.9 MB, free: 1.945 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008548/0.05913, allocations: 4.41 MB / 399.3 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004222/0.06335, allocations: 2.499 MB / 401.8 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005523/0.06887, allocations: 2.471 MB / 404.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/0.07302, allocations: 2.019 MB / 406.3 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008974/0.07392, allocations: 272 kB / 406.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/0.07712, allocations: 1.131 MB / 407.7 MB, free: 5.074 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002349/0.07947, allocations: 1.78 MB / 409.4 MB, free: 3.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002325/0.08179, allocations: 1.082 MB / 410.5 MB, free: 2.203 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00801/0.0898, allocations: 4.239 MB / 414.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.08981, allocations: 0 / 414.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.08981, allocations: 0 / 414.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.38e-05/0.0899, allocations: 4 kB / 414.8 MB, free: 13.95 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.004873/0.09477, allocations: 4.473 MB / 419.2 MB, free: 9.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.09481, allocations: 12.03 kB / 419.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007573/0.1024, allocations: 1.953 MB / 421.2 MB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.1053, allocations: 1.798 MB / 423 MB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.1055, allocations: 193.3 kB / 423.2 MB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004828/0.106, allocations: 280.5 kB / 423.5 MB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005196/0.1112, allocations: 4.909 MB / 428.4 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.113e-05/0.1113, allocations: 39.67 kB / 428.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.1115, allocations: 123.9 kB / 428.5 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001453/0.1129, allocations: 1.54 MB / 430.1 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003719/0.1167, allocations: 2.196 MB / 432.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2244/0.3411, allocations: 37.39 MB / 469.7 MB, free: 63.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.3443, allocations: 1.579 MB / 471.2 MB, free: 63.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/0.3448, allocations: 434.2 kB / 471.7 MB, free: 63.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004277/0.349, allocations: 3.676 MB / 475.3 MB, free: 62.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3491, allocations: 48.8 kB / 475.4 MB, free: 62.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=137): time 4.438e-06/0.3491, allocations: 5.188 kB / 475.4 MB, free: 62.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=169): time 0.01828/0.3674, allocations: 8.272 MB / 483.7 MB, free: 61.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.3674, allocations: 203.3 kB / 483.9 MB, free: 60.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002806/0.3702, allocations: 3.371 MB / 487.2 MB, free: 60 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/0.3703, allocations: 50.11 kB / 487.3 MB, free: 59.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.3716, allocations: 3.164 MB / 490.4 MB, free: 57.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004154/0.372, allocations: 0.7052 MB / 491.2 MB, free: 57.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/0.3731, allocations: 1.325 MB / 492.5 MB, free: 56.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.3731, allocations: 476.8 kB / 492.9 MB, free: 55.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008535/0.374, allocations: 0.5933 MB / 493.5 MB, free: 55.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.3771, allocations: 6.141 MB / 499.7 MB, free: 48.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005558/0.3827, allocations: 7.324 MB / 0.4951 GB, free: 40.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/0.3828, allocations: 40.06 kB / 0.4952 GB, free: 40.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.00853/0.3913, allocations: 5.114 MB / 0.5002 GB, free: 38.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.3914, allocations: 60.69 kB / 0.5002 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/0.3916, allocations: 129.8 kB / 0.5003 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.3935, allocations: 0.7192 MB / 0.501 GB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/0.3957, allocations: 1.323 MB / 0.5023 GB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.3991, allocations: 3.657 MB / 0.5059 GB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.4017, allocations: 268.4 kB / 0.5062 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.402, allocations: 317.9 kB / 0.5065 GB, free: 35.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * 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 (730): * Single equations (assignments): 726 * 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,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001104/0.4031, allocations: 0.649 MB / 0.5071 GB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/0.4034, allocations: 366.7 kB / 0.5074 GB, free: 34.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.4056, allocations: 1.356 MB / 0.5088 GB, free: 34.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.4056, allocations: 21.88 kB / 0.5088 GB, free: 34.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.4057, allocations: 6.312 kB / 0.5088 GB, free: 34.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.4057, allocations: 6.75 kB / 0.5088 GB, free: 34.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006231/0.4119, allocations: 4.472 MB / 0.5132 GB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.4119, allocations: 3.719 kB / 0.5132 GB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.4124, allocations: 206.2 kB / 0.5134 GB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/0.414, allocations: 0.5268 MB / 0.5139 GB, free: 32.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.4141, allocations: 34.77 kB / 0.5139 GB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002937/0.417, allocations: 3.235 MB / 0.5171 GB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.417, allocations: 4 kB / 0.5171 GB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003062/0.4201, allocations: 2.328 MB / 0.5194 GB, free: 27.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.4204, allocations: 293.5 kB / 0.5196 GB, free: 26.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.4206, allocations: 24.7 kB / 0.5197 GB, free: 26.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.4211, allocations: 38.34 kB / 0.5197 GB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.4213, allocations: 115.4 kB / 0.5198 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/0.4214, allocations: 37.73 kB / 0.5198 GB, free: 26.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001425/0.4228, allocations: 1.328 MB / 0.5211 GB, free: 25.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4228, allocations: 4 kB / 0.5211 GB, free: 25.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003005/0.4258, allocations: 0.9538 MB / 0.5221 GB, free: 24.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (122): * Single equations (assignments): 118 * 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,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003204/0.4261, allocations: 174.5 kB / 0.5222 GB, free: 24.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.4292, allocations: 2.827 MB / 0.525 GB, free: 22.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4292, allocations: 3.016 kB / 0.525 GB, free: 22.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005751/0.4298, allocations: 0.7351 MB / 0.5257 GB, free: 21.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4309, allocations: 350.4 kB / 0.5261 GB, free: 21.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007458/0.4383, allocations: 6.522 MB / 0.5324 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008986/0.4392, allocations: 1.091 MB / 0.5335 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001145/0.4404, allocations: 468.9 kB / 0.5339 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009564/0.4413, allocations: 0.5325 MB / 0.5345 GB, free: 13.4 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4413, allocations: 0 / 0.5345 GB, free: 13.4 MB / 410.7 MB Notification: Performance of Templates: time 0.04555/0.4869, allocations: 31.57 MB / 0.5653 GB, free: 15.22 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.559729789849371]