Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.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.001342/0.001342, allocations: 110.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.001484/0.001484, allocations: 217.4 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.539/1.539, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2641/0.2641, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 79.86 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3865, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006194/0.3927, allocations: 4.194 MB / 0.5653 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.3953, allocations: 1.192 MB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.3956, allocations: 15.94 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.3959, allocations: 102.9 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004764/0.3964, allocations: 218.1 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.397, allocations: 227.5 kB / 0.567 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008722/0.3979, allocations: 0.7978 MB / 0.5678 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.3983, allocations: 166.2 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000451/0.3987, allocations: 326.8 kB / 0.5682 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.3992, allocations: 346.5 kB / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.924e-05/0.3993, allocations: 56 kB / 0.5686 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.3995, allocations: 95.92 kB / 0.5687 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.3997, allocations: 147.5 kB / 0.5688 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.4, allocations: 362.1 kB / 0.5692 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.401, allocations: 0.7818 MB / 0.5699 GB, free: 11.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4011, allocations: 0 / 0.5699 GB, free: 11.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4011, allocations: 4 kB / 0.57 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.4011, allocations: 0 / 0.57 GB, free: 11.99 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002211/0.4033, allocations: 1.024 MB / 0.5709 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4033, allocations: 12.03 kB / 0.571 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.4043, allocations: 152.3 kB / 0.5711 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.405, allocations: 434 kB / 0.5715 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/0.4051, allocations: 45.69 kB / 0.5716 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.4052, allocations: 64.33 kB / 0.5716 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.4065, allocations: 0.6193 MB / 0.5722 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.4065, allocations: 11.95 kB / 0.5722 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.4066, allocations: 20 kB / 0.5723 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.4066, allocations: 16 kB / 0.5723 GB, free: 9.484 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.4078, allocations: 0.5229 MB / 0.5728 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.4116, allocations: 2.167 MB / 0.5749 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.413, allocations: 0.6526 MB / 0.5755 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006864/0.4137, allocations: 318.2 kB / 0.5758 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.4139, allocations: 101.5 kB / 0.5759 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.414, allocations: 46.94 kB / 0.576 GB, free: 5.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.808e-06/0.414, allocations: 0 / 0.576 GB, free: 5.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.009404/0.4234, allocations: 4.534 MB / 0.5804 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002072/0.4236, allocations: 226.2 kB / 0.5806 GB, free: 312 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006412/0.4242, allocations: 385.9 kB / 0.581 GB, free: 15.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.4243, allocations: 49.7 kB / 0.581 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.4247, allocations: 281.8 kB / 0.5813 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000416/0.4251, allocations: 428.3 kB / 0.5817 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/0.4254, allocations: 182.9 kB / 0.5819 GB, free: 14.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003231/0.4257, allocations: 382.8 kB / 0.5823 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006641/0.4264, allocations: 314.4 kB / 0.5826 GB, free: 14.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008491/0.4272, allocations: 0.5004 MB / 0.583 GB, free: 13.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.4288, allocations: 0.8543 MB / 0.5839 GB, free: 12.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.4288, allocations: 4 kB / 0.5839 GB, free: 12.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001971/0.4308, allocations: 0.9965 MB / 0.5849 GB, free: 11.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.4308, allocations: 8 kB / 0.5849 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.4308, allocations: 4 kB / 0.5849 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/0.4308, allocations: 11.98 kB / 0.5849 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4319, allocations: 283.6 kB / 0.5852 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.4319, allocations: 8 kB / 0.5852 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.4324, allocations: 48.19 kB / 0.5852 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.4325, allocations: 40 kB / 0.5852 GB, free: 11.4 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003769/0.4329, allocations: 241.4 kB / 0.5855 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.4332, allocations: 83.47 kB / 0.5856 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.4336, allocations: 223 kB / 0.5858 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.4336, allocations: 12 kB / 0.5858 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.4337, allocations: 4 kB / 0.5858 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.4337, allocations: 11.97 kB / 0.5858 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/0.4379, allocations: 2.329 MB / 0.5881 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.4379, allocations: 8.031 kB / 0.5881 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.439, allocations: 251.7 kB / 0.5883 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/0.439, allocations: 15.92 kB / 0.5883 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.4391, allocations: 24 kB / 0.5884 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/0.4391, allocations: 11.94 kB / 0.5884 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.4391, allocations: 4 kB / 0.5884 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.4418, allocations: 1.889 MB / 0.5902 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.4421, allocations: 204.5 kB / 0.5904 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/0.4422, allocations: 24 kB / 0.5904 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.4428, allocations: 39.97 kB / 0.5905 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.443, allocations: 92.33 kB / 0.5906 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.4431, allocations: 35.98 kB / 0.5906 GB, free: 5.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003082/0.4434, allocations: 267.1 kB / 0.5908 GB, free: 5.488 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4434, allocations: 0 / 0.5908 GB, free: 5.488 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009093/0.4443, allocations: 192 kB / 0.591 GB, free: 5.301 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002206/0.4445, allocations: 139.1 kB / 0.5912 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.4461, allocations: 0.7962 MB / 0.5919 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4461, allocations: 0 / 0.5919 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008595/0.447, allocations: 463.2 kB / 0.5924 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.4483, allocations: 145.6 kB / 0.5925 GB, free: 3.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.452, allocations: 2.241 MB / 0.5947 GB, free: 1.445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/0.4526, allocations: 0.9518 MB / 0.5956 GB, free: 476 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003955/0.453, allocations: 106 kB / 0.5957 GB, free: 368 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.4532, allocations: 67.42 kB / 0.5958 GB, free: 304 kB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4532, allocations: 0 / 0.5958 GB, free: 304 kB / 430.1 MB Notification: Performance of Templates: time 0.01595/0.4692, allocations: 7.885 MB / 0.6035 GB, free: 8.473 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.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: 5.5534160868264735]