Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, 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.001195/0.001195, 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.291/1.291, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2011/0.2011, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 72.45 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1291, allocations: 62.46 MB / 481.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003431/0.1325, allocations: 1.591 MB / 483.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1336, allocations: 0.5339 MB / 483.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.1337, allocations: 3.938 kB / 483.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1339, allocations: 27.84 kB / 483.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.1342, allocations: 83.61 kB / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1345, allocations: 107.7 kB / 483.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1347, allocations: 67.77 kB / 483.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1348, allocations: 12 kB / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.1349, allocations: 23.92 kB / 483.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.135, allocations: 27.84 kB / 483.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.135, allocations: 4 kB / 483.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.1351, allocations: 28 kB / 484 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.1351, allocations: 15.92 kB / 484 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.1352, allocations: 27.75 kB / 484 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1354, allocations: 83.77 kB / 484.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1354, allocations: 4 kB / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1354, allocations: 0 / 484.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1354, allocations: 0 / 484.1 MB, free: 1.844 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.0005037/0.1359, allocations: 387.1 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1359, allocations: 12.03 kB / 484.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.136, allocations: 8.844 kB / 484.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1362, allocations: 191.3 kB / 484.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.1362, allocations: 384 / 484.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1363, allocations: 12.34 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1364, allocations: 53.75 kB / 484.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.1365, allocations: 4 kB / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1365, allocations: 0 / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1365, allocations: 4 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.1366, allocations: 23.97 kB / 484.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.137, allocations: 284.8 kB / 485.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.1372, allocations: 50.5 kB / 485.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.1373, allocations: 20.94 kB / 485.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1373, allocations: 0 / 485.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1374, allocations: 30.56 kB / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1374, allocations: 0 / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005856/0.1379, allocations: 149.3 kB / 485.3 MB, free: 484 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.138, allocations: 55.41 kB / 485.4 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1382, allocations: 177.2 kB / 485.5 MB, free: 232 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1382, allocations: 25.7 kB / 485.6 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.1383, allocations: 96.12 kB / 485.6 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1383, allocations: 19.75 kB / 485.7 MB, free: 80 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.1384, allocations: 17.7 kB / 485.7 MB, free: 56 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1385, allocations: 314.8 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.1386, allocations: 23.97 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.461e-05/0.1387, allocations: 27.98 kB / 486 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1388, allocations: 52.77 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1388, allocations: 3.938 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001786/0.139, allocations: 89.56 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.139, allocations: 4 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.139, allocations: 0 / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.1391, allocations: 0 / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.1392, allocations: 23.92 kB / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1392, allocations: 0 / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.1392, allocations: 7.938 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1393, allocations: 0 / 486.2 MB, free: 15.5 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 0.0001003/0.1394, allocations: 121.8 kB / 486.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.1394, allocations: 7.906 kB / 486.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1396, allocations: 97.91 kB / 486.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1397, allocations: 8 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1397, allocations: 320 / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1397, allocations: 3.938 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.1401, allocations: 358.5 kB / 486.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1401, allocations: 0 / 486.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.1402, allocations: 12 kB / 486.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1402, allocations: 0 / 486.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1402, allocations: 3.938 kB / 486.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1402, allocations: 7.984 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1402, allocations: 0 / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.1405, allocations: 179.4 kB / 487 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.1405, allocations: 85.02 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1405, allocations: 7.938 kB / 487.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.1406, allocations: 4 kB / 487.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.1407, allocations: 8.266 kB / 487.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1407, allocations: 4 kB / 487.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.891e-05/0.1408, allocations: 127.2 kB / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1408, allocations: 0 / 487.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.141, allocations: 16 kB / 487.3 MB, free: 14.36 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.001023/0.142, allocations: 404.1 kB / 487.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.1423, allocations: 51.97 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1423, allocations: 0 / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.53e-05/0.1423, allocations: 35.91 kB / 487.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1427, allocations: 30.84 kB / 487.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.1432, allocations: 194 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1434, allocations: 0.7002 MB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.1435, allocations: 15.98 kB / 488.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.1435, allocations: 11.44 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1435, allocations: 0 / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Templates: time 0.003589/0.1471, allocations: 1.116 MB / 489.8 MB, free: 11.9 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches