Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001137/0.001137, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.319/1.319, allocations: 222.9 MB / 243 MB, free: 15.08 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.2106/0.2106, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 65.19 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1121, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002979/0.1151, allocations: 1.631 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.1159, allocations: 427.1 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.116, allocations: 4 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1162, allocations: 59.73 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.1164, allocations: 55.8 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1167, allocations: 122.5 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.1169, allocations: 83.73 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.117, allocations: 16 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.1171, allocations: 35.91 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.1172, allocations: 43.83 kB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1172, allocations: 7.938 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.641e-05/0.1173, allocations: 43.98 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/0.1174, allocations: 31.89 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.1174, allocations: 31.75 kB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1176, allocations: 107.6 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1176, allocations: 4 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1176, allocations: 0 / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1176, allocations: 0 / 473.4 MB, free: 10.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004628/0.1181, allocations: 407 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1181, allocations: 12.03 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1182, allocations: 8.844 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1184, allocations: 188.7 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1184, allocations: 8.312 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.1185, allocations: 11.94 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1186, allocations: 69.59 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1186, allocations: 0 / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.1187, allocations: 0 / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1187, allocations: 0 / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.1188, allocations: 35.97 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.1192, allocations: 304.7 kB / 474.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.1194, allocations: 58.56 kB / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/0.1195, allocations: 24.97 kB / 474.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1195, allocations: 8.016 kB / 474.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.1195, allocations: 30.56 kB / 474.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1195, allocations: 4 kB / 474.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001317/0.1209, allocations: 393.2 kB / 474.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1209, allocations: 55.41 kB / 475 MB, free: 9.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.1211, allocations: 180.1 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1211, allocations: 25.7 kB / 475.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.1212, allocations: 108 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.1212, allocations: 35.55 kB / 475.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.1213, allocations: 25.72 kB / 475.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1214, allocations: 322.8 kB / 475.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1215, allocations: 43.97 kB / 475.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1216, allocations: 43.91 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1218, allocations: 109 kB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1218, allocations: 3.938 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002876/0.1221, allocations: 137.5 kB / 476 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1222, allocations: 8 kB / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1222, allocations: 7.875 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1222, allocations: 0 / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1223, allocations: 31.97 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1224, allocations: 0 / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.1224, allocations: 19.92 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1224, allocations: 0 / 476 MB, free: 8.059 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 (11): * Single equations (assignments): 11 * 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.0001334/0.1226, allocations: 129.8 kB / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.1226, allocations: 7.906 kB / 476.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.123, allocations: 162.3 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.123, allocations: 0 / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1231, allocations: 0 / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1231, allocations: 0 / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007068/0.1238, allocations: 475.9 kB / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1238, allocations: 0 / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1239, allocations: 31.92 kB / 476.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1239, allocations: 7.922 kB / 476.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1239, allocations: 4 kB / 476.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1239, allocations: 192 / 476.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1239, allocations: 4 kB / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.1243, allocations: 245.1 kB / 477.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.1244, allocations: 93 kB / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1244, allocations: 0 / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.1245, allocations: 15.92 kB / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.1246, allocations: 12 kB / 477.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.1246, allocations: 4 kB / 477.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.682e-05/0.1247, allocations: 142.9 kB / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1247, allocations: 0 / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.125, allocations: 27.91 kB / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001008/0.126, allocations: 467.5 kB / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.1263, allocations: 107.9 kB / 477.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1263, allocations: 0 / 477.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.1264, allocations: 64.03 kB / 478 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1268, allocations: 18.8 kB / 478 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.1273, allocations: 275.7 kB / 478.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1276, allocations: 0.708 MB / 479 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.782e-05/0.1276, allocations: 16.42 kB / 479 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.1277, allocations: 19.42 kB / 479 MB, free: 5.074 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1277, allocations: 0 / 479 MB, free: 5.074 MB / 350.1 MB Notification: Performance of Templates: time 0.004007/0.1317, allocations: 1.528 MB / 480.6 MB, free: 3.559 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches