Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 103.4 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 76.66 kB / 416.8 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1311, allocations: 62.45 MB / 479.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.004014/0.1352, allocations: 1.675 MB / 481 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1363, allocations: 0.5456 MB / 481.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.1364, allocations: 0 / 481.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.1368, allocations: 103.8 kB / 481.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.1371, allocations: 103.7 kB / 481.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.1375, allocations: 107.8 kB / 481.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.1377, allocations: 75.83 kB / 481.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1378, allocations: 23.95 kB / 481.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.136e-05/0.1379, allocations: 35.84 kB / 482 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.138, allocations: 67.81 kB / 482 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1381, allocations: 4 kB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1382, allocations: 43.98 kB / 482.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.1383, allocations: 31.84 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.1383, allocations: 35.67 kB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1385, allocations: 115.6 kB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1385, allocations: 0 / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1385, allocations: 0 / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1386, allocations: 0 / 482.2 MB, free: 2.797 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.0005943/0.1392, allocations: 427.1 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.1392, allocations: 12.88 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.1393, allocations: 8.844 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1395, allocations: 208.8 kB / 482.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1395, allocations: 4.375 kB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.1396, allocations: 4.375 kB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1398, allocations: 57.75 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1398, allocations: 3.984 kB / 483 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1398, allocations: 0 / 483 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1398, allocations: 0 / 483 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1399, allocations: 31.98 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.1405, allocations: 308.7 kB / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1406, allocations: 46.59 kB / 483.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.519e-05/0.1407, allocations: 20.84 kB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1407, allocations: 4 kB / 483.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.1408, allocations: 42.56 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.1408, allocations: 0 / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001044/0.1418, allocations: 245 kB / 483.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1419, allocations: 55.39 kB / 483.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.1422, allocations: 258.1 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1422, allocations: 25.7 kB / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.1423, allocations: 108.1 kB / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1423, allocations: 31.55 kB / 484.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.1424, allocations: 29.59 kB / 484.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1425, allocations: 326.8 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.1426, allocations: 35.97 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-05/0.1427, allocations: 23.98 kB / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.1428, allocations: 72.81 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1429, allocations: 0 / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002498/0.1431, allocations: 117.7 kB / 484.7 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1431, allocations: 8 kB / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1432, allocations: 4.078 kB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1432, allocations: 0 / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1433, allocations: 19.92 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1433, allocations: 7.984 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.1434, allocations: 7.922 kB / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1434, allocations: 4 kB / 484.8 MB, free: 64 kB / 350.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 0.0001148/0.1435, allocations: 133.8 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.1435, allocations: 7.906 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.1439, allocations: 139.4 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1439, allocations: 0 / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1439, allocations: 7.938 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1439, allocations: 7.875 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005929/0.1445, allocations: 427.3 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1445, allocations: 3.984 kB / 485.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.1446, allocations: 15.98 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.1446, allocations: 3.938 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1447, allocations: 4 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1447, allocations: 0 / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1447, allocations: 0 / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.145, allocations: 224.1 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.145, allocations: 84.95 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.1451, allocations: 8 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.1452, allocations: 4 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.1452, allocations: 7.984 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1452, allocations: 4 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.1454, allocations: 188.4 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1454, allocations: 4 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1457, allocations: 24 kB / 486 MB, free: 14.68 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.001136/0.1468, allocations: 450 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.1471, allocations: 79.89 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1471, allocations: 0 / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1472, allocations: 40.12 kB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.1477, allocations: 24.06 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.1483, allocations: 337.1 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1486, allocations: 0.716 MB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.311e-05/0.1487, allocations: 20.66 kB / 487.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.1487, allocations: 15.42 kB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1487, allocations: 0 / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Templates: time 0.004275/0.153, allocations: 1.357 MB / 489 MB, free: 11.76 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches