Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001866/0.001866, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.00164/0.00164, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.385/1.385, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 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.2021/0.2021, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.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.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.Test2,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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.58e-05, allocations: 2.281 kB / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002848/0.002874, allocations: 1.576 MB / 441.7 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.00394, allocations: 0.5414 MB / 442.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.003986, allocations: 0 / 442.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.004184, allocations: 27.77 kB / 442.3 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.00448, allocations: 71.64 kB / 442.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.004782, allocations: 113.7 kB / 442.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.004947, allocations: 71.77 kB / 442.5 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.005047, allocations: 11.98 kB / 442.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.005114, allocations: 31.86 kB / 442.5 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.005178, allocations: 23.91 kB / 442.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.005194, allocations: 0 / 442.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.41e-05/0.005278, allocations: 35.92 kB / 442.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.005332, allocations: 15.88 kB / 442.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.005364, allocations: 11.98 kB / 442.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.005542, allocations: 79.72 kB / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005545, allocations: 0 / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005546, allocations: 0 / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.00555, allocations: 0 / 442.7 MB, free: 5.535 MB / 366.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.0004667/0.006017, allocations: 309.9 kB / 443 MB, free: 5.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.006054, allocations: 12.03 kB / 443 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.006094, allocations: 8.891 kB / 443 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.006282, allocations: 140.2 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.0063, allocations: 8.359 kB / 443.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.006326, allocations: 4.359 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.006477, allocations: 50.25 kB / 443.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.00649, allocations: 192 / 443.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.006502, allocations: 4.125 kB / 443.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.006506, allocations: 0 / 443.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.642e-05/0.006602, allocations: 27.97 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.006987, allocations: 228.5 kB / 443.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.007211, allocations: 42.56 kB / 443.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.007265, allocations: 16.94 kB / 443.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.007285, allocations: 3.938 kB / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.007311, allocations: 34.56 kB / 443.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.007312, allocations: 0 / 443.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005863/0.007898, allocations: 153.4 kB / 443.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.007937, allocations: 51.41 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.008089, allocations: 152.9 kB / 443.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.008111, allocations: 25.7 kB / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.00817, allocations: 96.08 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.008196, allocations: 23.84 kB / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.008236, allocations: 17.72 kB / 444.1 MB, free: 4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.008379, allocations: 322.8 kB / 444.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.008456, allocations: 19.98 kB / 444.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.00852, allocations: 27.92 kB / 444.5 MB, free: 3.629 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.008662, allocations: 52.77 kB / 444.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.008665, allocations: 4 kB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001966/0.008862, allocations: 85.55 kB / 444.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.008877, allocations: 4 kB / 444.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.008882, allocations: 256 / 444.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.008896, allocations: 4 kB / 444.6 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.008967, allocations: 19.98 kB / 444.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.008972, allocations: 0 / 444.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.009015, allocations: 11.94 kB / 444.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.009021, allocations: 3.938 kB / 444.6 MB, free: 3.438 MB / 366.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 9.251e-05/0.009114, allocations: 122.5 kB / 444.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.009148, allocations: 11.89 kB / 444.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.009402, allocations: 94.11 kB / 444.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009404, allocations: 0 / 444.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.009409, allocations: 7.984 kB / 444.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009413, allocations: 4 kB / 444.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.009823, allocations: 294.1 kB / 445.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009824, allocations: 0 / 445.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.009882, allocations: 11.98 kB / 445.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.009884, allocations: 0 / 445.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.009893, allocations: 4 kB / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.009895, allocations: 0 / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009895, allocations: 0 / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.01016, allocations: 195.3 kB / 445.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.01017, allocations: 3.953 kB / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.01018, allocations: 4 kB / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.01025, allocations: 7.984 kB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.01029, allocations: 288 / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.01029, allocations: 192 / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.696e-05/0.01039, allocations: 119.2 kB / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01039, allocations: 0 / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000249/0.01064, allocations: 19.94 kB / 445.5 MB, free: 2.484 MB / 366.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.001548/0.01219, allocations: 441.8 kB / 445.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.01239, allocations: 51.95 kB / 446 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01239, allocations: 0 / 446 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.01247, allocations: 27.92 kB / 446 MB, free: 2.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.0128, allocations: 22.97 kB / 446 MB, free: 2.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.01323, allocations: 181.4 kB / 446.2 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.096e-05/0.01331, allocations: 83.31 kB / 446.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.01336, allocations: 15.98 kB / 446.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.0134, allocations: 12.5 kB / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.0134, allocations: 0 / 446.3 MB, free: 1.793 MB / 366.1 MB Notification: Performance of Templates: time 0.004138/0.01753, allocations: 1.167 MB / 447.5 MB, free: 0.6367 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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: 4.53545394167304]