Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 195.5 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007754/0.0007755, allocations: 104.4 kB / 299.9 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3001/0.3001, allocations: 45.01 MB / 397 MB, free: 31.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002612, allocations: 8 kB / 470.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2715, allocations: 63.1 MB / 0.5214 GB, free: 38.47 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001454/0.273, allocations: 1.31 MB / 0.5227 GB, free: 37.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007016/0.2738, allocations: 0.7341 MB / 0.5234 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.2738, allocations: 0 / 0.5234 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.2742, allocations: 456.4 kB / 0.5238 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.2745, allocations: 276.8 kB / 0.5241 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.2748, allocations: 107.4 kB / 0.5242 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.2749, allocations: 155.5 kB / 0.5243 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.696e-05/0.275, allocations: 16.72 kB / 0.5243 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.92e-05/0.2751, allocations: 109 kB / 0.5244 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.2753, allocations: 200.4 kB / 0.5246 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.2753, allocations: 0 / 0.5246 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.384e-05/0.2754, allocations: 25.61 kB / 0.5247 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.24e-05/0.2754, allocations: 79.31 kB / 0.5247 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/0.2755, allocations: 134.5 kB / 0.5249 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.2757, allocations: 235 kB / 0.5251 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2757, allocations: 0 / 0.5251 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2757, allocations: 0 / 0.5251 GB, free: 36.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.2757, allocations: 0 / 0.5251 GB, free: 36.47 MB / 378.7 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.0004436/0.2762, allocations: 0.5864 MB / 0.5257 GB, free: 35.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.2762, allocations: 8.781 kB / 0.5257 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.2763, allocations: 41.47 kB / 0.5257 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.2764, allocations: 302 kB / 0.526 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.2765, allocations: 7.125 kB / 0.526 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.2765, allocations: 384 / 0.526 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.2766, allocations: 61.27 kB / 0.5261 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.2766, allocations: 0 / 0.5261 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.2766, allocations: 0 / 0.5261 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2766, allocations: 2.875 kB / 0.5261 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.2767, allocations: 37.62 kB / 0.5261 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.277, allocations: 377.5 kB / 0.5265 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.484e-05/0.2772, allocations: 51.42 kB / 0.5265 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.2772, allocations: 23.78 kB / 0.5265 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.2772, allocations: 3.125 kB / 0.5265 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.2773, allocations: 30.56 kB / 0.5266 GB, free: 35.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2773, allocations: 0 / 0.5266 GB, free: 35.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002633/0.2775, allocations: 131.5 kB / 0.5267 GB, free: 35.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.569e-05/0.2776, allocations: 55.34 kB / 0.5267 GB, free: 35.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.2781, allocations: 0.8635 MB / 0.5276 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.2782, allocations: 28 kB / 0.5276 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2783, allocations: 216.8 kB / 0.5278 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.2783, allocations: 3.906 kB / 0.5278 GB, free: 34.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.2783, allocations: 2.656 kB / 0.5278 GB, free: 34.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.2784, allocations: 362.4 kB / 0.5282 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.2784, allocations: 15.52 kB / 0.5282 GB, free: 34.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.863e-05/0.2785, allocations: 22.03 kB / 0.5282 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.973e-05/0.2786, allocations: 46.66 kB / 0.5282 GB, free: 34.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2786, allocations: 0 / 0.5282 GB, free: 34.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001532/0.2788, allocations: 124.8 kB / 0.5284 GB, free: 34.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2788, allocations: 5.156 kB / 0.5284 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2788, allocations: 0 / 0.5284 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2788, allocations: 2.906 kB / 0.5284 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.2789, allocations: 11.3 kB / 0.5284 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2789, allocations: 0 / 0.5284 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.2789, allocations: 9.938 kB / 0.5284 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.2789, allocations: 0 / 0.5284 GB, free: 34.09 MB / 378.7 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 (3): * Single equations (assignments): 3 * 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.0001198/0.2791, allocations: 216.8 kB / 0.5286 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.2791, allocations: 43.31 kB / 0.5286 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.2793, allocations: 128.2 kB / 0.5288 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2793, allocations: 0 / 0.5288 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2793, allocations: 6.172 kB / 0.5288 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2793, allocations: 7.938 kB / 0.5288 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.2795, allocations: 287.6 kB / 0.5291 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2795, allocations: 4 kB / 0.5291 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.2796, allocations: 8.75 kB / 0.5291 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.2796, allocations: 3.375 kB / 0.5291 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2796, allocations: 4 kB / 0.5291 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2796, allocations: 2.844 kB / 0.5291 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2796, allocations: 0 / 0.5291 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.2798, allocations: 208.7 kB / 0.5293 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.2799, allocations: 109.2 kB / 0.5294 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.2799, allocations: 3.141 kB / 0.5294 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.28, allocations: 5.812 kB / 0.5294 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.28, allocations: 5.766 kB / 0.5294 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.28, allocations: 7.938 kB / 0.5294 GB, free: 33.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004168/0.2804, allocations: 0.6463 MB / 0.53 GB, free: 33.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.2804, allocations: 2.688 kB / 0.53 GB, free: 33.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.2806, allocations: 26.34 kB / 0.5301 GB, free: 33.07 MB / 378.7 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 (3): * Single equations (assignments): 3 * 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.0006548/0.2813, allocations: 389.9 kB / 0.5304 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.2815, allocations: 50.66 kB / 0.5305 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2815, allocations: 0 / 0.5305 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/0.2815, allocations: 28.23 kB / 0.5305 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.2818, allocations: 26.8 kB / 0.5305 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007888/0.2826, allocations: 0.8452 MB / 0.5314 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.2829, allocations: 0.8209 MB / 0.5322 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.2829, allocations: 17.83 kB / 0.5322 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.283, allocations: 12.69 kB / 0.5322 GB, free: 31.64 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.283, allocations: 0 / 0.5322 GB, free: 31.64 MB / 378.7 MB Notification: Performance of Templates: time 0.003648/0.2866, allocations: 1.217 MB / 0.5334 GB, free: 31.49 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches