Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.222/1.222, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007328/0.0007328, allocations: 106.3 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2848/0.2848, allocations: 43.55 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09521, allocations: 58.84 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.001597/0.09684, allocations: 1.263 MB / 492.1 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000486/0.09734, allocations: 311.8 kB / 492.4 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.09739, allocations: 0 / 492.4 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.09762, allocations: 71.83 kB / 492.5 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.09778, allocations: 55.88 kB / 492.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.09802, allocations: 87.77 kB / 492.6 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.09814, allocations: 55.83 kB / 492.6 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.09823, allocations: 15.97 kB / 492.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.359e-05/0.09828, allocations: 23.92 kB / 492.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.09838, allocations: 47.81 kB / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.0984, allocations: 4 kB / 492.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.758e-05/0.09846, allocations: 20 kB / 492.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.09851, allocations: 19.92 kB / 492.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.09856, allocations: 49.5 kB / 492.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.09867, allocations: 63.91 kB / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.09868, allocations: 0 / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09868, allocations: 0 / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.09869, allocations: 0 / 492.9 MB, free: 8.812 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.0004011/0.0991, allocations: 391.4 kB / 493.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.09914, allocations: 15.97 kB / 493.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.09917, allocations: 16.83 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.09934, allocations: 196.1 kB / 493.5 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.09936, allocations: 384 / 493.5 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.09938, allocations: 4.375 kB / 493.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.09952, allocations: 57.73 kB / 493.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.09954, allocations: 0 / 493.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.09955, allocations: 0 / 493.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.09956, allocations: 0 / 493.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.593e-05/0.09965, allocations: 31.98 kB / 493.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.09999, allocations: 292.9 kB / 493.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1002, allocations: 50.5 kB / 493.9 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.1002, allocations: 20.94 kB / 493.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1003, allocations: 0 / 493.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1003, allocations: 30.56 kB / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1003, allocations: 0 / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005475/0.1009, allocations: 177.1 kB / 494.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.1009, allocations: 55.41 kB / 494.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1011, allocations: 198.2 kB / 494.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.1011, allocations: 25.7 kB / 494.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.1012, allocations: 108.1 kB / 494.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1012, allocations: 15.72 kB / 494.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.1012, allocations: 0 / 494.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1013, allocations: 326.8 kB / 494.9 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.1014, allocations: 23.98 kB / 494.9 MB, free: 6.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.1015, allocations: 27.98 kB / 494.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1016, allocations: 60.77 kB / 495 MB, free: 6.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1016, allocations: 0 / 495 MB, free: 6.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001869/0.1018, allocations: 101.6 kB / 495.1 MB, free: 6.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1018, allocations: 4 kB / 495.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1018, allocations: 0 / 495.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1018, allocations: 0 / 495.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.1019, allocations: 15.98 kB / 495.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1019, allocations: 0 / 495.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.102, allocations: 11.94 kB / 495.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.102, allocations: 0 / 495.1 MB, free: 6.379 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 (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 8.671e-05/0.1021, allocations: 137.8 kB / 495.2 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.1021, allocations: 7.906 kB / 495.2 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.1024, allocations: 114.1 kB / 495.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1024, allocations: 0 / 495.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1024, allocations: 0 / 495.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1024, allocations: 4 kB / 495.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.1028, allocations: 370.4 kB / 495.7 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1028, allocations: 0 / 495.7 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.1029, allocations: 19.92 kB / 495.7 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1029, allocations: 4.281 kB / 495.7 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1029, allocations: 0 / 495.7 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.1029, allocations: 3.938 kB / 495.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1029, allocations: 0 / 495.7 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1031, allocations: 203.3 kB / 495.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.1032, allocations: 85.02 kB / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1032, allocations: 0 / 496 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.1033, allocations: 11.92 kB / 496 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.1033, allocations: 4 kB / 496 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1033, allocations: 7.938 kB / 496 MB, free: 5.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1035, allocations: 160 kB / 496.2 MB, free: 5.164 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1035, allocations: 0 / 496.2 MB, free: 5.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000227/0.1037, allocations: 19.98 kB / 496.2 MB, free: 5.145 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 (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.0007893/0.1045, allocations: 410.6 kB / 496.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1047, allocations: 59.95 kB / 496.7 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1047, allocations: 0 / 496.7 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.987e-05/0.1048, allocations: 35.92 kB / 496.7 MB, free: 4.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1051, allocations: 15.98 kB / 496.7 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.1055, allocations: 262.9 kB / 497 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.1058, allocations: 0.7043 MB / 497.7 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.1058, allocations: 11.44 kB / 497.7 MB, free: 3.637 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1058, allocations: 0 / 497.7 MB, free: 3.637 MB / 378.7 MB Notification: Performance of Templates: time 0.002841/0.1087, allocations: 1.489 MB / 499.2 MB, free: 2.148 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches