Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001515/0.001515, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001809/0.001809, allocations: 210.6 kB / 23.73 MB, free: 4.523 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2507/0.2507, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 67.84 kB / 0.4967 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3587, allocations: 66.03 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003631/0.3624, allocations: 1.728 MB / 0.5628 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3643, allocations: 0.9676 MB / 0.5638 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.91e-05/0.3644, allocations: 0 / 0.5638 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.3648, allocations: 39.77 kB / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000385/0.3651, allocations: 103.5 kB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.3654, allocations: 71.73 kB / 0.564 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.3656, allocations: 107.6 kB / 0.5641 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3657, allocations: 11.98 kB / 0.5641 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.3658, allocations: 39.8 kB / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.3659, allocations: 35.83 kB / 0.5642 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3659, allocations: 8 kB / 0.5642 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.366, allocations: 39.98 kB / 0.5642 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.3661, allocations: 19.94 kB / 0.5642 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.3661, allocations: 35.72 kB / 0.5643 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.3664, allocations: 117.9 kB / 0.5644 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3664, allocations: 0 / 0.5644 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3664, allocations: 0 / 0.5644 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3664, allocations: 0 / 0.5644 GB, free: 0.8477 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.0006176/0.367, allocations: 345.6 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3671, allocations: 8.031 kB / 0.5647 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.3671, allocations: 12.84 kB / 0.5647 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.3674, allocations: 150.4 kB / 0.5649 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3674, allocations: 384 / 0.5649 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.3675, allocations: 12.06 kB / 0.5649 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3676, allocations: 53.67 kB / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3677, allocations: 0 / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3677, allocations: 7.984 kB / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3677, allocations: 0 / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.93e-05/0.3678, allocations: 19.98 kB / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.3682, allocations: 232.5 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.3684, allocations: 62.62 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.3685, allocations: 20.84 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3685, allocations: 4 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.3687, allocations: 63.39 kB / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 4.168e-06/0.3687, allocations: 7.922 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007069/0.3694, allocations: 181.3 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.3695, allocations: 63.39 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.3697, allocations: 183.2 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3697, allocations: 25.7 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.3698, allocations: 112.1 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.3698, allocations: 19.84 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.3699, allocations: 25.72 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.37, allocations: 326.8 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.3701, allocations: 27.92 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.3702, allocations: 37.7 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.3703, allocations: 61.69 kB / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.3703, allocations: 0 / 0.5663 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002145/0.3705, allocations: 105.5 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3706, allocations: 4 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3706, allocations: 7.984 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3706, allocations: 0 / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3707, allocations: 12 kB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.3707, allocations: 3.938 kB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.3707, allocations: 8 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.3708, allocations: 7.984 kB / 0.5665 GB, free: 14.49 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.0001204/0.3709, allocations: 125.7 kB / 0.5666 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.3709, allocations: 7.953 kB / 0.5666 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.3712, allocations: 131.1 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3712, allocations: 4 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3712, allocations: 0 / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3712, allocations: 3.984 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.3717, allocations: 350.9 kB / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3717, allocations: 0 / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.3718, allocations: 11.98 kB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3718, allocations: 4.281 kB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3718, allocations: 0 / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3718, allocations: 4.031 kB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.3718, allocations: 7.875 kB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.3721, allocations: 216.2 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.3721, allocations: 7.953 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.3721, allocations: 7.984 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.3722, allocations: 0 / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.3723, allocations: 16.3 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.3723, allocations: 4 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3724, allocations: 142 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3724, allocations: 0 / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.3727, allocations: 28 kB / 0.5675 GB, free: 13.36 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.001905/0.3746, allocations: 497.2 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.3748, allocations: 59.91 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3748, allocations: 4.062 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.576e-05/0.3749, allocations: 27.98 kB / 0.5681 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3753, allocations: 32.67 kB / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.3759, allocations: 239.1 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.3761, allocations: 88.19 kB / 0.5684 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.918e-05/0.3761, allocations: 21.33 kB / 0.5684 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.3762, allocations: 15.44 kB / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3762, allocations: 0 / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of Templates: time 0.005592/0.3817, allocations: 1.931 MB / 0.5703 GB, free: 10.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.298762339632958]