Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 76.2 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 62.45 MB / 479.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002957/0.1117, allocations: 1.676 MB / 481.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000944/0.1127, allocations: 0.534 MB / 482.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.1127, allocations: 0 / 482.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.113, allocations: 131.6 kB / 482.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.1133, allocations: 111.7 kB / 482.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1136, allocations: 71.86 kB / 482.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1137, allocations: 95.78 kB / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.1138, allocations: 12 kB / 482.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.1139, allocations: 51.81 kB / 482.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.114, allocations: 83.73 kB / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1141, allocations: 0 / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.1142, allocations: 43.98 kB / 482.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.1142, allocations: 35.83 kB / 482.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.1143, allocations: 35.69 kB / 482.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.1144, allocations: 83.88 kB / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1144, allocations: 0 / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1144, allocations: 0 / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1144, allocations: 4 kB / 482.9 MB, free: 2.762 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004717/0.1149, allocations: 435.1 kB / 483.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.115, allocations: 8.875 kB / 483.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.115, allocations: 16.75 kB / 483.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1152, allocations: 207.9 kB / 483.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1152, allocations: 4.375 kB / 483.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.1152, allocations: 4.312 kB / 483.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.1154, allocations: 61.8 kB / 483.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1154, allocations: 4 kB / 483.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1154, allocations: 0 / 483.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1154, allocations: 0 / 483.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-05/0.1155, allocations: 23.98 kB / 483.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.1159, allocations: 312.6 kB / 483.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.116, allocations: 42.56 kB / 484 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.1161, allocations: 20.94 kB / 484 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1161, allocations: 0 / 484 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1161, allocations: 34.56 kB / 484 MB, free: 1.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1162, allocations: 0 / 484 MB, free: 1.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000888/0.117, allocations: 237.3 kB / 484.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1171, allocations: 51.41 kB / 484.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.1174, allocations: 283.7 kB / 484.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1174, allocations: 29.7 kB / 484.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1175, allocations: 116.1 kB / 484.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1175, allocations: 23.62 kB / 484.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.1176, allocations: 25.7 kB / 484.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1177, allocations: 330.8 kB / 485.1 MB, free: 332 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.1178, allocations: 23.98 kB / 485.1 MB, free: 308 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.1178, allocations: 24.05 kB / 485.2 MB, free: 284 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.118, allocations: 64.77 kB / 485.2 MB, free: 216 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.118, allocations: 0 / 485.2 MB, free: 216 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002181/0.1182, allocations: 113.5 kB / 485.3 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1183, allocations: 8 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1183, allocations: 0 / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1183, allocations: 96 / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.1184, allocations: 19.97 kB / 485.4 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1184, allocations: 0 / 485.4 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1185, allocations: 7.938 kB / 485.4 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1185, allocations: 8 kB / 485.4 MB, free: 52 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 (8): * Single equations (assignments): 8 * 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.000122/0.1186, allocations: 141.8 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1186, allocations: 15.8 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.1189, allocations: 122.9 kB / 485.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.119, allocations: 4 kB / 485.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.119, allocations: 0 / 485.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.119, allocations: 3.938 kB / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.1195, allocations: 415.2 kB / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1195, allocations: 0 / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.052e-05/0.1196, allocations: 19.98 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1196, allocations: 3.938 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1196, allocations: 4 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1196, allocations: 0 / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1196, allocations: 4 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1199, allocations: 212.5 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.1199, allocations: 96.84 kB / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.12, allocations: 0 / 486.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.1201, allocations: 12 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.1201, allocations: 7.984 kB / 486.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1201, allocations: 4 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.1203, allocations: 205.5 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1203, allocations: 0 / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1206, allocations: 27.98 kB / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.000989/0.1215, allocations: 453 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.1218, allocations: 59.91 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1218, allocations: 0 / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.181e-05/0.1219, allocations: 39.91 kB / 487.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1222, allocations: 23.88 kB / 487.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.1228, allocations: 375.8 kB / 487.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.1231, allocations: 0.716 MB / 488.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.1232, allocations: 15.44 kB / 488.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1232, allocations: 0 / 488.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Templates: time 0.00355/0.1267, allocations: 1.889 MB / 490.2 MB, free: 11.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches