Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001707/0.001707, allocations: 103 kB / 21.18 MB, free: 0.6523 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.001434/0.001434, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2245/0.2245, allocations: 46.96 MB / 361.6 MB, free: 4.023 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 63.88 kB / 0.4974 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3364, allocations: 66.04 MB / 0.5619 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003115/0.3395, allocations: 1.713 MB / 0.5636 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3414, allocations: 0.9715 MB / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.3414, allocations: 0 / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.3418, allocations: 63.73 kB / 0.5646 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.3421, allocations: 99.59 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.3423, allocations: 79.67 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.3425, allocations: 107.6 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.3426, allocations: 11.98 kB / 0.5648 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.3426, allocations: 39.8 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.3427, allocations: 39.78 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.3428, allocations: 4 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.3429, allocations: 39.98 kB / 0.565 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.3429, allocations: 27.91 kB / 0.565 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.507e-05/0.343, allocations: 31.73 kB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3432, allocations: 145.8 kB / 0.5652 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3432, allocations: 0 / 0.5652 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3432, allocations: 0 / 0.5652 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3432, allocations: 3.938 kB / 0.5652 GB, free: 0.7422 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.0006082/0.3438, allocations: 385.3 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3439, allocations: 8.031 kB / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.3439, allocations: 16.84 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.3442, allocations: 151.3 kB / 0.5657 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3442, allocations: 4.375 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.3442, allocations: 8.125 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3444, allocations: 61.61 kB / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3444, allocations: 0 / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3444, allocations: 0 / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3444, allocations: 4 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.3445, allocations: 23.97 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.3449, allocations: 244.5 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.3451, allocations: 58.61 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.3452, allocations: 20.84 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.3452, allocations: 0 / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.3453, allocations: 71.39 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3453, allocations: 0 / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006105/0.346, allocations: 201.2 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.346, allocations: 51.41 kB / 0.5664 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.3463, allocations: 274.8 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.3463, allocations: 33.69 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.3464, allocations: 124.1 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.3464, allocations: 19.8 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.3465, allocations: 29.7 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3466, allocations: 334.7 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.3467, allocations: 19.98 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.458e-05/0.3468, allocations: 41.64 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3469, allocations: 61.7 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3469, allocations: 0 / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00022/0.3471, allocations: 113.5 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3472, allocations: 4 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3472, allocations: 0 / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3472, allocations: 0 / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.3473, allocations: 19.98 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3473, allocations: 0 / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.3473, allocations: 4 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.3473, allocations: 4.031 kB / 0.5675 GB, free: 14.21 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.000124/0.3475, allocations: 141.7 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.3475, allocations: 15.91 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.3478, allocations: 131 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3478, allocations: 0 / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3478, allocations: 0 / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3478, allocations: 0 / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.3483, allocations: 363.1 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3483, allocations: 0 / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.3483, allocations: 20.02 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3483, allocations: 3.984 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3483, allocations: 0 / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3484, allocations: 4 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3484, allocations: 3.938 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.3486, allocations: 216.5 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.3487, allocations: 19.89 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.3487, allocations: 4.375 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.3488, allocations: 0 / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.3488, allocations: 15.92 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3488, allocations: 12 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.349, allocations: 204.6 kB / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.349, allocations: 0 / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.3493, allocations: 31.89 kB / 0.5686 GB, free: 12.96 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.001886/0.3512, allocations: 492 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.3514, allocations: 59.95 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3514, allocations: 0 / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.3515, allocations: 35.92 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.3519, allocations: 33.27 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.3524, allocations: 295.6 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.3525, allocations: 113.2 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.3526, allocations: 21.2 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.3526, allocations: 15.44 kB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3526, allocations: 3.938 kB / 0.5696 GB, free: 12.08 MB / 414.1 MB Notification: Performance of Templates: time 0.005377/0.358, allocations: 1.968 MB / 0.5715 GB, free: 10.14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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: 4.966492368999752]