Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 105.3 kB / 17.03 MB, free: 5.66 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.001539/0.001539, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2151/0.2151, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 65.67 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08131/0.08269, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002368/0.0851, allocations: 1.612 MB / 443.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.08603, allocations: 0.9573 MB / 444.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.08609, allocations: 7.938 kB / 444.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.08627, allocations: 19.86 kB / 444.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.08643, allocations: 43.78 kB / 444.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.08673, allocations: 155.1 kB / 444.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.08686, allocations: 71.77 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.08698, allocations: 23.92 kB / 444.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.08702, allocations: 27.92 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.08714, allocations: 27.84 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.08716, allocations: 4 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/0.08725, allocations: 55.97 kB / 445 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.0873, allocations: 19.86 kB / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.08734, allocations: 23.86 kB / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.08748, allocations: 99.7 kB / 445.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.08749, allocations: 0 / 445.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.0875, allocations: 4 kB / 445.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.08751, allocations: 0 / 445.1 MB, free: 2.984 MB / 318.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.0003432/0.08786, allocations: 391.2 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.08789, allocations: 15.89 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.08793, allocations: 12.84 kB / 445.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.08806, allocations: 184.2 kB / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.08808, allocations: 4.359 kB / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.0881, allocations: 4.375 kB / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.08825, allocations: 83.5 kB / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.08827, allocations: 0 / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.08828, allocations: 4 kB / 445.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.08829, allocations: 3.984 kB / 445.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.0884, allocations: 35.97 kB / 445.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.08871, allocations: 308.6 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.08882, allocations: 50.55 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.08889, allocations: 24.94 kB / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.08892, allocations: 3.938 kB / 446.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.08893, allocations: 34.56 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.08894, allocations: 0 / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.00062/0.08957, allocations: 225.3 kB / 446.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.0896, allocations: 77.11 kB / 446.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.08969, allocations: 141.1 kB / 446.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.08971, allocations: 33.7 kB / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.08974, allocations: 96.06 kB / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.08977, allocations: 15.72 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.0898, allocations: 25.66 kB / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.221e-05/0.08985, allocations: 322.8 kB / 447.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.191e-05/0.08995, allocations: 39.97 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.09004, allocations: 57.67 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.09022, allocations: 80.8 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.09022, allocations: 0 / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002112/0.09044, allocations: 121.5 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.09046, allocations: 8.031 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.09047, allocations: 0 / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.09048, allocations: 3.984 kB / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.09059, allocations: 23.92 kB / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.0906, allocations: 0 / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.09065, allocations: 15.92 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.09066, allocations: 0 / 447.5 MB, free: 356 kB / 318.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 (7): * Single equations (assignments): 7 * 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 5.141e-05/0.09072, allocations: 121.8 kB / 447.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.09076, allocations: 7.906 kB / 447.6 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.09102, allocations: 138.3 kB / 447.8 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.09103, allocations: 3.938 kB / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.09104, allocations: 4 kB / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.09105, allocations: 3.938 kB / 447.8 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.09154, allocations: 406.6 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.09156, allocations: 0 / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/0.09164, allocations: 19.98 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.09164, allocations: 0 / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.09166, allocations: 11.92 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.09167, allocations: 7.938 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.09167, allocations: 3.938 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.09196, allocations: 219.4 kB / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.092, allocations: 85.02 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.09202, allocations: 3.938 kB / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.09211, allocations: 11.98 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.09215, allocations: 0 / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.09216, allocations: 8 kB / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.235e-05/0.09224, allocations: 115.2 kB / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09225, allocations: 0 / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.0925, allocations: 24 kB / 448.7 MB, free: 15.07 MB / 334.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 (7): * Single equations (assignments): 7 * 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.0008852/0.09339, allocations: 445 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.09368, allocations: 99.86 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.09369, allocations: 0 / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.09381, allocations: 43.97 kB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.09411, allocations: 15.98 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.09447, allocations: 198.4 kB / 449.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.0947, allocations: 0.6976 MB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.507e-05/0.09478, allocations: 24.27 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.09482, allocations: 15.44 kB / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.09483, allocations: 0 / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Templates: time 0.003575/0.09841, allocations: 1.536 MB / 451.7 MB, free: 12.04 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches