Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.0009539/0.0009539, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009823/0.0009823, allocations: 164.8 kB / 24.99 MB, free: 8.793 MB / 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2601/0.2601, allocations: 32.81 MB / 294.6 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.909e-05, allocations: 6.25 kB / 376 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002855/0.002884, allocations: 1.65 MB / 377.7 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.004051, allocations: 0.5298 MB / 378.2 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.004121, allocations: 0 / 378.2 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.004406, allocations: 79.64 kB / 378.3 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.004714, allocations: 99.53 kB / 378.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.004995, allocations: 99.56 kB / 378.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.005178, allocations: 83.8 kB / 378.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.005288, allocations: 12 kB / 378.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.005368, allocations: 47.88 kB / 378.6 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.005478, allocations: 55.88 kB / 378.7 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.005495, allocations: 4 kB / 378.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.213e-05/0.005587, allocations: 43.92 kB / 378.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.005642, allocations: 23.91 kB / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.005679, allocations: 23.81 kB / 378.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.005864, allocations: 83.72 kB / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005867, allocations: 0 / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005868, allocations: 0 / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.005873, allocations: 4 kB / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004655/0.006338, allocations: 439.9 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.006381, allocations: 12.03 kB / 379.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.006433, allocations: 16.83 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.006609, allocations: 153.1 kB / 379.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.006619, allocations: 4.312 kB / 379.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.006643, allocations: 4.375 kB / 379.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.006783, allocations: 58.94 kB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.006793, allocations: 192 / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.006806, allocations: 12.11 kB / 379.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.006815, allocations: 0 / 379.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.796e-05/0.006853, allocations: 12 kB / 379.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.007206, allocations: 299.6 kB / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.493e-05/0.007281, allocations: 39.05 kB / 379.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.007307, allocations: 15.62 kB / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.007328, allocations: 4 kB / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.007355, allocations: 37.39 kB / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.007357, allocations: 0 / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006521/0.008009, allocations: 173.3 kB / 380.1 MB, free: 0.707 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.008043, allocations: 51.41 kB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.008215, allocations: 234.4 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.008229, allocations: 29.7 kB / 380.4 MB, free: 372 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.008297, allocations: 158.9 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.008327, allocations: 31.73 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.008369, allocations: 27.38 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.008519, allocations: 0.5 MB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/0.008547, allocations: 7.984 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.008571, allocations: 8 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.433e-05/0.008635, allocations: 35.91 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.008636, allocations: 4 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001189/0.008755, allocations: 81.53 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.008772, allocations: 7.984 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008776, allocations: 0 / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.008792, allocations: 4 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.279e-05/0.008885, allocations: 12 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.008892, allocations: 4 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.008919, allocations: 3.984 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.008925, allocations: 7.938 kB / 381.3 MB, free: 15.44 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 8.086e-05/0.009006, allocations: 164.5 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.009038, allocations: 15.91 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.009211, allocations: 95.06 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009214, allocations: 0 / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.009217, allocations: 0 / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.009221, allocations: 3.984 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.009602, allocations: 373 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009604, allocations: 0 / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.009661, allocations: 15.98 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.009666, allocations: 4 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.009673, allocations: 4.031 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.009676, allocations: 0 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.009678, allocations: 0 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.009837, allocations: 243.4 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.009851, allocations: 12.36 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.009866, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.009922, allocations: 0 / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.009963, allocations: 15.92 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.009969, allocations: 4 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.433e-05/0.01006, allocations: 167.2 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01006, allocations: 0 / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.01031, allocations: 20 kB / 382.4 MB, free: 14.24 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.001143/0.01145, allocations: 455.2 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.01158, allocations: 35.66 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01158, allocations: 4 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.01162, allocations: 27.62 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.01191, allocations: 19.94 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.01234, allocations: 245.8 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.01239, allocations: 63.34 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.01244, allocations: 17.02 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.01248, allocations: 20.5 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.362e-06/0.01248, allocations: 0 / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of Templates: time 0.003882/0.01636, allocations: 1.37 MB / 384.7 MB, free: 12.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.21404435695149]