Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001169, allocations: 113.2 kB / 16.64 MB, free: 6.922 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.001171/0.001171, allocations: 190.5 kB / 17.56 MB, free: 6.027 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.568/1.568, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.1858/0.1858, allocations: 43.52 MB / 314.3 MB, free: 0.6992 MB / 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.001503/0.001503, allocations: 73.5 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08482/0.08634, allocations: 57.79 MB / 440.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002556/0.08894, allocations: 1.615 MB / 442.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004918/0.08945, allocations: 332.1 kB / 442.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.08953, allocations: 4 kB / 442.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.08995, allocations: 455.2 kB / 443.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.09025, allocations: 243.5 kB / 443.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.09058, allocations: 143.6 kB / 443.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.09077, allocations: 163.7 kB / 443.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.09086, allocations: 16.45 kB / 443.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.511e-05/0.09096, allocations: 111.7 kB / 443.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.09113, allocations: 215.6 kB / 443.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.09115, allocations: 4 kB / 443.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-05/0.09122, allocations: 31.98 kB / 444 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.0913, allocations: 83.69 kB / 444 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.401e-05/0.09136, allocations: 99 kB / 444.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.09153, allocations: 187.7 kB / 444.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.09154, allocations: 0 / 444.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09155, allocations: 0 / 444.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.09156, allocations: 0 / 444.3 MB, free: 3.676 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005121/0.09208, allocations: 0.6257 MB / 444.9 MB, free: 3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.09212, allocations: 15.89 kB / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.09218, allocations: 48.38 kB / 445 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.09236, allocations: 284.2 kB / 445.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.09238, allocations: 8.375 kB / 445.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.09239, allocations: 384 / 445.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.09254, allocations: 61.61 kB / 445.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.09255, allocations: 3.938 kB / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.09257, allocations: 0 / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.09258, allocations: 0 / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.09269, allocations: 39.97 kB / 445.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.09309, allocations: 392.7 kB / 445.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.0932, allocations: 42.55 kB / 445.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.103e-05/0.09327, allocations: 28.88 kB / 445.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.0933, allocations: 4 kB / 445.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.09332, allocations: 30.56 kB / 445.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.09333, allocations: 0 / 445.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002798/0.09361, allocations: 125.2 kB / 446 MB, free: 1.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.09364, allocations: 51.41 kB / 446.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.09418, allocations: 0.8574 MB / 446.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.0942, allocations: 29.7 kB / 446.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.798e-05/0.0943, allocations: 216 kB / 447.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.09432, allocations: 11.84 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.09436, allocations: 13.72 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.09442, allocations: 362.7 kB / 447.5 MB, free: 248 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.888e-05/0.09448, allocations: 19.92 kB / 447.6 MB, free: 228 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/0.09454, allocations: 19.97 kB / 447.6 MB, free: 208 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.09465, allocations: 53.09 kB / 447.6 MB, free: 152 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.09466, allocations: 7.938 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001542/0.09482, allocations: 105.2 kB / 447.7 MB, free: 32 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.09484, allocations: 4 kB / 447.7 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.09485, allocations: 3.984 kB / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.09486, allocations: 0 / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.09494, allocations: 8 kB / 447.8 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.09495, allocations: 0 / 447.8 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.858e-05/0.09502, allocations: 15.89 kB / 447.8 MB, free: 0 / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.09504, allocations: 112 / 447.8 MB, free: 16 MB / 334.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 (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.0001695/0.09522, allocations: 225.6 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.09527, allocations: 35.53 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.09552, allocations: 129 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.09554, allocations: 0 / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.09554, allocations: 0 / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.09555, allocations: 4 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.0958, allocations: 289.5 kB / 448.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.09581, allocations: 0 / 448.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.09587, allocations: 11.98 kB / 448.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.09588, allocations: 0 / 448.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.09589, allocations: 0 / 448.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.0959, allocations: 0 / 448.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.0959, allocations: 0 / 448.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.09613, allocations: 214.8 kB / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.0962, allocations: 108.6 kB / 448.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.09623, allocations: 4 kB / 448.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.09631, allocations: 3.984 kB / 448.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.09636, allocations: 4 kB / 448.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.09636, allocations: 0 / 448.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005404/0.09691, allocations: 0.6472 MB / 449.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09692, allocations: 0 / 449.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.09717, allocations: 23.98 kB / 449.4 MB, free: 14.21 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 (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.0007805/0.09795, allocations: 353.5 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.09815, allocations: 51.89 kB / 449.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.09816, allocations: 0 / 449.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.09824, allocations: 23.98 kB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.09862, allocations: 25.23 kB / 449.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.09965, allocations: 0.8905 MB / 450.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1, allocations: 0.8182 MB / 451.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.1001, allocations: 11.44 kB / 451.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1001, allocations: 4 kB / 451.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Templates: time 0.006178/0.1063, allocations: 3.536 MB / 455.1 MB, free: 8.512 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches