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.001356/0.001356, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 209.7 kB / 18.79 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 75.75 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1064, allocations: 62.45 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003039/0.1095, allocations: 1.652 MB / 481.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1111, allocations: 1.136 MB / 482.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.1112, allocations: 4 kB / 482.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.1114, allocations: 19.92 kB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.1117, allocations: 71.75 kB / 482.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.112, allocations: 75.84 kB / 482.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1121, allocations: 59.78 kB / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.1122, allocations: 15.98 kB / 483 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.1123, allocations: 19.92 kB / 483 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1124, allocations: 35.84 kB / 483 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1125, allocations: 4 kB / 483 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.1127, allocations: 95.88 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.1127, allocations: 11.92 kB / 483.1 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.1128, allocations: 23.86 kB / 483.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.113, allocations: 103.8 kB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.113, allocations: 0 / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.113, allocations: 0 / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.113, allocations: 0 / 483.3 MB, free: 2.348 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.0004734/0.1135, allocations: 403.5 kB / 483.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1135, allocations: 8.875 kB / 483.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.1135, allocations: 4.938 kB / 483.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.1138, allocations: 200.1 kB / 483.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-06/0.1138, allocations: 384 / 483.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.1138, allocations: 384 / 483.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1139, allocations: 71.5 kB / 483.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.114, allocations: 7.938 kB / 483.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.114, allocations: 0 / 483.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.114, allocations: 4 kB / 483.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1141, allocations: 23.92 kB / 484 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.1145, allocations: 276.9 kB / 484.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1147, allocations: 38.56 kB / 484.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.1147, allocations: 20.86 kB / 484.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1147, allocations: 8.062 kB / 484.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1148, allocations: 34.5 kB / 484.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1148, allocations: 0 / 484.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005663/0.1154, allocations: 137.3 kB / 484.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1154, allocations: 81.05 kB / 484.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1156, allocations: 152.5 kB / 484.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1156, allocations: 29.7 kB / 484.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.1157, allocations: 92.12 kB / 484.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1157, allocations: 15.72 kB / 484.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.1157, allocations: 21.7 kB / 484.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1158, allocations: 322.8 kB / 485.2 MB, free: 216 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.1159, allocations: 15.92 kB / 485.2 MB, free: 200 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.116, allocations: 41.69 kB / 485.2 MB, free: 152 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1161, allocations: 40.84 kB / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1162, allocations: 0 / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001831/0.1163, allocations: 85.59 kB / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1164, allocations: 4 kB / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1164, allocations: 256 / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1164, allocations: 8.031 kB / 485.4 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.1165, allocations: 12.05 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1165, allocations: 3.938 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.1165, allocations: 4 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1166, allocations: 3.938 kB / 485.4 MB, free: 15.98 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 8.336e-05/0.1166, allocations: 113.8 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.1167, allocations: 7.906 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.1169, allocations: 97.89 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1169, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.117, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.117, allocations: 3.938 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.1174, allocations: 358.4 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1174, allocations: 0 / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.1175, allocations: 11.98 kB / 486 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1175, allocations: 4 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1175, allocations: 0 / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.1175, allocations: 11.92 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1175, allocations: 3.938 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1177, allocations: 175.4 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.1178, allocations: 77.11 kB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1178, allocations: 0 / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.1179, allocations: 15.92 kB / 486.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.1179, allocations: 8 kB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1179, allocations: 0 / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.778e-05/0.118, allocations: 117.6 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1181, allocations: 0 / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1183, allocations: 36 kB / 486.4 MB, free: 14.86 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.00109/0.1194, allocations: 495.8 kB / 486.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1197, allocations: 51.91 kB / 486.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1197, allocations: 0 / 486.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.826e-05/0.1198, allocations: 23.98 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.1201, allocations: 19.97 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.1205, allocations: 212.9 kB / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1208, allocations: 0.6887 MB / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.1208, allocations: 27.36 kB / 487.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.584e-06/0.1208, allocations: 0 / 487.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of Templates: time 0.003781/0.1246, allocations: 1.912 MB / 489.8 MB, free: 11.54 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