Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001922/0.001922, allocations: 107.6 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.002687/0.002687, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.529/1.529, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2276/0.2276, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.84 kB / 0.4974 GB, free: 7.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 66.04 MB / 0.5619 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003253/0.3308, allocations: 1.706 MB / 0.5636 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3326, allocations: 0.9677 MB / 0.5645 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.3327, allocations: 11.88 kB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.333, allocations: 47.81 kB / 0.5646 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.3333, allocations: 107.5 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.3335, allocations: 83.66 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3337, allocations: 103.7 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.117e-05/0.3338, allocations: 7.984 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.3338, allocations: 39.8 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.547e-05/0.3339, allocations: 43.7 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.334, allocations: 8 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.301e-05/0.3341, allocations: 39.98 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.3341, allocations: 31.91 kB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.3342, allocations: 31.75 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3344, allocations: 141.8 kB / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3344, allocations: 0 / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.3344, allocations: 3.984 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3344, allocations: 0 / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005816/0.335, allocations: 381.2 kB / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.335, allocations: 8.031 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.3351, allocations: 16.84 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.3354, allocations: 170 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3354, allocations: 8.359 kB / 0.5657 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3354, allocations: 8.125 kB / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3356, allocations: 53.67 kB / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3356, allocations: 0 / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3356, allocations: 0 / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3356, allocations: 4 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.033e-05/0.3357, allocations: 19.92 kB / 0.5658 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.3361, allocations: 248.5 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.3363, allocations: 54.69 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.585e-05/0.3363, allocations: 28.84 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.3364, allocations: 0 / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3365, allocations: 75.31 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3365, allocations: 3.938 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005811/0.3371, allocations: 185.2 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.3372, allocations: 63.39 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.3375, allocations: 283.9 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3375, allocations: 25.7 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.3376, allocations: 124.1 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.3376, allocations: 23.86 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.3377, allocations: 25.7 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3378, allocations: 330.8 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.3379, allocations: 23.98 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.097e-05/0.338, allocations: 41.64 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3381, allocations: 65.7 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3381, allocations: 0 / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000205/0.3383, allocations: 109.5 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.3383, allocations: 8.031 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3383, allocations: 0 / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3383, allocations: 0 / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.3384, allocations: 23.92 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3384, allocations: 0 / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.3385, allocations: 8 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.3385, allocations: 0 / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001225/0.3386, allocations: 137.8 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.3387, allocations: 19.89 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.3389, allocations: 123 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.339, allocations: 11.98 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.339, allocations: 0 / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.339, allocations: 0 / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.3395, allocations: 362.9 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3395, allocations: 3.984 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.3395, allocations: 8 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.3395, allocations: 4 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3395, allocations: 8.312 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3395, allocations: 0 / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3395, allocations: 7.938 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.3398, allocations: 228.5 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.3398, allocations: 11.91 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.3399, allocations: 7.938 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.3399, allocations: 4.094 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.34, allocations: 15.86 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.34, allocations: 4 kB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.3402, allocations: 220.6 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3402, allocations: 0 / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000272/0.3405, allocations: 27.98 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.001844/0.3423, allocations: 492 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3425, allocations: 63.89 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3425, allocations: 0 / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.303e-05/0.3426, allocations: 32 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.343, allocations: 32.59 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.3436, allocations: 341.3 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.3437, allocations: 109.1 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.3438, allocations: 19.42 kB / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3438, allocations: 8 kB / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of Templates: time 0.00426/0.348, allocations: 2.177 MB / 0.5718 GB, free: 9.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.979309087997535]