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.001765/0.001765, 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.002242/0.002242, 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.543/1.543, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2688/0.2688, allocations: 46.89 MB / 361.1 MB, free: 4.672 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.00258/0.00258, allocations: 79.88 kB / 0.4967 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3331, allocations: 65.99 MB / 0.5612 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005811/0.3389, allocations: 4.194 MB / 0.5653 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.3413, allocations: 1.196 MB / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.3416, allocations: 19.94 kB / 0.5665 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3418, allocations: 102.9 kB / 0.5666 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.3423, allocations: 206.1 kB / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.3428, allocations: 227.5 kB / 0.567 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009378/0.3438, allocations: 0.7978 MB / 0.5678 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.3441, allocations: 174.2 kB / 0.5679 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.3446, allocations: 322.8 kB / 0.5682 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.345, allocations: 346.5 kB / 0.5686 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.853e-05/0.3451, allocations: 56 kB / 0.5686 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.3453, allocations: 95.92 kB / 0.5687 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.3454, allocations: 151.4 kB / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.3458, allocations: 354.1 kB / 0.5692 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009009/0.3467, allocations: 0.7857 MB / 0.5699 GB, free: 12.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.3467, allocations: 0 / 0.5699 GB, free: 12.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3467, allocations: 0 / 0.5699 GB, free: 12.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.3467, allocations: 4 kB / 0.57 GB, free: 12.04 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.002011/0.3487, allocations: 1.028 MB / 0.571 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3487, allocations: 8.031 kB / 0.571 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006869/0.3494, allocations: 148.3 kB / 0.5711 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006399/0.3501, allocations: 438 kB / 0.5715 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.3501, allocations: 45.69 kB / 0.5716 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.3502, allocations: 64.33 kB / 0.5716 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.3514, allocations: 0.6193 MB / 0.5722 GB, free: 9.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.3514, allocations: 15.94 kB / 0.5722 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.3515, allocations: 24 kB / 0.5723 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.3515, allocations: 16 kB / 0.5723 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.3527, allocations: 0.5112 MB / 0.5728 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.3561, allocations: 2.167 MB / 0.5749 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.3574, allocations: 0.6529 MB / 0.5755 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/0.358, allocations: 318.7 kB / 0.5758 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.3581, allocations: 93.55 kB / 0.5759 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.3582, allocations: 54.92 kB / 0.576 GB, free: 5.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.445e-06/0.3582, allocations: 0 / 0.576 GB, free: 5.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.00917/0.3673, allocations: 4.529 MB / 0.5804 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.3675, allocations: 234.3 kB / 0.5806 GB, free: 360 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.368, allocations: 389.8 kB / 0.581 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.3681, allocations: 45.7 kB / 0.581 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.3684, allocations: 281.6 kB / 0.5813 GB, free: 15.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.3687, allocations: 436.2 kB / 0.5817 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.369, allocations: 182.9 kB / 0.5819 GB, free: 15.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.3692, allocations: 382.8 kB / 0.5823 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/0.37, allocations: 310.4 kB / 0.5826 GB, free: 14.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008619/0.3708, allocations: 0.4926 MB / 0.583 GB, free: 13.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.3725, allocations: 0.8703 MB / 0.5839 GB, free: 12.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3725, allocations: 0 / 0.5839 GB, free: 12.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001986/0.3745, allocations: 0.9961 MB / 0.5849 GB, free: 11.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3745, allocations: 4 kB / 0.5849 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3746, allocations: 8 kB / 0.5849 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.3746, allocations: 11.94 kB / 0.5849 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.3756, allocations: 280 kB / 0.5852 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.3757, allocations: 12 kB / 0.5852 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.3761, allocations: 47.97 kB / 0.5852 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.3762, allocations: 40 kB / 0.5853 GB, free: 11.44 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.0003565/0.3766, allocations: 233.5 kB / 0.5855 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.3768, allocations: 83.45 kB / 0.5856 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.3773, allocations: 231.2 kB / 0.5858 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.3773, allocations: 12 kB / 0.5858 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/0.3773, allocations: 4 kB / 0.5858 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.3773, allocations: 8.062 kB / 0.5858 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/0.3814, allocations: 2.324 MB / 0.5881 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.3814, allocations: 4 kB / 0.5881 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.3825, allocations: 247.7 kB / 0.5883 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/0.3825, allocations: 11.94 kB / 0.5883 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/0.3826, allocations: 31.98 kB / 0.5884 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.169e-05/0.3826, allocations: 11.94 kB / 0.5884 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.3826, allocations: 4.281 kB / 0.5884 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.3853, allocations: 1.882 MB / 0.5902 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.3856, allocations: 204.5 kB / 0.5904 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.802e-05/0.3857, allocations: 28 kB / 0.5904 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.3863, allocations: 39.97 kB / 0.5905 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.3865, allocations: 88.47 kB / 0.5906 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.3866, allocations: 36 kB / 0.5906 GB, free: 5.805 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003104/0.3869, allocations: 263.1 kB / 0.5908 GB, free: 5.547 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3869, allocations: 0 / 0.5908 GB, free: 5.547 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008785/0.3878, allocations: 204 kB / 0.591 GB, free: 5.348 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.0002105/0.388, allocations: 147.1 kB / 0.5912 GB, free: 5.191 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.3896, allocations: 0.7917 MB / 0.5919 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3896, allocations: 4 kB / 0.5919 GB, free: 4.402 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.3905, allocations: 456.8 kB / 0.5924 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.3917, allocations: 142 kB / 0.5925 GB, free: 3.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.3954, allocations: 2.241 MB / 0.5947 GB, free: 1.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000695/0.3961, allocations: 0.9518 MB / 0.5956 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.3965, allocations: 106 kB / 0.5957 GB, free: 420 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3967, allocations: 67.42 kB / 0.5958 GB, free: 356 kB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3967, allocations: 0 / 0.5958 GB, free: 356 kB / 430.1 MB Notification: Performance of Templates: time 0.01574/0.4125, allocations: 7.889 MB / 0.6035 GB, free: 8.52 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 gbode -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.449728896841407]