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.001333/0.001333, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.11 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 78.81 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1145, allocations: 62.45 MB / 480.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003323/0.1178, allocations: 1.599 MB / 482.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1196, allocations: 1.152 MB / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.1197, allocations: 3.938 kB / 483.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1199, allocations: 23.8 kB / 483.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.1202, allocations: 87.61 kB / 483.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1205, allocations: 87.27 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.1207, allocations: 67.83 kB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.1208, allocations: 12 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.906e-05/0.1208, allocations: 35.84 kB / 483.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.121, allocations: 23.86 kB / 483.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.121, allocations: 4 kB / 483.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.1212, allocations: 99.86 kB / 483.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.1213, allocations: 12 kB / 484 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.1214, allocations: 31.78 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.1216, allocations: 131.7 kB / 484.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1216, allocations: 4 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1216, allocations: 0 / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1217, allocations: 0 / 484.1 MB, free: 1.867 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.0005306/0.1222, allocations: 403.4 kB / 484.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1222, allocations: 8.031 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.1223, allocations: 8.922 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1225, allocations: 196.1 kB / 484.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1225, allocations: 8.375 kB / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.1225, allocations: 384 / 484.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1227, allocations: 67.47 kB / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1227, allocations: 0 / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1227, allocations: 0 / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1227, allocations: 4 kB / 484.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.068e-05/0.1228, allocations: 23.97 kB / 484.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.1232, allocations: 280.9 kB / 485.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1234, allocations: 46.5 kB / 485.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.1235, allocations: 12.94 kB / 485.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1235, allocations: 4 kB / 485.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1235, allocations: 34.56 kB / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1236, allocations: 4 kB / 485.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005623/0.1241, allocations: 141.2 kB / 485.3 MB, free: 488 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.1242, allocations: 81.09 kB / 485.4 MB, free: 388 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1244, allocations: 144 kB / 485.6 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1244, allocations: 25.7 kB / 485.6 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.1245, allocations: 92.14 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1245, allocations: 35.58 kB / 485.7 MB, free: 72 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.1245, allocations: 13.72 kB / 485.7 MB, free: 52 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1247, allocations: 322.8 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.1248, allocations: 19.98 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.1249, allocations: 33.77 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.125, allocations: 52.86 kB / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.125, allocations: 0 / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000198/0.1252, allocations: 77.61 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1252, allocations: 4 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1253, allocations: 0 / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1253, allocations: 0 / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.1253, allocations: 15.98 kB / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1254, allocations: 3.984 kB / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1254, allocations: 8 kB / 486.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1254, allocations: 3.938 kB / 486.3 MB, free: 15.5 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 9.903e-05/0.1255, allocations: 117.8 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.1256, allocations: 7.906 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.1258, allocations: 93.91 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1258, allocations: 0 / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1258, allocations: 0 / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1259, allocations: 4 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.1263, allocations: 358.4 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1263, allocations: 4.25 kB / 486.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.426e-05/0.1264, allocations: 12 kB / 486.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1264, allocations: 0 / 486.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1264, allocations: 4 kB / 486.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1264, allocations: 3.938 kB / 486.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1264, allocations: 3.984 kB / 486.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.1267, allocations: 175.4 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.1267, allocations: 85.39 kB / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1268, allocations: 3.984 kB / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.1268, allocations: 7.938 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1269, allocations: 7.984 kB / 487.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1269, allocations: 0 / 487.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.127, allocations: 119.2 kB / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.699e-06/0.127, allocations: 0 / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1273, allocations: 47.86 kB / 487.3 MB, free: 14.36 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.001671/0.129, allocations: 482.8 kB / 487.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.1292, allocations: 47.95 kB / 487.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1292, allocations: 0 / 487.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.15e-05/0.1293, allocations: 31.92 kB / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.1297, allocations: 26.86 kB / 487.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.1302, allocations: 191.1 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1305, allocations: 0.6924 MB / 488.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.1306, allocations: 19.42 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1306, allocations: 0 / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.004068/0.1346, allocations: 1.932 MB / 490.7 MB, free: 11.05 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches