Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 113.4 kB / 17.99 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.00159, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.1 MB, free: 8.984 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.11 MB / 344.5 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 85.25 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1249, allocations: 62.46 MB / 480.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003322/0.1283, allocations: 1.665 MB / 481.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1293, allocations: 0.5338 MB / 482.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.1294, allocations: 0 / 482.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.1297, allocations: 79.83 kB / 482.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.13, allocations: 91.72 kB / 482.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1303, allocations: 91.52 kB / 482.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1305, allocations: 71.89 kB / 482.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1306, allocations: 15.98 kB / 482.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.076e-05/0.1307, allocations: 39.78 kB / 482.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1309, allocations: 63.81 kB / 482.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1309, allocations: 0 / 482.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.131, allocations: 47.98 kB / 482.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.131, allocations: 23.92 kB / 482.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.1311, allocations: 31.73 kB / 483 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1313, allocations: 75.91 kB / 483 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1313, allocations: 0 / 483 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.1313, allocations: 0 / 483 MB, free: 2.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1313, allocations: 3.938 kB / 483 MB, free: 2.727 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.0005471/0.1318, allocations: 423.1 kB / 483.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1319, allocations: 8.031 kB / 483.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.1319, allocations: 12.84 kB / 483.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.1322, allocations: 198.7 kB / 483.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1322, allocations: 384 / 483.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1322, allocations: 4.375 kB / 483.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1324, allocations: 61.8 kB / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1324, allocations: 0 / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1324, allocations: 0 / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1324, allocations: 4 kB / 483.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.1325, allocations: 27.92 kB / 483.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.133, allocations: 304.7 kB / 484.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1331, allocations: 46.53 kB / 484.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.1332, allocations: 20.86 kB / 484.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.1332, allocations: 3.938 kB / 484.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1332, allocations: 30.56 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1332, allocations: 3.938 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008897/0.1341, allocations: 225.1 kB / 484.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.1342, allocations: 55.41 kB / 484.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.1344, allocations: 210.8 kB / 484.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1345, allocations: 33.64 kB / 484.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.1346, allocations: 100.1 kB / 484.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1346, allocations: 31.55 kB / 484.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.1346, allocations: 21.8 kB / 484.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1348, allocations: 322.8 kB / 485.1 MB, free: 416 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.1349, allocations: 31.97 kB / 485.2 MB, free: 384 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.135, allocations: 23.98 kB / 485.2 MB, free: 360 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.1351, allocations: 64.98 kB / 485.3 MB, free: 292 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1352, allocations: 0 / 485.3 MB, free: 292 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000206/0.1354, allocations: 101.6 kB / 485.4 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1354, allocations: 8 kB / 485.4 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1354, allocations: 0 / 485.4 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1354, allocations: 4 kB / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1355, allocations: 15.98 kB / 485.4 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1355, allocations: 0 / 485.4 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.1356, allocations: 7.938 kB / 485.4 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1356, allocations: 4 kB / 485.4 MB, free: 144 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.0001181/0.1357, allocations: 129.8 kB / 485.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.1358, allocations: 15.86 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.1361, allocations: 122.9 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1361, allocations: 0 / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1361, allocations: 0 / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1361, allocations: 3.938 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.1367, allocations: 403.3 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1367, allocations: 0 / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.1368, allocations: 19.98 kB / 486.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1368, allocations: 3.938 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1368, allocations: 4 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.1368, allocations: 11.92 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1368, allocations: 0 / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.1371, allocations: 212.2 kB / 486.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.1372, allocations: 88.95 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1372, allocations: 0 / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.1373, allocations: 4 kB / 486.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.1373, allocations: 7.984 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1373, allocations: 7.938 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.1375, allocations: 164.7 kB / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1375, allocations: 4 kB / 486.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1377, allocations: 27.94 kB / 486.6 MB, free: 14.82 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.001661/0.1394, allocations: 434.6 kB / 487 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1397, allocations: 75.94 kB / 487.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1397, allocations: 0 / 487.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.664e-05/0.1398, allocations: 31.92 kB / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1402, allocations: 23.22 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.1408, allocations: 324.6 kB / 487.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1412, allocations: 0.7079 MB / 488.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.1412, allocations: 27.42 kB / 488.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1412, allocations: 3.938 kB / 488.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of Templates: time 0.003789/0.145, allocations: 1.747 MB / 490 MB, free: 11.56 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches