Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.344/1.344, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.00135, allocations: 105.2 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4089/0.4089, allocations: 44.14 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 55.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.389, allocations: 60.81 MB / 0.5064 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003685/0.3928, allocations: 1.615 MB / 0.508 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.3943, allocations: 1.008 MB / 0.509 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.3944, allocations: 0 / 0.509 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.3946, allocations: 19.2 kB / 0.509 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.3949, allocations: 31.75 kB / 0.509 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.3952, allocations: 103.8 kB / 0.5091 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.3954, allocations: 58.19 kB / 0.5092 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3956, allocations: 18.08 kB / 0.5092 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.709e-05/0.3956, allocations: 11.59 kB / 0.5092 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.3958, allocations: 30.55 kB / 0.5092 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3958, allocations: 3.062 kB / 0.5092 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.396, allocations: 48.41 kB / 0.5093 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.396, allocations: 16.78 kB / 0.5093 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.3961, allocations: 29.89 kB / 0.5093 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.3963, allocations: 80.05 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3963, allocations: 2.438 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3963, allocations: 0 / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3963, allocations: 0 / 0.5094 GB, free: 36.37 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.0005078/0.3969, allocations: 378.2 kB / 0.5097 GB, free: 35.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3969, allocations: 11.12 kB / 0.5098 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.397, allocations: 7.562 kB / 0.5098 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.3972, allocations: 192.2 kB / 0.5099 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3972, allocations: 8.375 kB / 0.51 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3972, allocations: 3.188 kB / 0.51 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3974, allocations: 65.66 kB / 0.51 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3974, allocations: 0 / 0.51 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3974, allocations: 4 kB / 0.51 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3974, allocations: 2.938 kB / 0.51 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.3975, allocations: 26.12 kB / 0.5101 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.3979, allocations: 276.9 kB / 0.5103 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.3981, allocations: 44.47 kB / 0.5104 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.3982, allocations: 23.14 kB / 0.5104 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3982, allocations: 0 / 0.5104 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.3982, allocations: 37.89 kB / 0.5104 GB, free: 35.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3982, allocations: 0 / 0.5104 GB, free: 35.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005415/0.3988, allocations: 146 kB / 0.5106 GB, free: 35.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3988, allocations: 77.11 kB / 0.5106 GB, free: 35.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3989, allocations: 136.9 kB / 0.5108 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.3989, allocations: 29.7 kB / 0.5108 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.399, allocations: 90.64 kB / 0.5109 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.399, allocations: 21.52 kB / 0.5109 GB, free: 34.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.399, allocations: 19.12 kB / 0.5109 GB, free: 34.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.3991, allocations: 320.5 kB / 0.5112 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/0.3992, allocations: 18.69 kB / 0.5112 GB, free: 34.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.3993, allocations: 42.95 kB / 0.5113 GB, free: 34.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.3994, allocations: 54.8 kB / 0.5113 GB, free: 34.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3994, allocations: 0 / 0.5113 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000169/0.3996, allocations: 79.25 kB / 0.5114 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3996, allocations: 5.594 kB / 0.5114 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3996, allocations: 0 / 0.5114 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3996, allocations: 6.297 kB / 0.5114 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.3997, allocations: 8.75 kB / 0.5114 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3997, allocations: 4.25 kB / 0.5114 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.3997, allocations: 10.58 kB / 0.5114 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3998, allocations: 11.91 kB / 0.5115 GB, free: 34.46 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/0.3998, allocations: 122.1 kB / 0.5116 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.3999, allocations: 7.438 kB / 0.5116 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.4001, allocations: 92.91 kB / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4001, allocations: 7.031 kB / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4001, allocations: 0 / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4001, allocations: 0 / 0.5117 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.4005, allocations: 354.4 kB / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4005, allocations: 0 / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.866e-05/0.4005, allocations: 8.844 kB / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4006, allocations: 2.75 kB / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.4006, allocations: 3.281 kB / 0.512 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4006, allocations: 11.88 kB / 0.512 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4006, allocations: 0 / 0.512 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.401, allocations: 0.7573 MB / 0.5128 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.401, allocations: 81.02 kB / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.401, allocations: 7 kB / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.4011, allocations: 6.078 kB / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.4012, allocations: 7.016 kB / 0.5129 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4012, allocations: 0 / 0.5129 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.8e-05/0.4012, allocations: 104.2 kB / 0.513 GB, free: 33.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4012, allocations: 0 / 0.513 GB, free: 33.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.4016, allocations: 25.53 kB / 0.513 GB, free: 33 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 (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.000936/0.4025, allocations: 445.2 kB / 0.5134 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.4027, allocations: 52.94 kB / 0.5135 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4028, allocations: 3.938 kB / 0.5135 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.4028, allocations: 24.61 kB / 0.5135 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.4032, allocations: 21.2 kB / 0.5135 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.4036, allocations: 300.6 kB / 0.5138 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.4037, allocations: 0.6939 MB / 0.5145 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.751e-05/0.4038, allocations: 23.8 kB / 0.5145 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.4039, allocations: 16.55 kB / 0.5145 GB, free: 31.78 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4039, allocations: 0 / 0.5145 GB, free: 31.78 MB / 378.7 MB Notification: Performance of Templates: time 0.00358/0.4074, allocations: 1.331 MB / 0.5158 GB, free: 31.61 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches