Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, 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.367/1.367, 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.001114/0.001114, allocations: 101.7 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.3738/0.3738, allocations: 44.13 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 55.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.414, allocations: 60.8 MB / 0.5064 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003595/0.4176, allocations: 1.615 MB / 0.508 GB, free: 37.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.419, allocations: 1.007 MB / 0.5089 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.4191, allocations: 0 / 0.5089 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.4193, allocations: 20.48 kB / 0.509 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.4196, allocations: 33.12 kB / 0.509 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.42, allocations: 101.6 kB / 0.5091 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.4201, allocations: 57.55 kB / 0.5092 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.4203, allocations: 10.53 kB / 0.5092 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.076e-05/0.4203, allocations: 24.23 kB / 0.5092 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.4205, allocations: 31.06 kB / 0.5092 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.4206, allocations: 2.344 kB / 0.5092 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.4207, allocations: 45.59 kB / 0.5093 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.4208, allocations: 14.3 kB / 0.5093 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.4208, allocations: 20.98 kB / 0.5093 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.421, allocations: 85.39 kB / 0.5094 GB, free: 36.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4211, allocations: 4.844 kB / 0.5094 GB, free: 36.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4211, allocations: 0 / 0.5094 GB, free: 36.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.4211, allocations: 0 / 0.5094 GB, free: 36.53 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.0005677/0.4216, allocations: 384.9 kB / 0.5097 GB, free: 36.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.4217, allocations: 8.344 kB / 0.5098 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.4218, allocations: 11.5 kB / 0.5098 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.422, allocations: 187.2 kB / 0.5099 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.422, allocations: 3.438 kB / 0.5099 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.4221, allocations: 384 / 0.5099 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.4223, allocations: 68.69 kB / 0.51 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.4223, allocations: 0 / 0.51 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.4223, allocations: 3.984 kB / 0.51 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4224, allocations: 0 / 0.51 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.4225, allocations: 34.25 kB / 0.5101 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.4229, allocations: 274.3 kB / 0.5103 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.4232, allocations: 46.5 kB / 0.5104 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.4232, allocations: 13.3 kB / 0.5104 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.4233, allocations: 11.31 kB / 0.5104 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.4233, allocations: 37.31 kB / 0.5104 GB, free: 35.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4233, allocations: 0 / 0.5104 GB, free: 35.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006228/0.4239, allocations: 138.1 kB / 0.5105 GB, free: 35.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.424, allocations: 83.89 kB / 0.5106 GB, free: 35.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.4241, allocations: 135.5 kB / 0.5108 GB, free: 35.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.4242, allocations: 29.7 kB / 0.5108 GB, free: 35.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.4242, allocations: 95.05 kB / 0.5109 GB, free: 35.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.4242, allocations: 15.12 kB / 0.5109 GB, free: 35.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.4243, allocations: 19.47 kB / 0.5109 GB, free: 35.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.4244, allocations: 325 kB / 0.5112 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/0.4244, allocations: 19.19 kB / 0.5112 GB, free: 34.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.4245, allocations: 38.84 kB / 0.5113 GB, free: 34.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.4247, allocations: 49.33 kB / 0.5113 GB, free: 34.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4247, allocations: 0 / 0.5113 GB, free: 34.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001951/0.4249, allocations: 94.2 kB / 0.5114 GB, free: 34.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.425, allocations: 4.906 kB / 0.5114 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.425, allocations: 3.281 kB / 0.5114 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.425, allocations: 0 / 0.5114 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.4251, allocations: 15.72 kB / 0.5114 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4251, allocations: 3.984 kB / 0.5114 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.4251, allocations: 6.219 kB / 0.5114 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.4251, allocations: 3.031 kB / 0.5114 GB, free: 34.62 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 8.222e-05/0.4252, allocations: 117.3 kB / 0.5116 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.4253, allocations: 9.891 kB / 0.5116 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.4255, allocations: 99.88 kB / 0.5117 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4255, allocations: 7.844 kB / 0.5117 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4255, allocations: 0 / 0.5117 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4256, allocations: 0 / 0.5117 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.4259, allocations: 348.4 kB / 0.512 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.426, allocations: 0 / 0.512 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.426, allocations: 11.5 kB / 0.512 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.426, allocations: 0 / 0.512 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.426, allocations: 6.938 kB / 0.512 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.426, allocations: 11.88 kB / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4261, allocations: 3.938 kB / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.4265, allocations: 0.7526 MB / 0.5128 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.4265, allocations: 91.14 kB / 0.5129 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4265, allocations: 8 kB / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/0.4266, allocations: 2.75 kB / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.4267, allocations: 6.312 kB / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.4267, allocations: 0 / 0.5129 GB, free: 33.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.391e-05/0.4267, allocations: 103.7 kB / 0.513 GB, free: 33.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4267, allocations: 0 / 0.513 GB, free: 33.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004504/0.4272, allocations: 28.47 kB / 0.513 GB, free: 33.15 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.0009671/0.4282, allocations: 442.1 kB / 0.5134 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.4284, allocations: 51.2 kB / 0.5135 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4284, allocations: 0 / 0.5135 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.698e-05/0.4285, allocations: 41.09 kB / 0.5135 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.4288, allocations: 22.08 kB / 0.5135 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.4293, allocations: 289.6 kB / 0.5138 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.4295, allocations: 0.6918 MB / 0.5145 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.4295, allocations: 21.72 kB / 0.5145 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.4296, allocations: 16.52 kB / 0.5145 GB, free: 31.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4296, allocations: 0 / 0.5145 GB, free: 31.93 MB / 378.7 MB Notification: Performance of Templates: time 0.003779/0.4334, allocations: 1.336 MB / 0.5158 GB, free: 31.77 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches