Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 107.4 kB / 17.21 MB, free: 6.293 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.00123/0.00123, allocations: 194 kB / 18.12 MB, free: 5.383 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.475/1.475, allocations: 222.9 MB / 241.8 MB, free: 13.65 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.2284/0.2284, allocations: 44.18 MB / 336.1 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 66.19 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002917/0.1232, allocations: 1.637 MB / 470.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00075/0.124, allocations: 403.4 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.124, allocations: 0 / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.1243, allocations: 99.78 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1245, allocations: 75.78 kB / 470.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1248, allocations: 86.91 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1249, allocations: 71.88 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.1251, allocations: 20.17 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.1251, allocations: 43.72 kB / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1252, allocations: 55.88 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1253, allocations: 4 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.1253, allocations: 39.97 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.1254, allocations: 27.86 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.1255, allocations: 31.75 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.1256, allocations: 108 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1256, allocations: 4 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1256, allocations: 0 / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1257, allocations: 3.938 kB / 471.2 MB, free: 12.12 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.0005152/0.1262, allocations: 418.8 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1262, allocations: 12.03 kB / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.1263, allocations: 12.75 kB / 471.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1265, allocations: 208.6 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.1265, allocations: 384 / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1265, allocations: 4.375 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1266, allocations: 57.62 kB / 471.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1267, allocations: 3.984 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1267, allocations: 0 / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1267, allocations: 4 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.435e-05/0.1268, allocations: 27.91 kB / 471.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.1272, allocations: 296.7 kB / 472.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.1273, allocations: 42.56 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.1273, allocations: 24.88 kB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1274, allocations: 4 kB / 472.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1274, allocations: 30.56 kB / 472.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1274, allocations: 0 / 472.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008922/0.1283, allocations: 229 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.1284, allocations: 51.41 kB / 472.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.1286, allocations: 242.6 kB / 472.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1286, allocations: 29.64 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.1287, allocations: 108.1 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.1287, allocations: 31.55 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.1288, allocations: 21.72 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1289, allocations: 322.8 kB / 473.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.359e-05/0.1289, allocations: 23.98 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.423e-05/0.129, allocations: 28.05 kB / 473.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.1292, allocations: 64.77 kB / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1292, allocations: 4 kB / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001892/0.1294, allocations: 101.5 kB / 473.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1294, allocations: 8 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1294, allocations: 0 / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1294, allocations: 3.938 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.1295, allocations: 15.98 kB / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1295, allocations: 3.938 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.1296, allocations: 4 kB / 473.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1296, allocations: 8 kB / 473.6 MB, free: 9.492 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 (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 9.819e-05/0.1297, allocations: 133.8 kB / 473.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.1297, allocations: 15.81 kB / 473.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.13, allocations: 115 kB / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.13, allocations: 0 / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.13, allocations: 3.938 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.13, allocations: 4 kB / 473.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.1305, allocations: 411.2 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1305, allocations: 0 / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.1306, allocations: 23.92 kB / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1306, allocations: 3.938 kB / 474.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1306, allocations: 4 kB / 474.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1306, allocations: 0 / 474.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1306, allocations: 8.031 kB / 474.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.1309, allocations: 197.1 kB / 474.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.1309, allocations: 88.86 kB / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1309, allocations: 4 kB / 474.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.131, allocations: 11.98 kB / 474.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1311, allocations: 4 kB / 474.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1311, allocations: 15.91 kB / 474.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1312, allocations: 184.3 kB / 474.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1312, allocations: 0 / 474.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1315, allocations: 23.98 kB / 474.8 MB, free: 8.16 MB / 350.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.0009446/0.1324, allocations: 457.4 kB / 475.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1326, allocations: 63.91 kB / 475.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1327, allocations: 0 / 475.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.1327, allocations: 31.92 kB / 475.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.1331, allocations: 27.98 kB / 475.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.1336, allocations: 308.8 kB / 475.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1339, allocations: 0.7224 MB / 476.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.851e-05/0.1339, allocations: 8.984 kB / 476.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.134, allocations: 11.44 kB / 476.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.134, allocations: 0 / 476.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of Templates: time 0.003799/0.1378, allocations: 1.295 MB / 477.7 MB, free: 5.379 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches