Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 113.3 kB / 17.78 MB, free: 5.281 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.001287/0.001287, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.403/1.403, allocations: 222.9 MB / 242.4 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.2212/0.2212, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4276, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.00319/0.4308, allocations: 1.587 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.4323, allocations: 1.034 MB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.4324, allocations: 5.344 kB / 0.5215 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.4326, allocations: 20.06 kB / 0.5215 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.4328, allocations: 42.41 kB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.4331, allocations: 89.06 kB / 0.5216 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.4332, allocations: 65.34 kB / 0.5217 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.4334, allocations: 15.58 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.142e-05/0.4334, allocations: 25.11 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.4338, allocations: 34.55 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.4338, allocations: 8 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.4339, allocations: 47 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.434, allocations: 10.62 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.434, allocations: 34.7 kB / 0.5219 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.4342, allocations: 95.38 kB / 0.522 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4342, allocations: 5.031 kB / 0.522 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4342, allocations: 0 / 0.522 GB, free: 1.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.4343, allocations: 0 / 0.522 GB, free: 1.539 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004238/0.4347, allocations: 390.5 kB / 0.5223 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.4347, allocations: 9.5 kB / 0.5223 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.4348, allocations: 13.02 kB / 0.5224 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.4349, allocations: 184.3 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4349, allocations: 9.656 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.435, allocations: 2.594 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.4351, allocations: 73.14 kB / 0.5226 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4351, allocations: 0.7031 kB / 0.5226 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4351, allocations: 1.469 kB / 0.5226 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4351, allocations: 0.9062 kB / 0.5226 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.4353, allocations: 37.55 kB / 0.5226 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.4356, allocations: 301.5 kB / 0.5229 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.4357, allocations: 46.06 kB / 0.523 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.4358, allocations: 20.31 kB / 0.523 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.4358, allocations: 1.125 kB / 0.523 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.4358, allocations: 39.66 kB / 0.523 GB, free: 476 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.4358, allocations: 0 / 0.523 GB, free: 476 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006242/0.4364, allocations: 165.9 kB / 0.5232 GB, free: 404 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.4365, allocations: 79.34 kB / 0.5233 GB, free: 308 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.4366, allocations: 152.2 kB / 0.5234 GB, free: 180 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.4366, allocations: 29.7 kB / 0.5234 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.4367, allocations: 93.17 kB / 0.5235 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.4367, allocations: 34.23 kB / 0.5236 GB, free: 24 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.4367, allocations: 20.95 kB / 0.5236 GB, free: 4 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4369, allocations: 324 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.418e-05/0.437, allocations: 22.55 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-05/0.4371, allocations: 39.89 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.4373, allocations: 63.11 kB / 0.524 GB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4373, allocations: 0 / 0.524 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002451/0.4375, allocations: 96.58 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4375, allocations: 6.438 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4375, allocations: 0 / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4375, allocations: 0.9688 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4376, allocations: 21.58 kB / 0.5241 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.4377, allocations: 4.031 kB / 0.5241 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.4377, allocations: 9.297 kB / 0.5241 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.4377, allocations: 6.781 kB / 0.5242 GB, free: 15.56 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 (8): * Single equations (assignments): 8 * 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.0001014/0.4378, allocations: 116 kB / 0.5243 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.4378, allocations: 8.562 kB / 0.5243 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.4381, allocations: 115.7 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4381, allocations: 1.156 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4382, allocations: 5.828 kB / 0.5244 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.4382, allocations: 8.578 kB / 0.5244 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.4387, allocations: 379 kB / 0.5248 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4387, allocations: 5.656 kB / 0.5248 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.615e-05/0.4388, allocations: 20.2 kB / 0.5248 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4388, allocations: 3.938 kB / 0.5248 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.4388, allocations: 5.844 kB / 0.5248 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4388, allocations: 5.188 kB / 0.5248 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4388, allocations: 0.6562 kB / 0.5248 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.4391, allocations: 193.4 kB / 0.525 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.4392, allocations: 87.03 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.4392, allocations: 5.891 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.4393, allocations: 10.11 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.4393, allocations: 9.359 kB / 0.5251 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.4393, allocations: 2.906 kB / 0.5251 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.4394, allocations: 108.2 kB / 0.5252 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4394, allocations: 0 / 0.5252 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.4397, allocations: 27.38 kB / 0.5252 GB, free: 14.65 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 (8): * Single equations (assignments): 8 * 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.001134/0.4408, allocations: 448.4 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.4411, allocations: 60 kB / 0.5257 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4411, allocations: 0 / 0.5257 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.4412, allocations: 38.75 kB / 0.5257 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.4416, allocations: 15.64 kB / 0.5258 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.442, allocations: 191.6 kB / 0.5259 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.4424, allocations: 0.6959 MB / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.745e-05/0.4424, allocations: 15.16 kB / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.4425, allocations: 16.48 kB / 0.5267 GB, free: 13.54 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4425, allocations: 0 / 0.5267 GB, free: 13.54 MB / 398.1 MB Notification: Performance of Templates: time 0.004897/0.4474, allocations: 1.461 MB / 0.5281 GB, free: 13.12 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches