Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001783/0.001783, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002166/0.002166, allocations: 203.8 kB / 23.73 MB, free: 4.379 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2321/0.2321, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 63.91 kB / 0.4966 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3618, allocations: 66.04 MB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.004604/0.3664, allocations: 1.613 MB / 0.5627 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3681, allocations: 0.527 MB / 0.5632 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.3681, allocations: 0 / 0.5632 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.3685, allocations: 87.75 kB / 0.5633 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.369, allocations: 123.5 kB / 0.5634 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.3694, allocations: 91.7 kB / 0.5635 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.3696, allocations: 79.81 kB / 0.5636 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.3697, allocations: 15.64 kB / 0.5636 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.3698, allocations: 43.84 kB / 0.5636 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.37, allocations: 59.8 kB / 0.5637 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.37, allocations: 4 kB / 0.5637 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.3701, allocations: 43.98 kB / 0.5637 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.215e-05/0.3702, allocations: 19.92 kB / 0.5637 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.3703, allocations: 39.67 kB / 0.5638 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.3706, allocations: 102.3 kB / 0.5639 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3706, allocations: 0 / 0.5639 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3706, allocations: 3.938 kB / 0.5639 GB, free: 1.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3706, allocations: 0 / 0.5639 GB, free: 1.293 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006613/0.3713, allocations: 353.5 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.3713, allocations: 8.031 kB / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.3714, allocations: 16.84 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3716, allocations: 138.9 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3716, allocations: 4.312 kB / 0.5644 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.3717, allocations: 12.33 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.3719, allocations: 57.8 kB / 0.5644 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.372, allocations: 0 / 0.5644 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.372, allocations: 4 kB / 0.5644 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.372, allocations: 0 / 0.5644 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3721, allocations: 27.97 kB / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.3727, allocations: 232.5 kB / 0.5647 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3728, allocations: 46.5 kB / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/0.3729, allocations: 20.94 kB / 0.5648 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.3729, allocations: 4 kB / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.373, allocations: 34.56 kB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 3.918e-06/0.373, allocations: 3.984 kB / 0.5648 GB, free: 244 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001264/0.3743, allocations: 225.2 kB / 0.565 GB, free: 12 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.3743, allocations: 55.41 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.3747, allocations: 238.6 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3747, allocations: 25.7 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3748, allocations: 108.1 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.3749, allocations: 35.8 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.375, allocations: 17.72 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.3752, allocations: 338.7 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3753, allocations: 23.98 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3754, allocations: 23.98 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.3757, allocations: 68.83 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3757, allocations: 0 / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003948/0.3761, allocations: 105.8 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3761, allocations: 4 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3761, allocations: 0 / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3761, allocations: 4 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.3762, allocations: 19.92 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3763, allocations: 0 / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.045e-05/0.3763, allocations: 12 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3763, allocations: 7.938 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001531/0.3765, allocations: 125.8 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.3765, allocations: 7.953 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.377, allocations: 130.9 kB / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.377, allocations: 0 / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.377, allocations: 0 / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.377, allocations: 0 / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007668/0.3777, allocations: 358.8 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3777, allocations: 0 / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3778, allocations: 19.98 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3778, allocations: 0 / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3779, allocations: 0 / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3779, allocations: 3.938 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3779, allocations: 4 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.3783, allocations: 204.2 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.3783, allocations: 11.98 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.3783, allocations: 4 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3784, allocations: 7.938 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.3785, allocations: 11.92 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3785, allocations: 4 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002641/0.3788, allocations: 176.3 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3788, allocations: 0 / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004776/0.3792, allocations: 23.95 kB / 0.5671 GB, free: 13.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002746/0.382, allocations: 499.6 kB / 0.5676 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003837/0.3824, allocations: 63.89 kB / 0.5676 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3824, allocations: 0 / 0.5676 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.3825, allocations: 40.06 kB / 0.5677 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.3831, allocations: 27.61 kB / 0.5677 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008254/0.384, allocations: 270.9 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.3841, allocations: 100.7 kB / 0.568 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.982e-05/0.3842, allocations: 12.73 kB / 0.5681 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.3843, allocations: 11.44 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3843, allocations: 3.938 kB / 0.5681 GB, free: 12.89 MB / 414.1 MB Notification: Performance of Templates: time 0.007938/0.3922, allocations: 1.449 MB / 0.5695 GB, free: 11.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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: 5.185894106980413]