Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001327/0.001327, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001465/0.001465, allocations: 208.2 kB / 24.47 MB, free: 3.977 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 / 258.2 MB, free: 7.793 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.2435/0.2435, allocations: 46.97 MB / 361.6 MB, free: 4.051 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.91 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3904, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003371/0.3938, allocations: 1.608 MB / 0.5634 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3957, allocations: 1.244 MB / 0.5646 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.3958, allocations: 0 / 0.5646 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.396, allocations: 19.86 kB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.3964, allocations: 87.61 kB / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.3966, allocations: 107.4 kB / 0.5648 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3968, allocations: 71.83 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3969, allocations: 19.64 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.016e-05/0.397, allocations: 31.84 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.3971, allocations: 27.86 kB / 0.565 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.3972, allocations: 4 kB / 0.565 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.3973, allocations: 99.88 kB / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.3974, allocations: 15.92 kB / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.3974, allocations: 23.86 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.3977, allocations: 154.2 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3977, allocations: 0 / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3977, allocations: 3.938 kB / 0.5652 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3977, allocations: 0 / 0.5652 GB, free: 0.6758 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005484/0.3983, allocations: 341.5 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3983, allocations: 8.031 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.3983, allocations: 8.891 kB / 0.5656 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.3985, allocations: 134.5 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3986, allocations: 384 / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.3986, allocations: 8.375 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.3988, allocations: 117.1 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3988, allocations: 0 / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3988, allocations: 0 / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3988, allocations: 0 / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.399, allocations: 35.97 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.3993, allocations: 244.4 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.3995, allocations: 50.5 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.3995, allocations: 20.97 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3996, allocations: 0 / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.3996, allocations: 38.56 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.3996, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006473/0.4002, allocations: 173.4 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.4003, allocations: 77.11 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.4005, allocations: 160.2 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.4005, allocations: 33.64 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.4006, allocations: 96.08 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.4006, allocations: 27.8 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.4007, allocations: 25.72 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4009, allocations: 322.8 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.4009, allocations: 27.92 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.401, allocations: 71.45 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.4012, allocations: 64.77 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4012, allocations: 0 / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000223/0.4014, allocations: 89.66 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4014, allocations: 15.98 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4014, allocations: 0 / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4015, allocations: 0 / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.4016, allocations: 19.98 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4016, allocations: 0 / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.4016, allocations: 8 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.4016, allocations: 3.938 kB / 0.5674 GB, free: 14.3 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.0001152/0.4018, allocations: 117.8 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.4018, allocations: 11.95 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.4021, allocations: 122.6 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4021, allocations: 0 / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4021, allocations: 3.984 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4021, allocations: 0 / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.4026, allocations: 330 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4026, allocations: 0 / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.368e-05/0.4027, allocations: 16.36 kB / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4027, allocations: 8 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.4027, allocations: 0 / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4027, allocations: 7.938 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4027, allocations: 0 / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.403, allocations: 203.4 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.403, allocations: 11.94 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.4031, allocations: 3.938 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.4031, allocations: 7.938 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.4032, allocations: 11.98 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.4032, allocations: 0 / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.4033, allocations: 125.6 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4033, allocations: 0 / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.4036, allocations: 39.86 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001974/0.4056, allocations: 0.5147 MB / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.4059, allocations: 71.88 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4059, allocations: 0 / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.629e-05/0.406, allocations: 27.98 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.4063, allocations: 21.61 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.4068, allocations: 201.8 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.407, allocations: 87.66 kB / 0.5692 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.229e-05/0.407, allocations: 16.95 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.4071, allocations: 19.42 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4071, allocations: 4 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.005291/0.4124, allocations: 1.922 MB / 0.5712 GB, free: 10.53 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.167741109995404]