Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 78.69 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1108, allocations: 62.44 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003192/0.114, allocations: 1.657 MB / 481.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1158, allocations: 1.132 MB / 482.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.1158, allocations: 4 kB / 482.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.1161, allocations: 11.94 kB / 482.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.1164, allocations: 71.75 kB / 482.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.1167, allocations: 87.2 kB / 482.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.1168, allocations: 55.84 kB / 482.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.1169, allocations: 15.94 kB / 483 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.192e-05/0.117, allocations: 31.84 kB / 483 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1171, allocations: 27.86 kB / 483 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.1172, allocations: 4 kB / 483 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.1174, allocations: 99.86 kB / 483.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.687e-05/0.1174, allocations: 7.938 kB / 483.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.1175, allocations: 27.84 kB / 483.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1177, allocations: 95.81 kB / 483.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1177, allocations: 0 / 483.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1177, allocations: 0 / 483.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1177, allocations: 0 / 483.3 MB, free: 2.402 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.0005149/0.1182, allocations: 407.5 kB / 483.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1183, allocations: 8.875 kB / 483.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.1183, allocations: 4.938 kB / 483.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.1186, allocations: 200 kB / 483.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1186, allocations: 384 / 483.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1186, allocations: 4.375 kB / 483.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1188, allocations: 63.47 kB / 483.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1188, allocations: 4 kB / 483.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1188, allocations: 7.984 kB / 483.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1188, allocations: 0 / 483.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.361e-05/0.1189, allocations: 19.98 kB / 484 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.1193, allocations: 284.8 kB / 484.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1195, allocations: 38.56 kB / 484.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.1196, allocations: 24.94 kB / 484.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1196, allocations: 3.984 kB / 484.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1196, allocations: 30.56 kB / 484.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1196, allocations: 0 / 484.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000561/0.1202, allocations: 149.2 kB / 484.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1202, allocations: 81.11 kB / 484.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1204, allocations: 144.2 kB / 484.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1204, allocations: 29.7 kB / 484.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.1205, allocations: 92.12 kB / 484.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.1205, allocations: 19.72 kB / 484.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.1205, allocations: 17.72 kB / 484.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1206, allocations: 322.8 kB / 485.2 MB, free: 268 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.168e-05/0.1207, allocations: 23.92 kB / 485.2 MB, free: 244 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.1208, allocations: 29.7 kB / 485.2 MB, free: 208 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1209, allocations: 48.83 kB / 485.3 MB, free: 156 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.121, allocations: 0 / 485.3 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001792/0.1211, allocations: 73.67 kB / 485.3 MB, free: 76 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1212, allocations: 4 kB / 485.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1212, allocations: 7.969 kB / 485.3 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1212, allocations: 4 kB / 485.4 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.1213, allocations: 15.92 kB / 485.4 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1213, allocations: 0 / 485.4 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.1213, allocations: 11.98 kB / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1214, allocations: 3.938 kB / 485.4 MB, free: 28 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 (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 0.0001024/0.1215, allocations: 113.8 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.1215, allocations: 7.906 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.1217, allocations: 89.97 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1218, allocations: 0 / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1218, allocations: 4.25 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1218, allocations: 4 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.1222, allocations: 362.3 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1222, allocations: 0 / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.1223, allocations: 12 kB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1223, allocations: 3.984 kB / 486 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1223, allocations: 0 / 486 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1223, allocations: 7.938 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1223, allocations: 0 / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1225, allocations: 179.4 kB / 486.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.1226, allocations: 81.09 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1226, allocations: 4 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.1227, allocations: 7.938 kB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.1227, allocations: 7.984 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1227, allocations: 0 / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.315e-05/0.1228, allocations: 111.3 kB / 486.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1228, allocations: 0 / 486.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.1231, allocations: 39.98 kB / 486.4 MB, free: 14.91 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.001061/0.1242, allocations: 500 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1244, allocations: 51.91 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1244, allocations: 0 / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.1245, allocations: 23.98 kB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.1248, allocations: 18.33 kB / 487 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.1253, allocations: 209.2 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1256, allocations: 0.6887 MB / 487.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.1256, allocations: 19.42 kB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1256, allocations: 3.938 kB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of Templates: time 0.003643/0.1293, allocations: 1.928 MB / 489.8 MB, free: 11.58 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches