Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.21/0.21, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 85 kB / 417.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1158, allocations: 62.45 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002719/0.1186, allocations: 1.639 MB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.1195, allocations: 0.5688 MB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.1195, allocations: 4 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.1198, allocations: 91.67 kB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.12, allocations: 115.6 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1203, allocations: 115.7 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1205, allocations: 95.75 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.1206, allocations: 31.97 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.1206, allocations: 47.84 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.418e-05/0.1207, allocations: 59.81 kB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1207, allocations: 4 kB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.1208, allocations: 47.98 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.1209, allocations: 35.84 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.1209, allocations: 39.67 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1211, allocations: 135.8 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1211, allocations: 0 / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1211, allocations: 0 / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1211, allocations: 0 / 483.1 MB, free: 2.188 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004394/0.1216, allocations: 434.8 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.1216, allocations: 8.031 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.1216, allocations: 16.84 kB / 483.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.1218, allocations: 207.9 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.1218, allocations: 8.375 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.1219, allocations: 4.375 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.122, allocations: 77.78 kB / 483.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.122, allocations: 4 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.122, allocations: 0 / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-06/0.1221, allocations: 4 kB / 483.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1222, allocations: 43.95 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.1226, allocations: 348.6 kB / 484.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1227, allocations: 74.53 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.1228, allocations: 28.84 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.1228, allocations: 0 / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.1228, allocations: 30.56 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.1228, allocations: 0 / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009716/0.1238, allocations: 344.9 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.1238, allocations: 51.41 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.124, allocations: 247.4 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1241, allocations: 25.7 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.1242, allocations: 116 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1242, allocations: 47.3 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.1243, allocations: 33.7 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1244, allocations: 322.8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-05/0.1245, allocations: 43.97 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.924e-05/0.1246, allocations: 47.97 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.1248, allocations: 108.9 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1248, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002751/0.1251, allocations: 165.4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.1251, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.1251, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.1251, allocations: 3.938 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1252, allocations: 27.98 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.1252, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.1253, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1253, allocations: 7.984 kB / 485.9 MB, free: 15.13 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 (13): * Single equations (assignments): 13 * 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.0001177/0.1254, allocations: 137.8 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.1255, allocations: 15.89 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.1258, allocations: 194.8 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1258, allocations: 4 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1259, allocations: 0 / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1259, allocations: 0 / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.1265, allocations: 0.503 MB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1265, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-05/0.1266, allocations: 23.98 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1266, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1266, allocations: 11.98 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1267, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1267, allocations: 4.031 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.127, allocations: 260 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.1271, allocations: 88.92 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1271, allocations: 3.984 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.1272, allocations: 4 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.1272, allocations: 15.98 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1272, allocations: 4 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.1274, allocations: 181.2 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1274, allocations: 4 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1276, allocations: 24 kB / 487.4 MB, free: 13.57 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 (13): * Single equations (assignments): 13 * 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.000985/0.1286, allocations: 441.9 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.1289, allocations: 127.3 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1289, allocations: 0 / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.129, allocations: 63.89 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1294, allocations: 23.06 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.1299, allocations: 335.6 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.1303, allocations: 0.7274 MB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1304, allocations: 32.47 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.1305, allocations: 19.44 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1305, allocations: 4 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of Templates: time 0.004025/0.1345, allocations: 1.603 MB / 490.7 MB, free: 10.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches