Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.91 MB / 361.1 MB, free: 4.586 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 75.88 kB / 0.4968 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3595, allocations: 65.98 MB / 0.5612 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01308/0.3726, allocations: 10.43 MB / 0.5714 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009384/0.382, allocations: 3.933 MB / 0.5753 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.3841, allocations: 59.81 kB / 0.5753 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004133/0.3882, allocations: 2.098 MB / 0.5774 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004678/0.3929, allocations: 1.72 MB / 0.579 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.3947, allocations: 0.694 MB / 0.5797 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006111/0.4008, allocations: 3.997 MB / 0.5836 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.4032, allocations: 1.946 MB / 0.5855 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.4051, allocations: 1.3 MB / 0.5868 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/0.4076, allocations: 2.009 MB / 0.5888 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004424/0.4081, allocations: 264 kB / 0.589 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.4102, allocations: 1.217 MB / 0.5902 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001687/0.4119, allocations: 1.702 MB / 0.5919 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001918/0.4138, allocations: 1.891 MB / 0.5937 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007362/0.4212, allocations: 6.171 MB / 0.5997 GB, free: 13.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4212, allocations: 3.938 kB / 0.5997 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4212, allocations: 4 kB / 0.5997 GB, free: 13.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001213/0.4213, allocations: 0 / 0.5997 GB, free: 13.34 MB / 446.1 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.00926/0.4306, allocations: 4.319 MB / 0.604 GB, free: 8.949 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4306, allocations: 8.031 kB / 0.604 GB, free: 8.941 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.4467, allocations: 2.459 MB / 0.6064 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006821/0.4535, allocations: 2.422 MB / 0.6087 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.4537, allocations: 193.3 kB / 0.6089 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008628/0.4546, allocations: 283.9 kB / 0.6092 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/0.4715, allocations: 8.583 MB / 0.6176 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.4716, allocations: 51.64 kB / 0.6176 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004424/0.4721, allocations: 123.9 kB / 0.6177 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003249/0.4753, allocations: 1.739 MB / 0.6194 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/0.4908, allocations: 7.299 MB / 0.6266 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0458/0.5366, allocations: 34.09 MB / 0.6598 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00903/0.5456, allocations: 3.353 MB / 0.6631 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002407/0.548, allocations: 1.576 MB / 0.6647 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/0.5618, allocations: 7.516 MB / 0.672 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/0.5618, allocations: 59.5 kB / 0.6721 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 5.39e-06/0.5618, allocations: 0 / 0.6721 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06633/0.6282, allocations: 19.79 MB / 0.6914 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.6283, allocations: 201.2 kB / 0.6916 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005593/0.6339, allocations: 3.739 MB / 0.6952 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003762/0.6343, allocations: 53.7 kB / 0.6953 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002529/0.6368, allocations: 2.921 MB / 0.6981 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/0.638, allocations: 0.7521 MB / 0.6989 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001925/0.64, allocations: 1.211 MB / 0.7001 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.6401, allocations: 309.1 kB / 0.7003 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/0.6438, allocations: 2.206 MB / 0.7025 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007044/0.6509, allocations: 5.774 MB / 0.7081 GB, free: 10 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/0.6644, allocations: 8.6 MB / 0.7165 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/0.6645, allocations: 36 kB / 0.7166 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02139/0.6859, allocations: 9.179 MB / 0.7255 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.78e-05/0.686, allocations: 60 kB / 0.7256 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001727/0.6861, allocations: 131.9 kB / 0.7257 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005844/0.692, allocations: 1.665 MB / 0.7273 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004904/0.6969, allocations: 1.322 MB / 0.7286 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3256/1.022, allocations: 9.93 MB / 0.7383 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004763/1.027, allocations: 314.5 kB / 0.7386 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007335/1.028, allocations: 363.5 kB / 0.739 GB, free: 148.3 MB / 0.5606 GB 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.003181/1.031, allocations: 1.902 MB / 0.7408 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007216/1.032, allocations: 347.1 kB / 0.7412 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008241/1.04, allocations: 4.117 MB / 0.7452 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-05/1.04, allocations: 19.41 kB / 0.7452 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/1.04, allocations: 10.53 kB / 0.7452 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/1.04, allocations: 7.688 kB / 0.7452 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/1.057, allocations: 8.495 MB / 0.7535 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/1.057, allocations: 3.812 kB / 0.7535 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/1.058, allocations: 257.2 kB / 0.7538 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004655/1.063, allocations: 1.433 MB / 0.7552 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002671/1.063, allocations: 31.98 kB / 0.7552 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/1.074, allocations: 9.21 MB / 0.7642 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.075, allocations: 2.906 kB / 0.7642 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.085, allocations: 6.749 MB / 0.7708 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009618/1.086, allocations: 390.3 kB / 0.7712 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004489/1.086, allocations: 34.84 kB / 0.7712 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.088, allocations: 91.88 kB / 0.7713 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/1.088, allocations: 116.7 kB / 0.7714 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.088, allocations: 47.98 kB / 0.7714 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002751/1.091, allocations: 2.315 MB / 0.7737 GB, free: 124 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.091, allocations: 3.156 kB / 0.7737 GB, free: 124 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00462/1.096, allocations: 0.9843 MB / 0.7747 GB, free: 123 MB / 0.5606 GB 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.0003874/1.096, allocations: 157.9 kB / 0.7748 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006603/1.103, allocations: 5.218 MB / 0.7799 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.103, allocations: 0 / 0.7799 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/1.105, allocations: 1.68 MB / 0.7815 GB, free: 116 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/1.107, allocations: 389.6 kB / 0.7819 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/1.119, allocations: 8.726 MB / 0.7904 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/1.121, allocations: 2.961 MB / 0.7933 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003393/1.125, allocations: 1.811 MB / 0.7951 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/1.125, allocations: 223.4 kB / 0.7953 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.372e-06/1.125, allocations: 0 / 0.7953 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.05793/1.183, allocations: 38.06 MB / 0.8325 GB, free: 64.05 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.339179507922381]