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.001392/0.001392, allocations: 115.9 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.001534/0.001534, allocations: 203.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.302/1.302, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2001/0.2001, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1239, allocations: 62.46 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002863/0.1268, allocations: 1.607 MB / 483.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.1277, allocations: 0.5338 MB / 483.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.1277, allocations: 4 kB / 483.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.128, allocations: 87.73 kB / 483.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.1283, allocations: 115.6 kB / 483.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1286, allocations: 99.44 kB / 483.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1287, allocations: 83.81 kB / 484 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1288, allocations: 19.92 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.1289, allocations: 35.91 kB / 484 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.129, allocations: 51.81 kB / 484.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.129, allocations: 4 kB / 484.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-05/0.1291, allocations: 47.98 kB / 484.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.1292, allocations: 31.84 kB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.1292, allocations: 27.75 kB / 484.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.1294, allocations: 115.6 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1294, allocations: 3.938 kB / 484.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1294, allocations: 0 / 484.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1294, allocations: 0 / 484.3 MB, free: 1.664 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.0004633/0.1299, allocations: 422.8 kB / 484.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.13, allocations: 8.031 kB / 484.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.13, allocations: 16.75 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1302, allocations: 204.1 kB / 485 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1302, allocations: 4.375 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1303, allocations: 4.375 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1304, allocations: 57.8 kB / 485 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1304, allocations: 0 / 485 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1304, allocations: 3.938 kB / 485 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1304, allocations: 0 / 485 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.1305, allocations: 27.97 kB / 485.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.1309, allocations: 300.7 kB / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.509e-05/0.131, allocations: 46.5 kB / 485.4 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.131, allocations: 20.94 kB / 485.4 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1311, allocations: 3.984 kB / 485.4 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1311, allocations: 34.56 kB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 5.239e-06/0.1311, allocations: 4 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007971/0.1319, allocations: 229 kB / 485.7 MB, free: 140 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.132, allocations: 51.41 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1322, allocations: 231.1 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1322, allocations: 29.7 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.1323, allocations: 112.1 kB / 486.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.1323, allocations: 23.55 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.1324, allocations: 25.72 kB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1325, allocations: 322.8 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.829e-05/0.1325, allocations: 23.97 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.1326, allocations: 27.98 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1328, allocations: 68.77 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1328, allocations: 0 / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00018/0.133, allocations: 97.56 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.133, allocations: 4 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.133, allocations: 0 / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.133, allocations: 0 / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.1331, allocations: 19.98 kB / 486.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1331, allocations: 0 / 486.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.1332, allocations: 19.92 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1332, allocations: 0 / 486.7 MB, free: 15.04 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 (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 9.325e-05/0.1333, allocations: 134.8 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.1333, allocations: 15.81 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.1336, allocations: 115.3 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1336, allocations: 0 / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1336, allocations: 0 / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1336, allocations: 15.88 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.1341, allocations: 407.2 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1341, allocations: 0 / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.1342, allocations: 19.92 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1342, allocations: 7.938 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1342, allocations: 0 / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1342, allocations: 3.938 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1342, allocations: 4.031 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1344, allocations: 204.3 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.1345, allocations: 92.86 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.1345, allocations: 7.984 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.1346, allocations: 4 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1346, allocations: 11.92 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1346, allocations: 4 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1348, allocations: 179.2 kB / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1348, allocations: 0 / 487.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.135, allocations: 23.98 kB / 487.9 MB, free: 13.71 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.001013/0.1361, allocations: 446 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1363, allocations: 59.97 kB / 488.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1363, allocations: 3.938 kB / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.1364, allocations: 35.97 kB / 488.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1367, allocations: 32.16 kB / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.1372, allocations: 270.9 kB / 488.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1375, allocations: 0.708 MB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.732e-05/0.1375, allocations: 16.97 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.1376, allocations: 19.42 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1376, allocations: 0 / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Templates: time 0.003733/0.1413, allocations: 1.359 MB / 490.9 MB, free: 10.88 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches