Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 76.44 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1235, allocations: 62.44 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003003/0.1265, allocations: 1.594 MB / 483.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009712/0.1275, allocations: 0.526 MB / 483.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.1276, allocations: 0 / 483.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.1278, allocations: 31.86 kB / 483.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.1281, allocations: 83.61 kB / 483.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1284, allocations: 99.52 kB / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.1285, allocations: 63.81 kB / 483.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1286, allocations: 12 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.1287, allocations: 23.86 kB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.1288, allocations: 23.86 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1288, allocations: 4 kB / 483.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.197e-05/0.1289, allocations: 31.98 kB / 483.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.1289, allocations: 11.92 kB / 484 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.129, allocations: 27.81 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.1291, allocations: 87.7 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1291, allocations: 0 / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1291, allocations: 0 / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.1291, allocations: 0 / 484.1 MB, free: 1.902 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.0004742/0.1296, allocations: 403 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1297, allocations: 12.03 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.1297, allocations: 8.844 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1299, allocations: 192.3 kB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1299, allocations: 384 / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.13, allocations: 7.938 kB / 484.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1301, allocations: 41.69 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1301, allocations: 3.906 kB / 484.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1301, allocations: 4 kB / 484.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1301, allocations: 0 / 484.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.1302, allocations: 31.91 kB / 484.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1306, allocations: 280.9 kB / 485 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1308, allocations: 42.55 kB / 485.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.1308, allocations: 20.94 kB / 485.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1309, allocations: 4 kB / 485.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1309, allocations: 34.5 kB / 485.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.1309, allocations: 0 / 485.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005151/0.1314, allocations: 141.3 kB / 485.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1315, allocations: 59.28 kB / 485.3 MB, free: 476 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1316, allocations: 181.5 kB / 485.5 MB, free: 284 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1317, allocations: 29.7 kB / 485.5 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.1317, allocations: 100 kB / 485.6 MB, free: 144 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.1317, allocations: 23.73 kB / 485.7 MB, free: 120 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.1318, allocations: 13.72 kB / 485.7 MB, free: 100 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1319, allocations: 322.8 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.132, allocations: 15.98 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.1321, allocations: 19.98 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1322, allocations: 52.83 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1322, allocations: 0 / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001664/0.1324, allocations: 81.52 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1324, allocations: 7.938 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1324, allocations: 0 / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1324, allocations: 0 / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.293e-05/0.1325, allocations: 15.98 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1325, allocations: 4 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.1326, allocations: 7.938 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1326, allocations: 0 / 486.2 MB, free: 15.56 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.045e-05/0.1326, allocations: 121.8 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.1327, allocations: 7.906 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.1329, allocations: 93.95 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1329, allocations: 3.938 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1329, allocations: 4 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1329, allocations: 4.25 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.1333, allocations: 350.6 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1333, allocations: 0 / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.1334, allocations: 11.98 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1334, allocations: 0 / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1334, allocations: 7.938 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1334, allocations: 0 / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1334, allocations: 4 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.1336, allocations: 183.3 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1337, allocations: 85.02 kB / 487 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1337, allocations: 3.938 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.1338, allocations: 11.94 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.1338, allocations: 3.984 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1338, allocations: 4 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.1339, allocations: 135.2 kB / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1339, allocations: 0 / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1342, allocations: 12 kB / 487.2 MB, free: 14.43 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.0008777/0.1351, allocations: 403.5 kB / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1353, allocations: 43.91 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1353, allocations: 8 kB / 487.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.116e-05/0.1354, allocations: 23.97 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1357, allocations: 12 kB / 487.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.1361, allocations: 201.8 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1364, allocations: 0.6924 MB / 488.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.169e-05/0.1364, allocations: 15.84 kB / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.1365, allocations: 15.44 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 1.743e-06/0.1365, allocations: 0 / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.003424/0.1399, allocations: 1.116 MB / 489.7 MB, free: 12 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches