Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008377/0.0008377, allocations: 101.2 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1766/0.1766, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.357e-05, allocations: 4.219 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.5057, allocations: 88.42 MB / 0.5881 GB, free: 0.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.506, allocations: 75.95 kB / 0.5881 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01605/0.5221, allocations: 7.844 MB / 0.5958 GB, free: 9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5221, allocations: 0 / 0.5958 GB, free: 9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.5221, allocations: 4 kB / 0.5958 GB, free: 8.996 MB / 410.7 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.0004722/0.5226, allocations: 0.5503 MB / 0.5963 GB, free: 8.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5227, allocations: 8.031 kB / 0.5963 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.5228, allocations: 43.44 kB / 0.5964 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.5232, allocations: 331.3 kB / 0.5967 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.5232, allocations: 0 / 0.5967 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.5233, allocations: 4 kB / 0.5967 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.703e-05/0.5234, allocations: 45.69 kB / 0.5967 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5234, allocations: 0 / 0.5967 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.5234, allocations: 7.938 kB / 0.5967 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.5234, allocations: 4 kB / 0.5968 GB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/0.5235, allocations: 12 kB / 0.5968 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.524, allocations: 432.7 kB / 0.5972 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.5242, allocations: 42.5 kB / 0.5972 GB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.5242, allocations: 20.86 kB / 0.5972 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.5242, allocations: 0 / 0.5972 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.5243, allocations: 34.56 kB / 0.5973 GB, free: 7.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.5243, allocations: 0 / 0.5973 GB, free: 7.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004571/0.5247, allocations: 192.2 kB / 0.5975 GB, free: 7.121 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.5248, allocations: 55.36 kB / 0.5975 GB, free: 7.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.5259, allocations: 0.7887 MB / 0.5983 GB, free: 6.266 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.5259, allocations: 25.7 kB / 0.5983 GB, free: 6.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.5261, allocations: 228 kB / 0.5985 GB, free: 6.008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.5261, allocations: 15.73 kB / 0.5985 GB, free: 5.992 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.5261, allocations: 4 kB / 0.5985 GB, free: 5.988 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5262, allocations: 354.8 kB / 0.5989 GB, free: 5.633 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.5263, allocations: 12 kB / 0.5989 GB, free: 5.621 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.5263, allocations: 12 kB / 0.5989 GB, free: 5.609 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.5263, allocations: 8 kB / 0.5989 GB, free: 5.602 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5263, allocations: 4 kB / 0.5989 GB, free: 5.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001306/0.5265, allocations: 101.1 kB / 0.599 GB, free: 5.492 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5265, allocations: 9.406 kB / 0.599 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5265, allocations: 0 / 0.599 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5265, allocations: 0 / 0.599 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.209e-05/0.5266, allocations: 15.98 kB / 0.599 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.5266, allocations: 0 / 0.599 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.465e-05/0.5267, allocations: 7.953 kB / 0.599 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.5267, allocations: 7.984 kB / 0.599 GB, free: 5.453 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.5268, allocations: 109 kB / 0.5991 GB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.5269, allocations: 39.53 kB / 0.5992 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.5271, allocations: 124.9 kB / 0.5993 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5271, allocations: 0 / 0.5993 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5271, allocations: 0 / 0.5993 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5271, allocations: 144 / 0.5993 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.5279, allocations: 0.5609 MB / 0.5999 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5279, allocations: 8.359 kB / 0.5999 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.769e-05/0.528, allocations: 15.98 kB / 0.5999 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.528, allocations: 0 / 0.5999 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.528, allocations: 4 kB / 0.5999 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.528, allocations: 3.938 kB / 0.5999 GB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.528, allocations: 3.953 kB / 0.5999 GB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.5282, allocations: 191.1 kB / 0.6001 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.5285, allocations: 164.5 kB / 0.6002 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.5285, allocations: 3.984 kB / 0.6002 GB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.5286, allocations: 11.94 kB / 0.6002 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.5287, allocations: 3.953 kB / 0.6002 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.5287, allocations: 8 kB / 0.6003 GB, free: 4.102 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006737/0.5293, allocations: 0.6303 MB / 0.6009 GB, free: 3.473 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5294, allocations: 4 kB / 0.6009 GB, free: 3.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.5296, allocations: 59.92 kB / 0.6009 GB, free: 3.41 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007866/0.5304, allocations: 369.2 kB / 0.6013 GB, free: 3.148 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.5305, allocations: 27.98 kB / 0.6013 GB, free: 3.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5305, allocations: 0 / 0.6013 GB, free: 3.121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.5306, allocations: 16 kB / 0.6013 GB, free: 3.105 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.5309, allocations: 26.02 kB / 0.6013 GB, free: 3.074 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.5319, allocations: 0.7033 MB / 0.602 GB, free: 2.348 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.5323, allocations: 0.8411 MB / 0.6029 GB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.942e-05/0.5324, allocations: 36.03 kB / 0.6029 GB, free: 1.449 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.5325, allocations: 27.38 kB / 0.6029 GB, free: 1.422 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5325, allocations: 0 / 0.6029 GB, free: 1.422 MB / 410.7 MB Notification: Performance of Templates: time 0.00614/0.5386, allocations: 2.433 MB / 0.6053 GB, free: 14.97 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches