Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001687/0.001687, 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.002048/0.002048, allocations: 213.2 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.507/1.507, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.2474/0.2474, allocations: 46.97 MB / 361.6 MB, free: 4.059 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.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 64.14 kB / 0.4974 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3195, allocations: 66.03 MB / 0.5619 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00353/0.323, allocations: 1.909 MB / 0.5637 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3249, allocations: 1.01 MB / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.985e-05/0.325, allocations: 7.938 kB / 0.5647 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.3254, allocations: 43.7 kB / 0.5648 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.3257, allocations: 103.5 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.3259, allocations: 91.72 kB / 0.565 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.3262, allocations: 155.5 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3263, allocations: 21.39 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.3264, allocations: 63.72 kB / 0.5652 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3265, allocations: 47.7 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.3265, allocations: 4 kB / 0.5652 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3266, allocations: 51.92 kB / 0.5653 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.3267, allocations: 31.91 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.3268, allocations: 39.73 kB / 0.5654 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.3271, allocations: 150.1 kB / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3271, allocations: 0 / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3271, allocations: 0 / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.3271, allocations: 0 / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007163/0.3278, allocations: 423 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3278, allocations: 12.03 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.3279, allocations: 20.78 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.3282, allocations: 163.1 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3282, allocations: 4.375 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.3282, allocations: 12.12 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.3285, allocations: 133.9 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3285, allocations: 0 / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3285, allocations: 4 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3285, allocations: 8 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.3287, allocations: 47.89 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.3293, allocations: 448.7 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.3296, allocations: 86.59 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.3297, allocations: 36.83 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3298, allocations: 4 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.33, allocations: 117 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.33, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004405/0.3304, allocations: 145.5 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.3305, allocations: 55.34 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3307, allocations: 215 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3307, allocations: 29.7 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3309, allocations: 116.1 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.3309, allocations: 35.72 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.331, allocations: 29.72 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3311, allocations: 326.8 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.3312, allocations: 27.98 kB / 0.5679 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.3313, allocations: 68.27 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.3315, allocations: 96.2 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3315, allocations: 4 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002905/0.3318, allocations: 137.8 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3318, allocations: 8 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3318, allocations: 4.078 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3319, allocations: 11.88 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.332, allocations: 19.98 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.332, allocations: 7.938 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.332, allocations: 16.08 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.332, allocations: 7.938 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001488/0.3322, allocations: 133.7 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.3322, allocations: 15.91 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.3325, allocations: 135 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3325, allocations: 4 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3325, allocations: 3.938 kB / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3325, allocations: 0 / 0.5685 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.3327, allocations: 145.3 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3327, allocations: 4 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.3328, allocations: 15.98 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3328, allocations: 0 / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3328, allocations: 4 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3328, allocations: 0 / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3328, allocations: 0 / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.3332, allocations: 196.8 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.3332, allocations: 11.94 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3333, allocations: 4 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.3333, allocations: 12.05 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.3334, allocations: 7.984 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.3334, allocations: 11.94 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.3335, allocations: 143.2 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3335, allocations: 0 / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.3338, allocations: 31.94 kB / 0.5691 GB, free: 12.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0016/0.3354, allocations: 450 kB / 0.5695 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.3356, allocations: 80.03 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3356, allocations: 0 / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3357, allocations: 39.91 kB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.336, allocations: 45.66 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.3366, allocations: 301.1 kB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.3367, allocations: 113.9 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.3367, allocations: 19.42 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3367, allocations: 0 / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Templates: time 0.004289/0.341, allocations: 2.257 MB / 0.5723 GB, free: 9.281 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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: 7.954262280836701]