Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001019, allocations: 113.2 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2099/0.2099, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 61.31 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1187, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003344/0.1221, allocations: 1.637 MB / 470.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.1229, allocations: 407.3 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.07e-05/0.123, allocations: 3.938 kB / 470.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1234, allocations: 99.8 kB / 470.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.1237, allocations: 83.72 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.124, allocations: 75.84 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1242, allocations: 75.88 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1243, allocations: 20.17 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.061e-05/0.1244, allocations: 39.78 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1245, allocations: 67.86 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1245, allocations: 4 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1246, allocations: 36 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.1247, allocations: 31.83 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.1247, allocations: 31.75 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.125, allocations: 104 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.125, allocations: 3.984 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.125, allocations: 3.938 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.125, allocations: 4 kB / 471.4 MB, free: 12 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.0005029/0.1255, allocations: 418.8 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1256, allocations: 8.031 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.1256, allocations: 16.75 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.1258, allocations: 212.6 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1258, allocations: 384 / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1259, allocations: 8.375 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.1261, allocations: 53.61 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1261, allocations: 4 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1261, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1261, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1262, allocations: 27.92 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.1267, allocations: 300.7 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.1268, allocations: 46.56 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.1269, allocations: 12.86 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1269, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1269, allocations: 38.5 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.1269, allocations: 0 / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009048/0.1279, allocations: 225.1 kB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.1279, allocations: 55.41 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.1282, allocations: 246.5 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1282, allocations: 25.7 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.1282, allocations: 112.1 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.1283, allocations: 23.56 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.1283, allocations: 21.72 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1285, allocations: 330.8 kB / 473.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.1285, allocations: 23.98 kB / 473.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.1286, allocations: 27.92 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1288, allocations: 61.06 kB / 473.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1288, allocations: 0 / 473.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002057/0.129, allocations: 105.5 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.129, allocations: 4 kB / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.129, allocations: 0 / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.129, allocations: 0 / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.1291, allocations: 19.98 kB / 473.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1291, allocations: 3.938 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1292, allocations: 11.98 kB / 473.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.1292, allocations: 0 / 473.8 MB, free: 9.383 MB / 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.0001033/0.1293, allocations: 137.8 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.1293, allocations: 11.81 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.1296, allocations: 119 kB / 474.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.1296, allocations: 3.984 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.1296, allocations: 8.359 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1296, allocations: 0 / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.1301, allocations: 411.2 kB / 474.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.1302, allocations: 4 kB / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.1302, allocations: 19.92 kB / 474.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1302, allocations: 0 / 474.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1302, allocations: 7.984 kB / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1303, allocations: 0 / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1303, allocations: 3.938 kB / 474.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.1305, allocations: 200.3 kB / 474.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.1306, allocations: 96.86 kB / 474.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1306, allocations: 0 / 474.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.1307, allocations: 4 kB / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.1307, allocations: 11.92 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1307, allocations: 4 kB / 474.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1309, allocations: 192.3 kB / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1309, allocations: 0 / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1312, allocations: 20 kB / 475 MB, free: 8.047 MB / 350.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.0009986/0.1322, allocations: 458.6 kB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.1324, allocations: 71.94 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1324, allocations: 0 / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.1325, allocations: 31.92 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1329, allocations: 23.92 kB / 475.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.1334, allocations: 306.9 kB / 475.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1337, allocations: 0.7119 MB / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.364e-05/0.1338, allocations: 16.66 kB / 476.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.1338, allocations: 11.44 kB / 476.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1338, allocations: 3.938 kB / 476.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of Templates: time 0.003985/0.1378, allocations: 1.316 MB / 478 MB, free: 5.242 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches