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.001361/0.001361, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001499/0.001499, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.506/1.506, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2358/0.2358, allocations: 46.95 MB / 361.6 MB, free: 4.043 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.002058/0.002058, allocations: 71.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3364, allocations: 66.04 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00619/0.3426, allocations: 3.772 MB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.3453, allocations: 1.141 MB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.3456, allocations: 19.81 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.3459, allocations: 103 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.3463, allocations: 206.1 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.3469, allocations: 227.6 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009301/0.3478, allocations: 0.7978 MB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.3481, allocations: 162.7 kB / 0.5681 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005003/0.3486, allocations: 326.8 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.3491, allocations: 314.4 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.3492, allocations: 60 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.3494, allocations: 91.98 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.3496, allocations: 147.5 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.3499, allocations: 294.6 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009329/0.3508, allocations: 0.7971 MB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3508, allocations: 3.984 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3508, allocations: 0 / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3508, allocations: 0 / 0.57 GB, free: 11.74 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.001907/0.3527, allocations: 0.9546 MB / 0.571 GB, free: 10.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3528, allocations: 12.03 kB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006806/0.3535, allocations: 140.3 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/0.3541, allocations: 372.1 kB / 0.5715 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.3541, allocations: 37.69 kB / 0.5715 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.3542, allocations: 72.31 kB / 0.5716 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.3554, allocations: 0.6232 MB / 0.5722 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.3554, allocations: 11.94 kB / 0.5722 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.3555, allocations: 24 kB / 0.5722 GB, free: 9.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.3555, allocations: 20 kB / 0.5722 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.3566, allocations: 0.5073 MB / 0.5727 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.3599, allocations: 1.907 MB / 0.5746 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.3612, allocations: 0.6648 MB / 0.5752 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.3618, allocations: 315.2 kB / 0.5755 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.362, allocations: 16.42 kB / 0.5755 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.362, allocations: 50.94 kB / 0.5756 GB, free: 5.754 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.066e-06/0.362, allocations: 0 / 0.5756 GB, free: 5.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008134/0.3701, allocations: 3.958 MB / 0.5795 GB, free: 1.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.3703, allocations: 222.2 kB / 0.5797 GB, free: 1.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.3708, allocations: 397.8 kB / 0.5801 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/0.3708, allocations: 45.7 kB / 0.5801 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.3711, allocations: 277.5 kB / 0.5804 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.3714, allocations: 436.2 kB / 0.5808 GB, free: 188 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.3717, allocations: 179 kB / 0.5809 GB, free: 0 / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.3719, allocations: 382.8 kB / 0.5813 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006517/0.3725, allocations: 306.5 kB / 0.5816 GB, free: 15.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008253/0.3734, allocations: 0.4965 MB / 0.5821 GB, free: 14.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.3749, allocations: 0.8511 MB / 0.5829 GB, free: 13.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3749, allocations: 0 / 0.5829 GB, free: 13.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001865/0.3767, allocations: 1.007 MB / 0.5839 GB, free: 12.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3768, allocations: 7.938 kB / 0.5839 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3768, allocations: 8 kB / 0.5839 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.3768, allocations: 8 kB / 0.5839 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.3778, allocations: 279.6 kB / 0.5842 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.551e-05/0.3779, allocations: 15.92 kB / 0.5842 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.3783, allocations: 44.36 kB / 0.5843 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.3784, allocations: 48.27 kB / 0.5843 GB, free: 12.42 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.0003446/0.3787, allocations: 229.5 kB / 0.5845 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.3789, allocations: 83.47 kB / 0.5846 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.3794, allocations: 222.9 kB / 0.5848 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.3794, allocations: 12 kB / 0.5848 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.3795, allocations: 4 kB / 0.5848 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.3795, allocations: 11.92 kB / 0.5848 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/0.3832, allocations: 2.06 MB / 0.5868 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.557e-06/0.3832, allocations: 4 kB / 0.5869 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.3843, allocations: 243.7 kB / 0.5871 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.3843, allocations: 8 kB / 0.5871 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.9e-05/0.3844, allocations: 31.98 kB / 0.5871 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.526e-05/0.3844, allocations: 11.94 kB / 0.5871 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.3844, allocations: 7.938 kB / 0.5871 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/0.3871, allocations: 1.883 MB / 0.589 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.3875, allocations: 127.4 kB / 0.5891 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/0.3876, allocations: 28 kB / 0.5891 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.3882, allocations: 47.91 kB / 0.5892 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.3884, allocations: 88.44 kB / 0.5893 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/0.3885, allocations: 32 kB / 0.5893 GB, free: 7.176 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003162/0.3888, allocations: 267.1 kB / 0.5895 GB, free: 6.914 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3888, allocations: 0 / 0.5895 GB, free: 6.914 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009092/0.3897, allocations: 196 kB / 0.5897 GB, free: 6.723 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.0002335/0.3899, allocations: 143.8 kB / 0.5899 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.3916, allocations: 0.797 MB / 0.5906 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3916, allocations: 0 / 0.5906 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009076/0.3925, allocations: 467.1 kB / 0.5911 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.3938, allocations: 142.5 kB / 0.5912 GB, free: 5.191 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.3979, allocations: 2.257 MB / 0.5934 GB, free: 2.844 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.3984, allocations: 357.1 kB / 0.5938 GB, free: 2.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.3987, allocations: 75.42 kB / 0.5938 GB, free: 2.395 MB / 430.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3987, allocations: 3.938 kB / 0.5938 GB, free: 2.391 MB / 430.1 MB Notification: Performance of Templates: time 0.01805/0.4168, allocations: 9.601 MB / 0.6032 GB, free: 8.797 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.597693875897676]