Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007939/0.000794, allocations: 92.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009756/0.0009758, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002841, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 63.57 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002209/0.121, allocations: 1.33 MB / 484.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1221, allocations: 0.534 MB / 485 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.1222, allocations: 0 / 485 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.1225, allocations: 71.78 kB / 485 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.1229, allocations: 91.77 kB / 485.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.1233, allocations: 95.83 kB / 485.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1235, allocations: 83.8 kB / 485.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1236, allocations: 12 kB / 485.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.1237, allocations: 31.84 kB / 485.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1238, allocations: 59.77 kB / 485.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1239, allocations: 0 / 485.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.124, allocations: 43.98 kB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.1241, allocations: 23.91 kB / 485.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.063e-05/0.1242, allocations: 53.44 kB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1244, allocations: 99.69 kB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1244, allocations: 0 / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.1244, allocations: 0 / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1244, allocations: 7.938 kB / 485.6 MB, free: 1.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005246/0.1249, allocations: 395.5 kB / 486 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.125, allocations: 8.875 kB / 486 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.125, allocations: 12.75 kB / 486 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1253, allocations: 206.6 kB / 486.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1253, allocations: 4.375 kB / 486.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.1253, allocations: 384 / 486.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1255, allocations: 61.8 kB / 486.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1255, allocations: 0 / 486.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1255, allocations: 0 / 486.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.1255, allocations: 8 kB / 486.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1257, allocations: 31.97 kB / 486.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1261, allocations: 308.6 kB / 486.6 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1262, allocations: 50.55 kB / 486.7 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.1263, allocations: 20.94 kB / 486.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.1263, allocations: 0 / 486.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1263, allocations: 34.56 kB / 486.7 MB, free: 332 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1263, allocations: 0 / 486.7 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009698/0.1273, allocations: 277.4 kB / 487 MB, free: 48 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1274, allocations: 51.41 kB / 487.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.1276, allocations: 218.7 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1276, allocations: 33.64 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1277, allocations: 100.1 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1277, allocations: 31.64 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.1278, allocations: 13.72 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1279, allocations: 322.8 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.351e-05/0.128, allocations: 31.98 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.1281, allocations: 40.03 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.1283, allocations: 88.81 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1283, allocations: 0 / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002358/0.1285, allocations: 121.4 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1285, allocations: 12 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1286, allocations: 4 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1286, allocations: 0 / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1287, allocations: 19.98 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1287, allocations: 0 / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.1288, allocations: 11.98 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1288, allocations: 11.98 kB / 488.1 MB, free: 14.9 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 (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 9.574e-05/0.1289, allocations: 129.8 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.1289, allocations: 7.906 kB / 488.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.1293, allocations: 150.8 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1293, allocations: 0 / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1293, allocations: 0 / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1293, allocations: 3.938 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.1299, allocations: 427.3 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1299, allocations: 0 / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.559e-05/0.13, allocations: 19.98 kB / 488.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.13, allocations: 7.969 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.13, allocations: 4 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.13, allocations: 0 / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.13, allocations: 0 / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.1303, allocations: 228.5 kB / 489 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.1303, allocations: 92.95 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1304, allocations: 4 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.1304, allocations: 7.984 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1305, allocations: 8 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.1305, allocations: 7.922 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1306, allocations: 164.7 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1307, allocations: 4 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1309, allocations: 24 kB / 489.4 MB, free: 13.53 MB / 366.1 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.001033/0.132, allocations: 449.1 kB / 489.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.1322, allocations: 87.89 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1322, allocations: 0 / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1323, allocations: 47.91 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1327, allocations: 23.98 kB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.1332, allocations: 310 kB / 490.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1335, allocations: 0.7083 MB / 491 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.855e-05/0.1336, allocations: 16.97 kB / 491 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.1336, allocations: 15.42 kB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1336, allocations: 0 / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Templates: time 0.003813/0.1374, allocations: 1.319 MB / 492.3 MB, free: 10.68 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches