Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 105.4 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 188 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 243 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.88 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.109, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003111/0.1122, allocations: 1.556 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.113, allocations: 403.2 kB / 472.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/0.1131, allocations: 0 / 472.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1133, allocations: 23.83 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1135, allocations: 39.8 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1138, allocations: 87.75 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1139, allocations: 51.84 kB / 472.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.114, allocations: 16 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.1141, allocations: 23.86 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.1142, allocations: 19.91 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1142, allocations: 4 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.1143, allocations: 20 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.1143, allocations: 15.92 kB / 473 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.1144, allocations: 19.81 kB / 473 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1145, allocations: 79.78 kB / 473.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1145, allocations: 4 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1146, allocations: 0 / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1146, allocations: 0 / 473.1 MB, free: 11.3 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.0004395/0.115, allocations: 387.1 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1151, allocations: 12.03 kB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.1151, allocations: 8.844 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.1153, allocations: 183.5 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1153, allocations: 4.375 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1153, allocations: 384 / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1155, allocations: 53.81 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1155, allocations: 0 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1155, allocations: 0 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1155, allocations: 0 / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.22e-05/0.1156, allocations: 31.84 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.1159, allocations: 276.8 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.1161, allocations: 46.56 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.842e-05/0.1162, allocations: 20.94 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.1162, allocations: 3.984 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1163, allocations: 34.5 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1163, allocations: 0 / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005276/0.1168, allocations: 145.4 kB / 474.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.1168, allocations: 55.41 kB / 474.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.117, allocations: 153.7 kB / 474.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.117, allocations: 25.7 kB / 474.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.1171, allocations: 92.14 kB / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1171, allocations: 19.8 kB / 474.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1171, allocations: 17.72 kB / 474.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1173, allocations: 322.7 kB / 474.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.1173, allocations: 23.98 kB / 474.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.1174, allocations: 19.98 kB / 475 MB, free: 9.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1175, allocations: 44.83 kB / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1175, allocations: 0 / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001617/0.1177, allocations: 81.52 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1177, allocations: 4 kB / 475.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1177, allocations: 8 kB / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1177, allocations: 0 / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.1178, allocations: 11.98 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1178, allocations: 0 / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.1179, allocations: 4 kB / 475.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1179, allocations: 3.938 kB / 475.1 MB, free: 9.031 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.105e-05/0.118, allocations: 121.8 kB / 475.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.118, allocations: 11.89 kB / 475.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.1182, allocations: 93.91 kB / 475.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1182, allocations: 4 kB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1182, allocations: 0 / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1182, allocations: 0 / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.1186, allocations: 342.8 kB / 475.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1186, allocations: 0 / 475.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.1187, allocations: 19.92 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1187, allocations: 4 kB / 475.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1187, allocations: 4 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1187, allocations: 7.875 kB / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1187, allocations: 0 / 475.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.1189, allocations: 171.4 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.119, allocations: 85 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.119, allocations: 0 / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.1191, allocations: 11.94 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1191, allocations: 7.984 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1191, allocations: 0 / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.086e-05/0.1192, allocations: 121.3 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1192, allocations: 0 / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1195, allocations: 19.98 kB / 476.1 MB, free: 7.922 MB / 350.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.0008759/0.1204, allocations: 399.2 kB / 476.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1206, allocations: 51.91 kB / 476.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1206, allocations: 0 / 476.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.699e-05/0.1206, allocations: 23.98 kB / 476.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.121, allocations: 23.33 kB / 476.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.1213, allocations: 185.4 kB / 476.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.1216, allocations: 0.7 MB / 477.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.514e-05/0.1217, allocations: 11.97 kB / 477.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.1217, allocations: 11.44 kB / 477.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1217, allocations: 0 / 477.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of Templates: time 0.003449/0.1252, allocations: 1.094 MB / 478.6 MB, free: 5.547 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches