Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006864/0.0006865, allocations: 95.41 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008673/0.0008674, allocations: 204.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.7 MB / 247.5 MB, free: 11.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1895/0.1895, allocations: 46.18 MB / 345.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002322/0.0002322, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1009, allocations: 63.56 MB / 483.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001798/0.1028, allocations: 1.318 MB / 485 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1044, allocations: 1.113 MB / 486.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.1044, allocations: 3.938 kB / 486.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.1046, allocations: 27.84 kB / 486.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1049, allocations: 63.81 kB / 486.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1051, allocations: 75.86 kB / 486.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1053, allocations: 63.83 kB / 486.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.1054, allocations: 7.984 kB / 486.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.1054, allocations: 27.86 kB / 486.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.1056, allocations: 27.84 kB / 486.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1056, allocations: 8 kB / 486.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.1058, allocations: 99.88 kB / 486.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.1058, allocations: 3.984 kB / 486.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.1059, allocations: 45.52 kB / 486.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.106, allocations: 99.86 kB / 486.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1061, allocations: 0 / 486.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1061, allocations: 0 / 486.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.1061, allocations: 0 / 486.7 MB, free: 1.172 MB / 350.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.0004374/0.1065, allocations: 387.5 kB / 487.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1066, allocations: 16.88 kB / 487.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.1066, allocations: 8.828 kB / 487.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.1068, allocations: 198.7 kB / 487.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.1068, allocations: 4.312 kB / 487.3 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1069, allocations: 4.359 kB / 487.3 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.107, allocations: 71.53 kB / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.107, allocations: 0 / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.107, allocations: 3.984 kB / 487.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.107, allocations: 7.938 kB / 487.4 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.67e-05/0.1072, allocations: 31.97 kB / 487.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.1075, allocations: 272.8 kB / 487.7 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1077, allocations: 50.61 kB / 487.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.1078, allocations: 20.83 kB / 487.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1078, allocations: 0 / 487.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.1078, allocations: 34.56 kB / 487.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 2.565e-06/0.1078, allocations: 0 / 487.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005743/0.1084, allocations: 165.2 kB / 488 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.1085, allocations: 77.11 kB / 488 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1086, allocations: 145.8 kB / 488.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1086, allocations: 29.7 kB / 488.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.1087, allocations: 96.05 kB / 488.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.1087, allocations: 15.8 kB / 488.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.1087, allocations: 13.72 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1089, allocations: 318.8 kB / 488.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.289e-05/0.1089, allocations: 19.98 kB / 488.7 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.109, allocations: 41.69 kB / 488.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1092, allocations: 53.03 kB / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1092, allocations: 0 / 488.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.1094, allocations: 101.5 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1094, allocations: 4 kB / 488.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1094, allocations: 0 / 488.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.1095, allocations: 0 / 488.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.1095, allocations: 15.98 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1095, allocations: 0 / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.1096, allocations: 12 kB / 488.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1096, allocations: 7.938 kB / 488.9 MB, free: 14.75 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 8.29e-05/0.1097, allocations: 113.8 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.1097, allocations: 7.906 kB / 489 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.11, allocations: 101.9 kB / 489.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.11, allocations: 4 kB / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.11, allocations: 0 / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.11, allocations: 0 / 489.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.1105, allocations: 358.5 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1105, allocations: 4 kB / 489.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.1105, allocations: 19.92 kB / 489.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1106, allocations: 3.938 kB / 489.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1106, allocations: 4 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1106, allocations: 3.938 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1106, allocations: 0 / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1108, allocations: 187.4 kB / 489.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.1109, allocations: 89.25 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1109, allocations: 3.938 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.111, allocations: 15.94 kB / 489.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.111, allocations: 4 kB / 489.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.111, allocations: 3.984 kB / 489.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.1111, allocations: 117.3 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1111, allocations: 0 / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1114, allocations: 39.98 kB / 489.9 MB, free: 13.59 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.001075/0.1125, allocations: 490.3 kB / 490.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1127, allocations: 55.95 kB / 490.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1127, allocations: 4 kB / 490.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.1128, allocations: 27.98 kB / 490.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.1131, allocations: 19.92 kB / 490.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.1135, allocations: 218.3 kB / 490.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.1138, allocations: 0.6887 MB / 491.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.1139, allocations: 23.42 kB / 491.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1139, allocations: 0 / 491.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Templates: time 0.00356/0.1174, allocations: 1.906 MB / 493.4 MB, free: 10.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches