Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00151/0.00151, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001865/0.001865, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.12 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 69.41 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1273, allocations: 62.44 MB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003351/0.1307, allocations: 1.68 MB / 481.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1317, allocations: 0.5261 MB / 481.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1319, allocations: 4 kB / 481.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.1323, allocations: 87.8 kB / 481.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.1327, allocations: 103.7 kB / 481.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.133, allocations: 79.09 kB / 482 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1332, allocations: 91.8 kB / 482 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1334, allocations: 16 kB / 482.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1335, allocations: 39.83 kB / 482.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1336, allocations: 51.83 kB / 482.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1337, allocations: 4 kB / 482.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1338, allocations: 47.97 kB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.1339, allocations: 19.92 kB / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.1339, allocations: 43.61 kB / 482.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.1342, allocations: 103.7 kB / 482.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1342, allocations: 0 / 482.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1342, allocations: 0 / 482.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1342, allocations: 0 / 482.4 MB, free: 2.723 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.000619/0.1349, allocations: 427.1 kB / 482.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.1349, allocations: 12.03 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.135, allocations: 12.75 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.1352, allocations: 204.6 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1353, allocations: 8.375 kB / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1353, allocations: 384 / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1355, allocations: 57.73 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1355, allocations: 4 kB / 483.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1355, allocations: 8 kB / 483.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.1355, allocations: 0 / 483.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1356, allocations: 23.98 kB / 483.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.1361, allocations: 296.7 kB / 483.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1363, allocations: 50.48 kB / 483.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.1363, allocations: 20.95 kB / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1363, allocations: 8.047 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1364, allocations: 30.56 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1364, allocations: 0 / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009571/0.1373, allocations: 229 kB / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1374, allocations: 55.41 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1376, allocations: 226.6 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1376, allocations: 29.7 kB / 484 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.1377, allocations: 108.1 kB / 484.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.1377, allocations: 23.56 kB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1378, allocations: 21.7 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1379, allocations: 330.8 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.138, allocations: 31.86 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.1381, allocations: 27.98 kB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1382, allocations: 56.83 kB / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1383, allocations: 0 / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001984/0.1385, allocations: 101.5 kB / 484.7 MB, free: 148 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1385, allocations: 11.94 kB / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1385, allocations: 0 / 484.7 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1385, allocations: 4 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1386, allocations: 19.92 kB / 484.8 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1386, allocations: 0 / 484.8 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.1387, allocations: 11.94 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1387, allocations: 4 kB / 484.8 MB, free: 96 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.0001179/0.1388, allocations: 129.9 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1389, allocations: 15.81 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.1391, allocations: 119 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1392, allocations: 0 / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1392, allocations: 0 / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1392, allocations: 3.938 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.1397, allocations: 415.2 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1397, allocations: 7.938 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.809e-05/0.1398, allocations: 15.98 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1398, allocations: 3.938 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1398, allocations: 4 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1398, allocations: 0 / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1399, allocations: 480 / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.1401, allocations: 204.3 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.1402, allocations: 96.86 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1402, allocations: 0 / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.1403, allocations: 7.938 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1404, allocations: 11.97 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1404, allocations: 4 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1405, allocations: 180.3 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1405, allocations: 4 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1408, allocations: 20 kB / 486 MB, free: 14.77 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.001134/0.1419, allocations: 447.6 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.1422, allocations: 71.88 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1422, allocations: 0 / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.1423, allocations: 35.98 kB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1427, allocations: 22.73 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006187/0.1433, allocations: 306.9 kB / 486.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1436, allocations: 0.7098 MB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.555e-05/0.1437, allocations: 16.95 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.1437, allocations: 15.44 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1438, allocations: 0 / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of Templates: time 0.004558/0.1483, allocations: 1.333 MB / 488.9 MB, free: 11.93 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches