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.001968/0.001968, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002121/0.002121, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 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.541/1.541, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 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.3567/0.3567, allocations: 34.24 MB / 295.2 MB, free: 0.6602 MB / 266.7 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 1.693e-06/1.693e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.215e-05, allocations: 6.25 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01441/0.01444, allocations: 9.979 MB / 387.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008779/0.02322, allocations: 3.786 MB / 391 MB, free: 5.082 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.02428, allocations: 71.62 kB / 391 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004825/0.0291, allocations: 2.219 MB / 393.3 MB, free: 2.785 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.03376, allocations: 1.773 MB / 395 MB, free: 1.004 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.03594, allocations: 0.7599 MB / 395.8 MB, free: 248 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006321/0.04226, allocations: 4.402 MB / 400.2 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003323/0.04558, allocations: 2.499 MB / 402.7 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.04857, allocations: 1.976 MB / 404.7 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003482/0.05205, allocations: 2.026 MB / 406.7 MB, free: 5.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005679/0.05262, allocations: 272 kB / 407 MB, free: 4.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.05481, allocations: 1.139 MB / 408.1 MB, free: 3.855 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001961/0.05677, allocations: 1.78 MB / 409.9 MB, free: 2.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.05831, allocations: 1.079 MB / 411 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009397/0.0677, allocations: 6.273 MB / 417.2 MB, free: 10.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.06771, allocations: 0 / 417.2 MB, free: 10.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.06771, allocations: 0 / 417.2 MB, free: 10.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002/0.06791, allocations: 0 / 417.2 MB, free: 10.7 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.01352/0.08143, allocations: 4.962 MB / 422.2 MB, free: 5.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.08148, allocations: 16.03 kB / 422.2 MB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01946/0.1009, allocations: 2.912 MB / 425.1 MB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00707/0.108, allocations: 2.223 MB / 427.4 MB, free: 476 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.1082, allocations: 197.2 kB / 427.5 MB, free: 276 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.1098, allocations: 280.5 kB / 427.8 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/0.1237, allocations: 5.698 MB / 433.5 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001288/0.1238, allocations: 35.64 kB / 433.6 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004535/0.1242, allocations: 135.8 kB / 433.7 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003562/0.1278, allocations: 1.731 MB / 435.4 MB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.1381, allocations: 3.141 MB / 438.6 MB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1893/0.3274, allocations: 40.6 MB / 479.2 MB, free: 62.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006731/0.3341, allocations: 1.975 MB / 481.1 MB, free: 62.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.3352, allocations: 0.6356 MB / 481.8 MB, free: 62.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008875/0.3441, allocations: 4.737 MB / 486.5 MB, free: 59.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.3441, allocations: 52.58 kB / 486.6 MB, free: 59.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 4.168e-06/0.3441, allocations: 3.219 kB / 486.6 MB, free: 59.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.04862/0.3927, allocations: 14.26 MB / 0.4891 GB, free: 55.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.3928, allocations: 201.5 kB / 0.4893 GB, free: 55.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005158/0.3979, allocations: 4.104 MB / 0.4933 GB, free: 53.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002902/0.3982, allocations: 52.58 kB / 0.4933 GB, free: 53.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.3998, allocations: 3.26 MB / 0.4965 GB, free: 50.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000661/0.4005, allocations: 0.8177 MB / 0.4973 GB, free: 50.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/0.4021, allocations: 1.509 MB / 0.4988 GB, free: 49.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.4022, allocations: 481.8 kB / 0.4992 GB, free: 49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.4038, allocations: 0.8214 MB / 0.5 GB, free: 48.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/0.4069, allocations: 6.332 MB / 0.5062 GB, free: 41.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006019/0.4129, allocations: 7.863 MB / 0.5139 GB, free: 33.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.926e-05/0.413, allocations: 36.69 kB / 0.5139 GB, free: 33.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01384/0.4269, allocations: 6.416 MB / 0.5202 GB, free: 28.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.049e-05/0.4269, allocations: 64.5 kB / 0.5203 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.591e-05/0.427, allocations: 124 kB / 0.5204 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006711/0.4337, allocations: 1.508 MB / 0.5219 GB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/0.4376, allocations: 1.321 MB / 0.5232 GB, free: 25.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009003/0.4466, allocations: 5.412 MB / 0.5284 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/0.4509, allocations: 351.8 kB / 0.5288 GB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005536/0.4515, allocations: 361 kB / 0.5291 GB, free: 20.16 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.00162/0.4531, allocations: 0.7307 MB / 0.5298 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000722/0.4538, allocations: 365.9 kB / 0.5302 GB, free: 19.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007322/0.4611, allocations: 2.481 MB / 0.5326 GB, free: 17.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-05/0.4612, allocations: 24 kB / 0.5326 GB, free: 17.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.4612, allocations: 8 kB / 0.5326 GB, free: 17.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.697e-05/0.4612, allocations: 11.02 kB / 0.5326 GB, free: 17.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/0.4786, allocations: 6.535 MB / 0.539 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/0.4786, allocations: 4 kB / 0.539 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/0.4806, allocations: 251.6 kB / 0.5393 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009368/0.49, allocations: 1.294 MB / 0.5405 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003327/0.4903, allocations: 30.03 kB / 0.5406 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/0.5037, allocations: 4.885 MB / 0.5453 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5038, allocations: 4 kB / 0.5453 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/0.517, allocations: 3.699 MB / 0.5489 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.5185, allocations: 297.8 kB / 0.5492 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003969/0.5189, allocations: 28.62 kB / 0.5493 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.5204, allocations: 123.8 kB / 0.5494 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/0.5207, allocations: 121 kB / 0.5495 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.5208, allocations: 48 kB / 0.5495 GB, free: 84 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003076/0.5239, allocations: 1.674 MB / 0.5512 GB, free: 14.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5239, allocations: 0 / 0.5512 GB, free: 14.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005178/0.5291, allocations: 1.055 MB / 0.5522 GB, free: 13.36 MB / 426.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.0004825/0.5296, allocations: 174.4 kB / 0.5524 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008088/0.5377, allocations: 3.647 MB / 0.5559 GB, free: 9.543 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.5377, allocations: 3.938 kB / 0.5559 GB, free: 9.539 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.5401, allocations: 1.085 MB / 0.557 GB, free: 8.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.5427, allocations: 356.4 kB / 0.5573 GB, free: 8.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.5564, allocations: 6.881 MB / 0.5641 GB, free: 1.141 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003294/0.5597, allocations: 2.195 MB / 0.5662 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004346/0.5641, allocations: 1.543 MB / 0.5677 GB, free: 13.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/0.5648, allocations: 212.5 kB / 0.5679 GB, free: 13.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.773e-06/0.5648, allocations: 0 / 0.5679 GB, free: 13.16 MB / 442.7 MB Notification: Performance of Templates: time 0.07785/0.6426, allocations: 35 MB / 0.6021 GB, free: 10.66 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.322286749957129]