Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001346, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 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.2124/0.2124, allocations: 46.11 MB / 344.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 72.39 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1123, allocations: 62.45 MB / 479.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003305/0.1157, allocations: 1.653 MB / 481.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.1167, allocations: 0.5417 MB / 482.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.1167, allocations: 0 / 482.1 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.117, allocations: 31.91 kB / 482.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.1173, allocations: 55.77 kB / 482.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.1176, allocations: 103.8 kB / 482.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1178, allocations: 51.91 kB / 482.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1179, allocations: 19.97 kB / 482.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.118, allocations: 23.81 kB / 482.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.118, allocations: 23.86 kB / 482.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1181, allocations: 4 kB / 482.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.1181, allocations: 27.98 kB / 482.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.1182, allocations: 23.91 kB / 482.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.1183, allocations: 23.81 kB / 482.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.1184, allocations: 63.92 kB / 482.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1184, allocations: 0 / 482.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1184, allocations: 0 / 482.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1184, allocations: 0 / 482.6 MB, free: 3.047 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.0004888/0.1189, allocations: 399.3 kB / 483 MB, free: 2.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.119, allocations: 8.875 kB / 483 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.119, allocations: 8.844 kB / 483 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1192, allocations: 204 kB / 483.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1192, allocations: 4.375 kB / 483.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1193, allocations: 3.938 kB / 483.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1194, allocations: 53.67 kB / 483.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1194, allocations: 3.906 kB / 483.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1194, allocations: 0 / 483.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1194, allocations: 0 / 483.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.636e-05/0.1196, allocations: 23.98 kB / 483.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.12, allocations: 292.8 kB / 483.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.1202, allocations: 42.56 kB / 483.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.1203, allocations: 16.94 kB / 483.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1203, allocations: 4 kB / 483.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1203, allocations: 30.56 kB / 483.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.675e-06/0.1203, allocations: 4 kB / 483.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005718/0.1209, allocations: 145.5 kB / 483.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.121, allocations: 59.41 kB / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1212, allocations: 182.3 kB / 484 MB, free: 1.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1212, allocations: 25.7 kB / 484.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.1213, allocations: 100 kB / 484.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1213, allocations: 23.73 kB / 484.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.1214, allocations: 17.72 kB / 484.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1215, allocations: 322.8 kB / 484.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.401e-05/0.1216, allocations: 19.98 kB / 484.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.1216, allocations: 19.98 kB / 484.5 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1218, allocations: 49.02 kB / 484.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1218, allocations: 8 kB / 484.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001817/0.122, allocations: 89.66 kB / 484.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.122, allocations: 6.188 kB / 484.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.122, allocations: 3.984 kB / 484.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.122, allocations: 0 / 484.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.1221, allocations: 19.92 kB / 484.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1221, allocations: 0 / 484.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.1222, allocations: 11.92 kB / 484.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1222, allocations: 0 / 484.7 MB, free: 0.668 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 (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.709e-05/0.1223, allocations: 125.8 kB / 484.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.1223, allocations: 7.906 kB / 484.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.1225, allocations: 101.9 kB / 485 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1225, allocations: 0 / 485 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1226, allocations: 0 / 485 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1226, allocations: 3.938 kB / 485 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.123, allocations: 366.5 kB / 485.3 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.123, allocations: 0 / 485.3 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.098e-05/0.1231, allocations: 19.92 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1231, allocations: 0 / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1231, allocations: 3.938 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1231, allocations: 0 / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1231, allocations: 0 / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.1233, allocations: 191.5 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.1234, allocations: 89.02 kB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1234, allocations: 7.922 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.1235, allocations: 8 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.1235, allocations: 0 / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1235, allocations: 4 kB / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1237, allocations: 138.5 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1237, allocations: 4 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1239, allocations: 12 kB / 485.8 MB, free: 15.5 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.0009317/0.1249, allocations: 391.6 kB / 486.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1251, allocations: 51.91 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1251, allocations: 0 / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.1252, allocations: 32.09 kB / 486.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1255, allocations: 22.14 kB / 486.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.126, allocations: 249.4 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1263, allocations: 0.7005 MB / 487.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.1264, allocations: 15.42 kB / 487.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1264, allocations: 0 / 487.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of Templates: time 0.003513/0.1299, allocations: 1.495 MB / 488.7 MB, free: 12.63 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches