Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, 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.001552/0.001552, 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.319/1.319, allocations: 227.3 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.12 MB / 344.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 78.84 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1155, allocations: 62.44 MB / 479.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002905/0.1184, allocations: 1.657 MB / 481.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1201, allocations: 1.144 MB / 482.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.1201, allocations: 0 / 482.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.1204, allocations: 27.91 kB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.1206, allocations: 67.77 kB / 482.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.1209, allocations: 99.81 kB / 482.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1211, allocations: 59.83 kB / 483 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.52e-05/0.1211, allocations: 19.92 kB / 483 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.1212, allocations: 19.88 kB / 483 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1213, allocations: 35.83 kB / 483.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1214, allocations: 8 kB / 483.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1215, allocations: 91.88 kB / 483.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.1216, allocations: 15.92 kB / 483.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.1216, allocations: 15.88 kB / 483.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1218, allocations: 103.8 kB / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1218, allocations: 0 / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1218, allocations: 0 / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.1218, allocations: 0 / 483.3 MB, free: 2.328 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.0004593/0.1223, allocations: 403.5 kB / 483.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1223, allocations: 12.88 kB / 483.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.1224, allocations: 4.938 kB / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.1225, allocations: 192.1 kB / 483.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.1226, allocations: 4.312 kB / 483.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1226, allocations: 8.375 kB / 483.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1227, allocations: 67.45 kB / 484 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1228, allocations: 0 / 484 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1228, allocations: 0 / 484 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1228, allocations: 8 kB / 484 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.137e-05/0.1229, allocations: 23.97 kB / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.1233, allocations: 284.8 kB / 484.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1235, allocations: 42.55 kB / 484.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.1235, allocations: 20.86 kB / 484.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1236, allocations: 4.078 kB / 484.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1236, allocations: 34.56 kB / 484.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1236, allocations: 0 / 484.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000586/0.1242, allocations: 153.2 kB / 484.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.1242, allocations: 77.11 kB / 484.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1244, allocations: 148 kB / 484.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1244, allocations: 25.7 kB / 484.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1245, allocations: 96.12 kB / 484.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1245, allocations: 19.72 kB / 484.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.1245, allocations: 13.72 kB / 484.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1247, allocations: 326.8 kB / 485.2 MB, free: 180 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.1247, allocations: 16.05 kB / 485.2 MB, free: 164 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/0.1248, allocations: 49.64 kB / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.125, allocations: 52.81 kB / 485.3 MB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.125, allocations: 0 / 485.3 MB, free: 52 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002102/0.1252, allocations: 77.67 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1252, allocations: 8 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1252, allocations: 3.938 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1253, allocations: 8.016 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.1253, allocations: 8 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1253, allocations: 3.938 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.1254, allocations: 11.98 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1254, allocations: 7.938 kB / 485.5 MB, free: 15.92 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 7.998e-05/0.1255, allocations: 113.8 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.1255, allocations: 7.906 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.1258, allocations: 97.95 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1258, allocations: 0 / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1258, allocations: 7.938 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1258, allocations: 0 / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.1263, allocations: 366.6 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1263, allocations: 320 / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.1263, allocations: 15.98 kB / 486.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1264, allocations: 8 kB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.1264, allocations: 0 / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1264, allocations: 3.938 kB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1264, allocations: 3.984 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1266, allocations: 187.4 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.1267, allocations: 77.11 kB / 486.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1267, allocations: 4 kB / 486.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.1268, allocations: 11.92 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.1268, allocations: 8 kB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1269, allocations: 0 / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.127, allocations: 115.2 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.127, allocations: 0 / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.1273, allocations: 36 kB / 486.5 MB, free: 14.77 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.001137/0.1284, allocations: 492.2 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.1286, allocations: 59.95 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1287, allocations: 0 / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.824e-05/0.1287, allocations: 27.92 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1291, allocations: 22.11 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.1295, allocations: 216.9 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1299, allocations: 0.6926 MB / 488 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.1299, allocations: 19.42 kB / 488 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1299, allocations: 3.938 kB / 488 MB, free: 13.35 MB / 366.1 MB Notification: Performance of Templates: time 0.003784/0.1337, allocations: 1.945 MB / 490 MB, free: 11.41 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches