Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001341, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.237/1.237, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007591/0.0007594, allocations: 85.19 kB / 271.2 MB, free: 8.25 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.2764/0.2764, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 15.98 kB / 432 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09277/0.09313, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.00159/0.09476, allocations: 1.255 MB / 492.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004747/0.09525, allocations: 299.8 kB / 492.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.09529, allocations: 4 kB / 492.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.09551, allocations: 67.84 kB / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.09565, allocations: 55.8 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.09584, allocations: 59.92 kB / 492.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.09596, allocations: 51.84 kB / 492.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.09604, allocations: 15.97 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.934e-05/0.0961, allocations: 35.84 kB / 492.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.09619, allocations: 43.88 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.09621, allocations: 0 / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-05/0.09627, allocations: 24 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.09632, allocations: 15.92 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.09637, allocations: 49.52 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.09648, allocations: 63.89 kB / 492.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.09649, allocations: 0 / 492.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.0965, allocations: 0 / 492.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.0965, allocations: 0 / 492.9 MB, free: 8.609 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.0003844/0.09689, allocations: 399.3 kB / 493.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.09693, allocations: 11.97 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.09696, allocations: 8.844 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.09713, allocations: 196.1 kB / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.09714, allocations: 384 / 493.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.09717, allocations: 8.375 kB / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.09729, allocations: 53.8 kB / 493.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.09731, allocations: 4 kB / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.09732, allocations: 0 / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.09733, allocations: 0 / 493.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.755e-05/0.09742, allocations: 35.91 kB / 493.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.09774, allocations: 272.9 kB / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.09792, allocations: 50.56 kB / 493.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.09798, allocations: 16.94 kB / 493.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.098, allocations: 0 / 493.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.09802, allocations: 42.5 kB / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.09803, allocations: 3.938 kB / 493.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004822/0.09852, allocations: 161.2 kB / 494.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.09856, allocations: 59.34 kB / 494.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.09873, allocations: 198.2 kB / 494.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.09875, allocations: 33.7 kB / 494.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.09882, allocations: 100.1 kB / 494.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.09884, allocations: 11.72 kB / 494.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.09885, allocations: 8 kB / 494.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.09895, allocations: 322.8 kB / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.09902, allocations: 19.98 kB / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.09908, allocations: 23.98 kB / 494.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.09921, allocations: 56.83 kB / 494.9 MB, free: 6.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.09921, allocations: 0 / 494.9 MB, free: 6.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001754/0.09939, allocations: 89.58 kB / 495 MB, free: 6.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.09941, allocations: 4 kB / 495 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.09942, allocations: 3.938 kB / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.09944, allocations: 0 / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.0995, allocations: 15.98 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.09951, allocations: 0 / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.952e-05/0.09956, allocations: 15.94 kB / 495 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.09957, allocations: 3.984 kB / 495 MB, free: 6.207 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.444e-05/0.09966, allocations: 129.8 kB / 495.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.09969, allocations: 7.906 kB / 495.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.0999, allocations: 97.97 kB / 495.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.09992, allocations: 4 kB / 495.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.09993, allocations: 7.922 kB / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.09993, allocations: 0 / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.1003, allocations: 358.8 kB / 495.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1003, allocations: 0 / 495.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.1004, allocations: 19.98 kB / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1004, allocations: 0 / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-06/0.1004, allocations: 0 / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1004, allocations: 3.938 kB / 495.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1004, allocations: 0 / 495.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.1006, allocations: 195.3 kB / 495.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.1007, allocations: 89.02 kB / 495.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1007, allocations: 0 / 495.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1008, allocations: 11.92 kB / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.1008, allocations: 4 kB / 495.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1008, allocations: 0 / 495.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1009, allocations: 164 kB / 496.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1009, allocations: 4 kB / 496.1 MB, free: 5.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000212/0.1011, allocations: 23.94 kB / 496.1 MB, free: 5.004 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.0007508/0.1019, allocations: 398.2 kB / 496.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1021, allocations: 55.91 kB / 496.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1021, allocations: 4 kB / 496.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.1022, allocations: 27.98 kB / 496.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.1024, allocations: 15.98 kB / 496.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.1028, allocations: 258.9 kB / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.103, allocations: 0.6965 MB / 497.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.1031, allocations: 19.42 kB / 497.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1031, allocations: 0 / 497.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of Templates: time 0.002476/0.1056, allocations: 1.454 MB / 499 MB, free: 2.066 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches