Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 112.6 kB / 21.1 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 190.8 kB / 24.36 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 253.1 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] 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.2269/0.2269, allocations: 44.91 MB / 353.2 MB, free: 11.86 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 63.89 kB / 497.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4545, allocations: 64.29 MB / 0.5484 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.004785/0.4593, allocations: 1.593 MB / 0.55 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.4619, allocations: 1.119 MB / 0.5511 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.462, allocations: 4 kB / 0.5511 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.4624, allocations: 20.08 kB / 0.5511 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.4627, allocations: 47.36 kB / 0.5512 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.4631, allocations: 86.61 kB / 0.5512 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.4633, allocations: 58.52 kB / 0.5513 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.4634, allocations: 12.56 kB / 0.5513 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.4635, allocations: 27.97 kB / 0.5513 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.4637, allocations: 21.11 kB / 0.5514 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.4637, allocations: 3.594 kB / 0.5514 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.4638, allocations: 56.44 kB / 0.5514 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.4639, allocations: 15.08 kB / 0.5514 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.4639, allocations: 19 kB / 0.5514 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.4642, allocations: 88.59 kB / 0.5515 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4642, allocations: 1.094 kB / 0.5515 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4642, allocations: 0 / 0.5515 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.4642, allocations: 0 / 0.5515 GB, free: 10.7 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.0005514/0.4648, allocations: 302 kB / 0.5518 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4648, allocations: 11.7 kB / 0.5518 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.4648, allocations: 11.95 kB / 0.5518 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.465, allocations: 122 kB / 0.552 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.465, allocations: 1.344 kB / 0.552 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.4651, allocations: 1.594 kB / 0.552 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.4652, allocations: 71.42 kB / 0.552 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.4653, allocations: 5.203 kB / 0.552 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4653, allocations: 0 / 0.552 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4653, allocations: 1.094 kB / 0.552 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.322e-05/0.4654, allocations: 24.58 kB / 0.5521 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.4657, allocations: 244.5 kB / 0.5523 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.466, allocations: 42.81 kB / 0.5523 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.466, allocations: 15.3 kB / 0.5523 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.466, allocations: 1.094 kB / 0.5523 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.4661, allocations: 35.66 kB / 0.5524 GB, free: 9.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4661, allocations: 0 / 0.5524 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006255/0.4667, allocations: 135.1 kB / 0.5525 GB, free: 9.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.4668, allocations: 82.22 kB / 0.5526 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.467, allocations: 136 kB / 0.5527 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.467, allocations: 25.7 kB / 0.5527 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.4671, allocations: 102.5 kB / 0.5528 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.4671, allocations: 18.12 kB / 0.5529 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.4672, allocations: 22.3 kB / 0.5529 GB, free: 9.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003645/0.4675, allocations: 321 kB / 0.5532 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.377e-05/0.4676, allocations: 22.27 kB / 0.5532 GB, free: 9.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.832e-05/0.4677, allocations: 30.33 kB / 0.5532 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.4678, allocations: 51.3 kB / 0.5533 GB, free: 8.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4678, allocations: 1.156 kB / 0.5533 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000206/0.468, allocations: 79.5 kB / 0.5534 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.4681, allocations: 5.844 kB / 0.5534 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.4681, allocations: 4.062 kB / 0.5534 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.4681, allocations: 1.125 kB / 0.5534 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.4682, allocations: 13.33 kB / 0.5534 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4682, allocations: 4 kB / 0.5534 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.4682, allocations: 7.359 kB / 0.5534 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4682, allocations: 2.281 kB / 0.5534 GB, free: 8.879 MB / 398.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.0001572/0.4684, allocations: 125 kB / 0.5535 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.4684, allocations: 7.672 kB / 0.5535 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.4687, allocations: 87.16 kB / 0.5536 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4687, allocations: 1.062 kB / 0.5536 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4687, allocations: 5.125 kB / 0.5536 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4687, allocations: 0 / 0.5536 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.4691, allocations: 315.4 kB / 0.5539 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.4691, allocations: 1.156 kB / 0.5539 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.4692, allocations: 8.469 kB / 0.5539 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4692, allocations: 1.188 kB / 0.5539 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.4692, allocations: 5.188 kB / 0.5539 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4692, allocations: 3.938 kB / 0.5539 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/0.4692, allocations: 9.047 kB / 0.5539 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.4695, allocations: 174.5 kB / 0.5541 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.4695, allocations: 6.203 kB / 0.5541 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.4695, allocations: 1.031 kB / 0.5541 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.4695, allocations: 11.23 kB / 0.5541 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.4696, allocations: 2.406 kB / 0.5541 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.4696, allocations: 9.031 kB / 0.5541 GB, free: 8.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.4697, allocations: 110.2 kB / 0.5542 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4697, allocations: 0 / 0.5542 GB, free: 8.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000267/0.47, allocations: 22.44 kB / 0.5543 GB, free: 8.07 MB / 398.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.001657/0.4716, allocations: 445 kB / 0.5547 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.4719, allocations: 47.03 kB / 0.5547 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4719, allocations: 0 / 0.5547 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.4719, allocations: 27.42 kB / 0.5548 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.4723, allocations: 22.11 kB / 0.5548 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.4728, allocations: 166.2 kB / 0.5549 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.4731, allocations: 0.6913 MB / 0.5556 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.947e-05/0.4732, allocations: 5.406 kB / 0.5556 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.4732, allocations: 16.86 kB / 0.5556 GB, free: 6.945 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4732, allocations: 1.031 kB / 0.5556 GB, free: 6.945 MB / 398.1 MB Notification: Performance of Templates: time 0.005048/0.4783, allocations: 1.373 MB / 0.557 GB, free: 6.23 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.405207335948944]