Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001013/0.001013, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.287/1.287, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2155/0.2155, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3593, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002917/0.3623, allocations: 1.623 MB / 0.5212 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3637, allocations: 1.06 MB / 0.5222 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.3637, allocations: 1.344 kB / 0.5222 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.364, allocations: 23.22 kB / 0.5222 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.3642, allocations: 46.69 kB / 0.5223 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.3646, allocations: 175 kB / 0.5224 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3648, allocations: 73.62 kB / 0.5225 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3649, allocations: 19.2 kB / 0.5225 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.365, allocations: 25.64 kB / 0.5226 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.3651, allocations: 31.69 kB / 0.5226 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3652, allocations: 4.562 kB / 0.5226 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3653, allocations: 51.45 kB / 0.5226 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.3653, allocations: 21.02 kB / 0.5227 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.3654, allocations: 22.44 kB / 0.5227 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.3656, allocations: 100.7 kB / 0.5228 GB, free: 1.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3656, allocations: 4 kB / 0.5228 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3656, allocations: 0 / 0.5228 GB, free: 1.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3656, allocations: 1.156 kB / 0.5228 GB, free: 1.457 MB / 382.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.0004317/0.3661, allocations: 390.7 kB / 0.5231 GB, free: 1.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3661, allocations: 9.875 kB / 0.5232 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.3662, allocations: 9.062 kB / 0.5232 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.3663, allocations: 187.8 kB / 0.5233 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3663, allocations: 1.469 kB / 0.5233 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.3664, allocations: 6.656 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3666, allocations: 83.81 kB / 0.5234 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3666, allocations: 1.156 kB / 0.5234 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3666, allocations: 0 / 0.5234 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.3666, allocations: 5.781 kB / 0.5234 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.3668, allocations: 35.67 kB / 0.5235 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.3672, allocations: 310.9 kB / 0.5238 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3673, allocations: 43.36 kB / 0.5238 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.3674, allocations: 25.06 kB / 0.5238 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3674, allocations: 9.984 kB / 0.5238 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.3674, allocations: 39.66 kB / 0.5239 GB, free: 396 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3674, allocations: 4 kB / 0.5239 GB, free: 392 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007811/0.3682, allocations: 217.3 kB / 0.5241 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.3683, allocations: 82.98 kB / 0.5242 GB, free: 212 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3684, allocations: 134.9 kB / 0.5243 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3684, allocations: 30.67 kB / 0.5243 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.3685, allocations: 89.48 kB / 0.5244 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.3685, allocations: 24.7 kB / 0.5244 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.3686, allocations: 21.09 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3687, allocations: 322.9 kB / 0.5248 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3688, allocations: 37.92 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.369, allocations: 59.3 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.3692, allocations: 84.14 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3692, allocations: 0 / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003214/0.3695, allocations: 129.2 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3696, allocations: 9.438 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3696, allocations: 0 / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3696, allocations: 1.312 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3697, allocations: 23.12 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3697, allocations: 0.7031 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.3698, allocations: 12.31 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3698, allocations: 3.359 kB / 0.5251 GB, free: 15.48 MB / 398.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 0.0001031/0.3699, allocations: 121 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.37, allocations: 7.266 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.3704, allocations: 137.1 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3704, allocations: 1.438 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3704, allocations: 3.984 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3704, allocations: 6.094 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.3709, allocations: 412.4 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.371, allocations: 0 / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.461e-05/0.371, allocations: 18.88 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3711, allocations: 1.125 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3711, allocations: 9.312 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3711, allocations: 0.6094 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3711, allocations: 0 / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.3714, allocations: 222.4 kB / 0.526 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.3715, allocations: 84.16 kB / 0.5261 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.3715, allocations: 6.344 kB / 0.5261 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.3716, allocations: 9.016 kB / 0.5261 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.3717, allocations: 9.234 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3717, allocations: 6.562 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.777e-05/0.3718, allocations: 106.7 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3718, allocations: 1.375 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.372, allocations: 26.94 kB / 0.5262 GB, free: 14.57 MB / 398.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.001002/0.373, allocations: 440.9 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.3734, allocations: 90.89 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3734, allocations: 1.25 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.3735, allocations: 44.39 kB / 0.5268 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.3739, allocations: 16.22 kB / 0.5268 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.3743, allocations: 228.8 kB / 0.527 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.3746, allocations: 0.7021 MB / 0.5277 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.3746, allocations: 19.06 kB / 0.5277 GB, free: 13.42 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3747, allocations: 1.438 kB / 0.5277 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Templates: time 0.00393/0.3786, allocations: 1.818 MB / 0.5295 GB, free: 12.72 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches