Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001499/0.001499, allocations: 111 kB / 21.18 MB, free: 0.668 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.001499/0.001499, allocations: 209 kB / 24.48 MB, free: 3.969 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.545/1.545, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2273/0.2273, allocations: 46.96 MB / 361.6 MB, free: 4.047 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 68.12 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3597, allocations: 66.04 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003308/0.363, allocations: 1.586 MB / 0.5634 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3641, allocations: 0.531 MB / 0.5639 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.3642, allocations: 7.938 kB / 0.5639 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.3644, allocations: 19.86 kB / 0.5639 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.3647, allocations: 83.61 kB / 0.564 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.3649, allocations: 107.4 kB / 0.5641 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.3651, allocations: 67.83 kB / 0.5642 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3652, allocations: 8 kB / 0.5642 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.3653, allocations: 27.84 kB / 0.5642 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.3653, allocations: 27.8 kB / 0.5642 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3653, allocations: 8 kB / 0.5642 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.3654, allocations: 31.98 kB / 0.5643 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.3655, allocations: 11.94 kB / 0.5643 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.3655, allocations: 19.86 kB / 0.5643 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.3657, allocations: 82.05 kB / 0.5644 GB, free: 1.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3657, allocations: 0 / 0.5644 GB, free: 1.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3657, allocations: 0 / 0.5644 GB, free: 1.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3657, allocations: 0 / 0.5644 GB, free: 1.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004597/0.3662, allocations: 313.8 kB / 0.5647 GB, free: 1.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3662, allocations: 11.97 kB / 0.5647 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.3663, allocations: 12.89 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.3665, allocations: 138.4 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.3665, allocations: 384 / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.3665, allocations: 4.375 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3666, allocations: 53.8 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3667, allocations: 0 / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3667, allocations: 0 / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3667, allocations: 7.938 kB / 0.5649 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.033e-05/0.3668, allocations: 19.98 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.3671, allocations: 236.4 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3673, allocations: 42.56 kB / 0.5652 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.3674, allocations: 20.94 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3674, allocations: 0 / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.3674, allocations: 30.56 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.3674, allocations: 0 / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005776/0.368, allocations: 153.4 kB / 0.5654 GB, free: 460 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.368, allocations: 55.41 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.3682, allocations: 148.4 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3682, allocations: 29.7 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.3683, allocations: 96.06 kB / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3683, allocations: 23.8 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.3684, allocations: 17.7 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3685, allocations: 322.8 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.3686, allocations: 28.03 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.3687, allocations: 19.98 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3688, allocations: 56.83 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3688, allocations: 0 / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001929/0.369, allocations: 85.61 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.369, allocations: 4 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.369, allocations: 4 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.369, allocations: 0 / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.3691, allocations: 11.94 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3691, allocations: 3.984 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.3692, allocations: 11.94 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3692, allocations: 0 / 0.5663 GB, free: 15.49 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 (5): * Single equations (assignments): 5 * 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.0001034/0.3693, allocations: 121.8 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.3693, allocations: 11.94 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.3696, allocations: 90.06 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3696, allocations: 4 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3696, allocations: 0 / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3696, allocations: 0 / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.37, allocations: 314.1 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.37, allocations: 320 / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.3701, allocations: 15.98 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3701, allocations: 4 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3701, allocations: 0 / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3701, allocations: 0 / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3701, allocations: 0 / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.3704, allocations: 187.3 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.3704, allocations: 20.17 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3704, allocations: 0 / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.3705, allocations: 7.984 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.3705, allocations: 0 / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3705, allocations: 11.92 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.3706, allocations: 115.2 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3706, allocations: 0 / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.3709, allocations: 15.94 kB / 0.5671 GB, free: 14.51 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 (5): * Single equations (assignments): 5 * 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.001635/0.3725, allocations: 432.7 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3727, allocations: 59.89 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3727, allocations: 0 / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.751e-05/0.3728, allocations: 23.98 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3732, allocations: 19.92 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.3736, allocations: 186.2 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.3737, allocations: 87.02 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.3738, allocations: 19.75 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.3738, allocations: 15.42 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3738, allocations: 0 / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of Templates: time 0.003946/0.3778, allocations: 1.201 MB / 0.5691 GB, free: 12.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.159748517995467]