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.001548/0.001549, allocations: 117 kB / 19.13 MB, free: 3.922 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.0015/0.0015, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.452/1.452, allocations: 227.4 MB / 252.3 MB, free: 84 kB / 190.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.2515/0.2515, allocations: 46.15 MB / 351.8 MB, free: 14.32 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.002301/0.002301, allocations: 78.34 kB / 490.9 MB, free: 27.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1258, allocations: 62.44 MB / 0.5403 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01217/0.138, allocations: 10.35 MB / 0.5505 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008067/0.1461, allocations: 3.888 MB / 0.5542 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.1477, allocations: 55.88 kB / 0.5543 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00415/0.1519, allocations: 2.075 MB / 0.5563 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004362/0.1563, allocations: 1.665 MB / 0.558 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.158, allocations: 0.6939 MB / 0.5586 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006048/0.1641, allocations: 4.006 MB / 0.5625 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/0.1677, allocations: 2.586 MB / 0.5651 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.1701, allocations: 1.308 MB / 0.5663 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.1731, allocations: 1.834 MB / 0.5681 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00079/0.1739, allocations: 264 kB / 0.5684 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.1764, allocations: 1.19 MB / 0.5695 GB, free: 6.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.1785, allocations: 1.64 MB / 0.5712 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.181, allocations: 1.883 MB / 0.573 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007724/0.1887, allocations: 6.178 MB / 0.579 GB, free: 12.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1887, allocations: 4 kB / 0.579 GB, free: 12.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1888, allocations: 0 / 0.579 GB, free: 12.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001667/0.1889, allocations: 0 / 0.579 GB, free: 12.47 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.009995/0.1989, allocations: 4.313 MB / 0.5832 GB, free: 8.082 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.199, allocations: 8.031 kB / 0.5832 GB, free: 8.074 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/0.2165, allocations: 2.463 MB / 0.5857 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005904/0.2225, allocations: 2.414 MB / 0.588 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.2227, allocations: 193.3 kB / 0.5882 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008693/0.2235, allocations: 279.9 kB / 0.5885 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/0.239, allocations: 8.591 MB / 0.5969 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.2392, allocations: 47.64 kB / 0.5969 GB, free: 9.395 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/0.2396, allocations: 119.9 kB / 0.597 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002966/0.2425, allocations: 1.739 MB / 0.5987 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.2574, allocations: 7.303 MB / 0.6058 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3296/0.5871, allocations: 34.08 MB / 0.6391 GB, free: 30.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008678/0.5958, allocations: 3.487 MB / 0.6425 GB, free: 28.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.5981, allocations: 1.717 MB / 0.6442 GB, free: 27.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.6086, allocations: 7.537 MB / 0.6516 GB, free: 22.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.6086, allocations: 43.5 kB / 0.6516 GB, free: 22.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.1e-06/0.6087, allocations: 0 / 0.6516 GB, free: 22.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=188): time 0.05826/0.6669, allocations: 19.81 MB / 0.6709 GB, free: 7.031 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.667, allocations: 205.2 kB / 0.6711 GB, free: 6.789 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004143/0.6712, allocations: 3.741 MB / 0.6748 GB, free: 3.098 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00034/0.6715, allocations: 53.64 kB / 0.6748 GB, free: 3.039 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.6728, allocations: 2.918 MB / 0.6777 GB, free: 148 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.6738, allocations: 0.7461 MB / 0.6784 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/0.6756, allocations: 1.218 MB / 0.6796 GB, free: 14.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6758, allocations: 304.9 kB / 0.6799 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/0.6794, allocations: 2.214 MB / 0.6821 GB, free: 11.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007207/0.6867, allocations: 5.77 MB / 0.6877 GB, free: 4.113 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/0.6984, allocations: 8.606 MB / 0.6961 GB, free: 9.754 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/0.6986, allocations: 36 kB / 0.6961 GB, free: 9.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.0205/0.7191, allocations: 9.205 MB / 0.7051 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.7193, allocations: 60 kB / 0.7052 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/0.7195, allocations: 128 kB / 0.7053 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005995/0.7255, allocations: 1.669 MB / 0.7069 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/0.7299, allocations: 1.322 MB / 0.7082 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.7459, allocations: 9.923 MB / 0.7179 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/0.7502, allocations: 315.6 kB / 0.7182 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008631/0.7511, allocations: 365.8 kB / 0.7186 GB, free: 2.609 MB / 0.4981 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.003222/0.7543, allocations: 1.896 MB / 0.7204 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006598/0.755, allocations: 357.5 kB / 0.7208 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009999/0.765, allocations: 4.15 MB / 0.7248 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-05/0.7651, allocations: 20 kB / 0.7248 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.7651, allocations: 8 kB / 0.7248 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/0.7651, allocations: 11.97 kB / 0.7249 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/0.7828, allocations: 8.518 MB / 0.7332 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.7829, allocations: 4 kB / 0.7332 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.7842, allocations: 255.6 kB / 0.7334 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00537/0.7896, allocations: 1.429 MB / 0.7348 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002416/0.7899, allocations: 31.98 kB / 0.7348 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/0.8044, allocations: 9.213 MB / 0.7438 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.8044, allocations: 0 / 0.7438 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/0.8174, allocations: 6.767 MB / 0.7505 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008834/0.8183, allocations: 394.6 kB / 0.7508 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004543/0.8188, allocations: 32 kB / 0.7509 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.8202, allocations: 95.94 kB / 0.751 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/0.8205, allocations: 109.1 kB / 0.7511 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.8207, allocations: 55.98 kB / 0.7511 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003551/0.8242, allocations: 2.32 MB / 0.7534 GB, free: 14.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8243, allocations: 0 / 0.7534 GB, free: 14.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004414/0.8287, allocations: 0.9765 MB / 0.7543 GB, free: 13.78 MB / 0.545 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.000443/0.8292, allocations: 158.9 kB / 0.7545 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008777/0.8379, allocations: 5.45 MB / 0.7598 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.838, allocations: 0 / 0.7598 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002764/0.8407, allocations: 1.807 MB / 0.7616 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.8431, allocations: 388.3 kB / 0.7619 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.8584, allocations: 9.019 MB / 0.7707 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003608/0.862, allocations: 2.961 MB / 0.7736 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000994/0.863, allocations: 267.4 kB / 0.7739 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.863, allocations: 0 / 0.7739 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of Templates: time 0.103/0.966, allocations: 69.6 MB / 0.8419 GB, free: 4.098 MB / 0.6231 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 -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: 13.30885925097391]