Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.00145/0.00145, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001674/0.001674, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9897/0.9897, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2493/0.2493, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/3.014e-05, allocations: 6.25 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002292/0.002322, allocations: 1.704 MB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.003083, allocations: 0.5491 MB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.003142, allocations: 4 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.003582, allocations: 451.1 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.003952, allocations: 303.1 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.004196, allocations: 131.5 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.004399, allocations: 171.6 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.004493, allocations: 15.97 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.004599, allocations: 119.8 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.00478, allocations: 243.6 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.004798, allocations: 4 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.004887, allocations: 51.91 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.004975, allocations: 87.64 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.005012, allocations: 35.75 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.005243, allocations: 211.1 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.005246, allocations: 4 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.005247, allocations: 4 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.005253, allocations: 0 / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005405/0.005793, allocations: 0.6931 MB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.005829, allocations: 15.95 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.005885, allocations: 48.66 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.006325, allocations: 248.8 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.006336, allocations: 4.375 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.006359, allocations: 384 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.006471, allocations: 62.94 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.00648, allocations: 4.188 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.006492, allocations: 12.11 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.006499, allocations: 4 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.4e-05/0.006533, allocations: 19.92 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.006919, allocations: 435.6 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.499e-05/0.006984, allocations: 47.02 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.007006, allocations: 11.69 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.007028, allocations: 4 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.007048, allocations: 37.39 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.007048, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005544/0.007603, allocations: 260.7 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.007631, allocations: 51.41 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.008014, allocations: 0.6238 MB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.008027, allocations: 33.7 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.008163, allocations: 282.7 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.008189, allocations: 31.73 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.00822, allocations: 27.38 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.008366, allocations: 0.5547 MB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.008391, allocations: 15.94 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.00841, allocations: 11.98 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.008457, allocations: 35.69 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.008459, allocations: 0 / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001029/0.008561, allocations: 105.4 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.008574, allocations: 8 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.00858, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.008595, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.008675, allocations: 19.92 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008679, allocations: 0 / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.008704, allocations: 8 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.00871, allocations: 4 kB / 385.8 MB, free: 10.65 MB / 362.7 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 7.306e-05/0.008783, allocations: 168.4 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.008817, allocations: 47.72 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.008962, allocations: 105.5 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.008965, allocations: 4 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.008969, allocations: 0 / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.008973, allocations: 3.984 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.009357, allocations: 0.5008 MB / 386.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.009361, allocations: 4 kB / 386.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.009406, allocations: 24.02 kB / 386.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.009408, allocations: 0 / 386.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.009415, allocations: 0 / 386.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.009418, allocations: 4.469 kB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.009419, allocations: 3.938 kB / 386.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.009557, allocations: 271.2 kB / 386.9 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.00958, allocations: 31.72 kB / 387 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.009598, allocations: 8.422 kB / 387 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.009638, allocations: 0 / 387 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.009669, allocations: 11.92 kB / 387 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.009673, allocations: 4 kB / 387 MB, free: 9.379 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002378/0.009911, allocations: 434.8 kB / 387.4 MB, free: 8.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009911, allocations: 0 / 387.4 MB, free: 8.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000174/0.01008, allocations: 23.94 kB / 387.4 MB, free: 8.934 MB / 362.7 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.0008727/0.01096, allocations: 436.2 kB / 387.9 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.01107, allocations: 47.59 kB / 387.9 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01107, allocations: 0 / 387.9 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.0111, allocations: 27.67 kB / 387.9 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01133, allocations: 32.52 kB / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.01194, allocations: 0.6055 MB / 388.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.129e-05/0.01201, allocations: 127.2 kB / 388.7 MB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.01205, allocations: 13.03 kB / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.01208, allocations: 16.48 kB / 388.7 MB, free: 7.738 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01208, allocations: 0 / 388.7 MB, free: 7.738 MB / 362.7 MB Notification: Performance of Templates: time 0.004177/0.01626, allocations: 1.618 MB / 390.3 MB, free: 6.129 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2592165376991034]