Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 103.5 kB / 17.32 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001933/0.001933, allocations: 209.8 kB / 18.26 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.53/1.53, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.72 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1265, allocations: 62.44 MB / 479.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003184/0.1297, allocations: 1.653 MB / 481.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1314, allocations: 1.128 MB / 482.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.1314, allocations: 4 kB / 482.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1317, allocations: 19.91 kB / 482.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.132, allocations: 71.77 kB / 482.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1322, allocations: 83.09 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1324, allocations: 63.84 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.1325, allocations: 19.89 kB / 482.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.111e-05/0.1325, allocations: 35.86 kB / 482.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1327, allocations: 27.84 kB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1327, allocations: 4 kB / 482.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.1329, allocations: 99.89 kB / 482.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.1329, allocations: 15.97 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.133, allocations: 19.81 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1332, allocations: 131.7 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1332, allocations: 0 / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1332, allocations: 0 / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1332, allocations: 0 / 482.8 MB, free: 2.266 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.0004977/0.1337, allocations: 411.3 kB / 483.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1338, allocations: 8.031 kB / 483.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.1338, allocations: 4.938 kB / 483.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.134, allocations: 196.1 kB / 483.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.1341, allocations: 4.375 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1341, allocations: 4.375 kB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1343, allocations: 63.52 kB / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1343, allocations: 0 / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1343, allocations: 8 kB / 483.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1343, allocations: 0 / 483.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.112e-05/0.1344, allocations: 23.92 kB / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.1348, allocations: 280.9 kB / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.135, allocations: 42.56 kB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.135, allocations: 28.88 kB / 483.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1351, allocations: 0 / 483.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1351, allocations: 30.56 kB / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1351, allocations: 0 / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005492/0.1357, allocations: 141.2 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.1357, allocations: 81.11 kB / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.1359, allocations: 145.8 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1359, allocations: 29.7 kB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.136, allocations: 92.08 kB / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.136, allocations: 23.7 kB / 484.4 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.1361, allocations: 21.7 kB / 484.5 MB, free: 452 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1362, allocations: 318.8 kB / 484.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.1363, allocations: 19.98 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.595e-05/0.1363, allocations: 33.69 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1365, allocations: 44.84 kB / 484.9 MB, free: 16 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1365, allocations: 0 / 484.9 MB, free: 16 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001938/0.1367, allocations: 81.59 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1367, allocations: 4 kB / 484.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1367, allocations: 7.969 kB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1367, allocations: 4 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.1368, allocations: 11.98 kB / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1368, allocations: 256 / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.1369, allocations: 8 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1369, allocations: 7.938 kB / 485 MB, free: 15.89 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.609e-05/0.137, allocations: 113.8 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.137, allocations: 11.89 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.1373, allocations: 93.91 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1373, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1373, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1373, allocations: 0 / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.1377, allocations: 350.4 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1378, allocations: 4 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.1378, allocations: 19.92 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1378, allocations: 0 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1378, allocations: 288 / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1378, allocations: 3.938 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1379, allocations: 4 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1381, allocations: 179.4 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.1381, allocations: 81.09 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1382, allocations: 4 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.1383, allocations: 11.92 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1383, allocations: 4 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1383, allocations: 0 / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.906e-05/0.1384, allocations: 121.2 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1384, allocations: 0 / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1387, allocations: 36 kB / 486 MB, free: 14.77 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.001104/0.1398, allocations: 0.4924 MB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.14, allocations: 47.97 kB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.14, allocations: 3.938 kB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.1401, allocations: 27.97 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1404, allocations: 22.69 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.1409, allocations: 193.4 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1412, allocations: 0.6885 MB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.1412, allocations: 15.97 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.1413, allocations: 11.44 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1413, allocations: 0 / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Templates: time 0.004245/0.1455, allocations: 1.743 MB / 489.2 MB, free: 11.64 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches