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.001533/0.001533, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00171/0.00171, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.225/0.225, allocations: 46.93 MB / 361.6 MB, free: 4.266 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.001962/0.001962, allocations: 67.89 kB / 0.4974 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3104, allocations: 66.03 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005545/0.3159, allocations: 4.202 MB / 0.566 GB, free: 188 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.3183, allocations: 1.196 MB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.3187, allocations: 19.88 kB / 0.5672 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.3191, allocations: 98.95 kB / 0.5672 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006727/0.3197, allocations: 210.1 kB / 0.5674 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007591/0.3205, allocations: 231.5 kB / 0.5677 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.3217, allocations: 0.7978 MB / 0.5684 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.3221, allocations: 174.7 kB / 0.5686 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005781/0.3227, allocations: 326.8 kB / 0.5689 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004648/0.3231, allocations: 342.5 kB / 0.5693 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.371e-05/0.3232, allocations: 64 kB / 0.5693 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.3234, allocations: 91.98 kB / 0.5694 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.3236, allocations: 155.4 kB / 0.5695 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.3239, allocations: 350.2 kB / 0.5699 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009223/0.3248, allocations: 0.7854 MB / 0.5707 GB, free: 11.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3248, allocations: 0 / 0.5707 GB, free: 11.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3248, allocations: 0 / 0.5707 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3249, allocations: 3.938 kB / 0.5707 GB, free: 11.37 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.001869/0.3267, allocations: 0.9565 MB / 0.5716 GB, free: 10.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3268, allocations: 12.03 kB / 0.5716 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006406/0.3274, allocations: 140.3 kB / 0.5717 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.328, allocations: 368.2 kB / 0.5721 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/0.3281, allocations: 45.62 kB / 0.5721 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.3282, allocations: 64.33 kB / 0.5722 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.3293, allocations: 0.6232 MB / 0.5728 GB, free: 9.082 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.3294, allocations: 15.94 kB / 0.5728 GB, free: 9.066 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-05/0.3294, allocations: 20 kB / 0.5728 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.3294, allocations: 16 kB / 0.5728 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3305, allocations: 0.5112 MB / 0.5733 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003258/0.3337, allocations: 2.117 MB / 0.5754 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.335, allocations: 0.6531 MB / 0.5761 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.3355, allocations: 320.5 kB / 0.5764 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.3357, allocations: 20.67 kB / 0.5764 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.3357, allocations: 50.98 kB / 0.5764 GB, free: 5.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.545e-06/0.3357, allocations: 0 / 0.5764 GB, free: 5.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.007869/0.3436, allocations: 3.944 MB / 0.5803 GB, free: 1.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.3437, allocations: 222.2 kB / 0.5805 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.3442, allocations: 389.9 kB / 0.5809 GB, free: 372 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.3442, allocations: 49.77 kB / 0.5809 GB, free: 316 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.3444, allocations: 281.5 kB / 0.5812 GB, free: 28 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.3448, allocations: 432.2 kB / 0.5816 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.3451, allocations: 182.9 kB / 0.5818 GB, free: 15.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.3453, allocations: 382.8 kB / 0.5821 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006222/0.3459, allocations: 310.4 kB / 0.5824 GB, free: 14.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/0.3467, allocations: 0.5004 MB / 0.5829 GB, free: 14.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.3481, allocations: 0.8505 MB / 0.5837 GB, free: 13.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3481, allocations: 4 kB / 0.5837 GB, free: 13.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001818/0.3499, allocations: 0.9929 MB / 0.5847 GB, free: 12.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.35, allocations: 8.094 kB / 0.5847 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.35, allocations: 7.938 kB / 0.5847 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/0.35, allocations: 16.12 kB / 0.5847 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.351, allocations: 279.6 kB / 0.585 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.351, allocations: 12 kB / 0.585 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.3515, allocations: 39.97 kB / 0.5851 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.3515, allocations: 48.11 kB / 0.5851 GB, free: 11.84 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.0003477/0.3519, allocations: 233.5 kB / 0.5853 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.3521, allocations: 83.47 kB / 0.5854 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.3526, allocations: 231.2 kB / 0.5856 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.3526, allocations: 16 kB / 0.5856 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/0.3526, allocations: 0 / 0.5856 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.3526, allocations: 7.984 kB / 0.5857 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.3565, allocations: 2.292 MB / 0.5879 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.3565, allocations: 8.281 kB / 0.5879 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.3575, allocations: 243.7 kB / 0.5881 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.3575, allocations: 11.94 kB / 0.5881 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.996e-05/0.3576, allocations: 31.98 kB / 0.5882 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.371e-05/0.3576, allocations: 11.94 kB / 0.5882 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3576, allocations: 4 kB / 0.5882 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.3602, allocations: 1.886 MB / 0.59 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.3605, allocations: 127.6 kB / 0.5902 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.3606, allocations: 31.98 kB / 0.5902 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.3612, allocations: 39.92 kB / 0.5902 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.3614, allocations: 96.38 kB / 0.5903 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.3615, allocations: 35.98 kB / 0.5903 GB, free: 6.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.3618, allocations: 267.1 kB / 0.5906 GB, free: 6.059 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3618, allocations: 0 / 0.5906 GB, free: 6.059 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008479/0.3626, allocations: 192 kB / 0.5908 GB, free: 5.871 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.0001954/0.3628, allocations: 139.1 kB / 0.5909 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.3644, allocations: 0.7956 MB / 0.5917 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3644, allocations: 12.81 kB / 0.5917 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008298/0.3652, allocations: 459.4 kB / 0.5921 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.3664, allocations: 139.7 kB / 0.5923 GB, free: 4.344 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.3701, allocations: 2.272 MB / 0.5945 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.3707, allocations: 0.9479 MB / 0.5954 GB, free: 1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.371, allocations: 75.42 kB / 0.5955 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.371, allocations: 0 / 0.5955 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of Templates: time 0.01426/0.3852, allocations: 9.274 MB / 0.6046 GB, free: 7.664 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.322880466002971]