Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001383/0.001383, allocations: 112.2 kB / 21.19 MB, free: 0.7539 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.001486/0.001486, allocations: 213.7 kB / 24.49 MB, free: 4.137 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 44.92 MB / 359.6 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.91 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 65.47 MB / 0.5582 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005962/0.3231, allocations: 4.2 MB / 0.5623 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.3255, allocations: 1.192 MB / 0.5635 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.3257, allocations: 19.81 kB / 0.5635 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.326, allocations: 103 kB / 0.5636 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.3264, allocations: 206.1 kB / 0.5638 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.327, allocations: 235.5 kB / 0.564 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000913/0.3279, allocations: 0.7978 MB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.3282, allocations: 166.8 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004509/0.3287, allocations: 338.7 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.3292, allocations: 342.5 kB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.686e-05/0.3293, allocations: 60 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3295, allocations: 99.97 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.3296, allocations: 139.5 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.3299, allocations: 358.2 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009315/0.3309, allocations: 0.7892 MB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.3309, allocations: 4 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3309, allocations: 0 / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.3309, allocations: 0 / 0.567 GB, free: 14.67 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.001973/0.3329, allocations: 0.9487 MB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.3329, allocations: 8.031 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006764/0.3336, allocations: 148.3 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.3342, allocations: 368.1 kB / 0.5685 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.3342, allocations: 45.69 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.3343, allocations: 72.31 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.3355, allocations: 0.6193 MB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.3355, allocations: 7.953 kB / 0.5692 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/0.3355, allocations: 24 kB / 0.5692 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.3356, allocations: 16 kB / 0.5692 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.3366, allocations: 0.5152 MB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.3398, allocations: 2.109 MB / 0.5718 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.3411, allocations: 0.6573 MB / 0.5724 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.3417, allocations: 320.7 kB / 0.5727 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.3418, allocations: 16.42 kB / 0.5727 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.3418, allocations: 54.94 kB / 0.5728 GB, free: 8.461 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.194e-06/0.3418, allocations: 0 / 0.5728 GB, free: 8.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.007765/0.3496, allocations: 3.95 MB / 0.5767 GB, free: 4.312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.3497, allocations: 222.2 kB / 0.5769 GB, free: 4.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.3501, allocations: 381.9 kB / 0.5772 GB, free: 3.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.3502, allocations: 49.69 kB / 0.5773 GB, free: 3.609 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.3504, allocations: 281.5 kB / 0.5775 GB, free: 3.328 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.3508, allocations: 440.2 kB / 0.578 GB, free: 2.895 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.351, allocations: 182.9 kB / 0.5781 GB, free: 2.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3512, allocations: 382.8 kB / 0.5785 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/0.3519, allocations: 306.5 kB / 0.5788 GB, free: 2.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007788/0.3526, allocations: 0.4965 MB / 0.5793 GB, free: 1.461 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.3541, allocations: 0.8548 MB / 0.5801 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3541, allocations: 0 / 0.5801 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001803/0.3559, allocations: 1.004 MB / 0.5811 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3559, allocations: 10.72 kB / 0.5811 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3559, allocations: 8 kB / 0.5811 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.356, allocations: 8 kB / 0.5811 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.357, allocations: 279.6 kB / 0.5814 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.357, allocations: 12 kB / 0.5814 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.3574, allocations: 47.97 kB / 0.5814 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/0.3575, allocations: 47.98 kB / 0.5815 GB, free: 15.12 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.0003179/0.3578, allocations: 233.5 kB / 0.5817 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.358, allocations: 79.47 kB / 0.5818 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.3585, allocations: 226.9 kB / 0.582 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.3585, allocations: 12 kB / 0.582 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.3585, allocations: 4 kB / 0.582 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.3585, allocations: 3.984 kB / 0.582 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/0.3623, allocations: 2.288 MB / 0.5843 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.3623, allocations: 4 kB / 0.5843 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.3633, allocations: 256 kB / 0.5845 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/0.3634, allocations: 15.92 kB / 0.5845 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.3634, allocations: 20 kB / 0.5845 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/0.3634, allocations: 8.391 kB / 0.5846 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.3634, allocations: 7.938 kB / 0.5846 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/0.366, allocations: 1.894 MB / 0.5864 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.3663, allocations: 131.4 kB / 0.5865 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.3663, allocations: 20 kB / 0.5866 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005866/0.3669, allocations: 43.97 kB / 0.5866 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.3671, allocations: 88.38 kB / 0.5867 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.3671, allocations: 36 kB / 0.5867 GB, free: 9.629 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002923/0.3674, allocations: 267.1 kB / 0.587 GB, free: 9.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3674, allocations: 0 / 0.587 GB, free: 9.367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008164/0.3683, allocations: 200 kB / 0.5872 GB, free: 9.172 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.000185/0.3684, allocations: 135.1 kB / 0.5873 GB, free: 9.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.3699, allocations: 0.7963 MB / 0.5881 GB, free: 8.234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3699, allocations: 4 kB / 0.5881 GB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008371/0.3708, allocations: 476.6 kB / 0.5885 GB, free: 7.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.372, allocations: 146.2 kB / 0.5887 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.3756, allocations: 2.265 MB / 0.5909 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/0.3763, allocations: 0.9479 MB / 0.5918 GB, free: 4.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.3765, allocations: 71.42 kB / 0.5919 GB, free: 4.23 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3765, allocations: 0 / 0.5919 GB, free: 4.23 MB / 430.1 MB Notification: Performance of Templates: time 0.01452/0.3911, allocations: 9.275 MB / 0.6009 GB, free: 10.96 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.536672339774668]