Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 213.1 kB / 24.48 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2417/0.2417, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 71.88 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3593, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005535/0.3648, allocations: 3.761 MB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3672, allocations: 1.141 MB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/0.3675, allocations: 19.81 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.3677, allocations: 103 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.3682, allocations: 210.1 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005929/0.3688, allocations: 231.6 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008854/0.3697, allocations: 0.8017 MB / 0.5679 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.37, allocations: 167.7 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000442/0.3704, allocations: 330.8 kB / 0.5684 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.3709, allocations: 342.4 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.071e-05/0.371, allocations: 63.98 kB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.3711, allocations: 91.98 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.3713, allocations: 147.5 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.3716, allocations: 294.6 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008776/0.3725, allocations: 0.7922 MB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3725, allocations: 4 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3725, allocations: 0 / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3725, allocations: 0 / 0.5701 GB, free: 11.68 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.001966/0.3745, allocations: 0.9525 MB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3745, allocations: 8.031 kB / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007151/0.3752, allocations: 152.3 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.3759, allocations: 364.1 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.3759, allocations: 45.69 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.3761, allocations: 68.31 kB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.3772, allocations: 0.6231 MB / 0.5722 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.3773, allocations: 11.95 kB / 0.5722 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.3773, allocations: 23.94 kB / 0.5722 GB, free: 9.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.3773, allocations: 16 kB / 0.5723 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.3785, allocations: 0.5074 MB / 0.5728 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/0.3815, allocations: 1.922 MB / 0.5746 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.3827, allocations: 0.6574 MB / 0.5753 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.3833, allocations: 322.2 kB / 0.5756 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.3834, allocations: 12.44 kB / 0.5756 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/0.3835, allocations: 54.92 kB / 0.5756 GB, free: 5.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.796e-06/0.3835, allocations: 0 / 0.5756 GB, free: 5.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008007/0.3915, allocations: 3.951 MB / 0.5795 GB, free: 1.535 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.3916, allocations: 222.3 kB / 0.5797 GB, free: 1.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.3921, allocations: 401.7 kB / 0.5801 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.3921, allocations: 45.7 kB / 0.5801 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.3923, allocations: 273.5 kB / 0.5804 GB, free: 0.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.3927, allocations: 432.2 kB / 0.5808 GB, free: 120 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.393, allocations: 179 kB / 0.581 GB, free: 15.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3932, allocations: 382.8 kB / 0.5813 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006218/0.3938, allocations: 310.4 kB / 0.5816 GB, free: 15.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007832/0.3946, allocations: 0.4926 MB / 0.5821 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.3961, allocations: 0.8589 MB / 0.583 GB, free: 13.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3961, allocations: 4 kB / 0.583 GB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001834/0.3979, allocations: 0.9964 MB / 0.5839 GB, free: 12.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.398, allocations: 11.94 kB / 0.584 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.398, allocations: 4 kB / 0.584 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/0.398, allocations: 12.09 kB / 0.584 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.3991, allocations: 279.5 kB / 0.5842 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.62e-05/0.3991, allocations: 25.34 kB / 0.5843 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.3996, allocations: 43.98 kB / 0.5843 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.782e-05/0.3996, allocations: 44.14 kB / 0.5843 GB, free: 12.34 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.0003592/0.4, allocations: 237.5 kB / 0.5846 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.4002, allocations: 79.47 kB / 0.5846 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.4007, allocations: 219 kB / 0.5849 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.4007, allocations: 12 kB / 0.5849 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.4007, allocations: 4 kB / 0.5849 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4007, allocations: 3.984 kB / 0.5849 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/0.4044, allocations: 2.071 MB / 0.5869 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4044, allocations: 0 / 0.5869 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.4055, allocations: 247.7 kB / 0.5871 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.4055, allocations: 11.98 kB / 0.5871 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.4056, allocations: 24 kB / 0.5872 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/0.4056, allocations: 11.94 kB / 0.5872 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.4056, allocations: 7.938 kB / 0.5872 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.4083, allocations: 1.886 MB / 0.589 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.4086, allocations: 127.5 kB / 0.5891 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/0.4087, allocations: 24 kB / 0.5892 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/0.4093, allocations: 44.09 kB / 0.5892 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.4095, allocations: 88.44 kB / 0.5893 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-05/0.4095, allocations: 35.94 kB / 0.5893 GB, free: 7.105 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.4098, allocations: 271.1 kB / 0.5896 GB, free: 6.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4098, allocations: 0 / 0.5896 GB, free: 6.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009003/0.4107, allocations: 203.9 kB / 0.5898 GB, free: 6.641 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.0002251/0.411, allocations: 131.7 kB / 0.5899 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.4125, allocations: 0.7884 MB / 0.5907 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4125, allocations: 0.875 kB / 0.5907 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008482/0.4134, allocations: 467.5 kB / 0.5911 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.4146, allocations: 142.5 kB / 0.5913 GB, free: 5.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.4184, allocations: 2.277 MB / 0.5935 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.4188, allocations: 357.1 kB / 0.5938 GB, free: 2.383 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.419, allocations: 71.42 kB / 0.5939 GB, free: 2.316 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.419, allocations: 0 / 0.5939 GB, free: 2.316 MB / 430.1 MB Notification: Performance of Templates: time 0.01535/0.4344, allocations: 9.597 MB / 0.6033 GB, free: 8.723 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 8.666582880017813]