Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, 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.332/1.332, 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.001019/0.001019, allocations: 92.92 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.3503/0.3503, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 47.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3773, allocations: 60.8 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003792/0.3811, allocations: 1.621 MB / 0.508 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3822, allocations: 407 kB / 0.5084 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.64e-05/0.3823, allocations: 0 / 0.5084 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.3827, allocations: 15.69 kB / 0.5084 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.3829, allocations: 41.08 kB / 0.5084 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.3831, allocations: 74.92 kB / 0.5085 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3833, allocations: 61.16 kB / 0.5085 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3835, allocations: 13.11 kB / 0.5086 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.535e-05/0.3835, allocations: 12.72 kB / 0.5086 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.717e-05/0.3836, allocations: 25.77 kB / 0.5086 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3836, allocations: 4 kB / 0.5086 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.3837, allocations: 24.94 kB / 0.5086 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.3838, allocations: 17.31 kB / 0.5086 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.3838, allocations: 15.53 kB / 0.5086 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.384, allocations: 87.41 kB / 0.5087 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.384, allocations: 0 / 0.5087 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.384, allocations: 0 / 0.5087 GB, free: 36.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.384, allocations: 0 / 0.5087 GB, free: 36.71 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.0004454/0.3845, allocations: 384.3 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3845, allocations: 8.562 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.3846, allocations: 14.12 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.3847, allocations: 186.9 kB / 0.5093 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3848, allocations: 384 / 0.5093 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.3848, allocations: 6.844 kB / 0.5093 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.3849, allocations: 48.38 kB / 0.5094 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.385, allocations: 3.938 kB / 0.5094 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.385, allocations: 0 / 0.5094 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.385, allocations: 0 / 0.5094 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.719e-05/0.3851, allocations: 23.03 kB / 0.5094 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.3854, allocations: 280 kB / 0.5096 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3856, allocations: 42.8 kB / 0.5097 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.3857, allocations: 21.83 kB / 0.5097 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3857, allocations: 6.812 kB / 0.5097 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.3857, allocations: 34.56 kB / 0.5097 GB, free: 35.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.3858, allocations: 3.938 kB / 0.5097 GB, free: 35.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005221/0.3863, allocations: 134.5 kB / 0.5099 GB, free: 35.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.3863, allocations: 57.42 kB / 0.5099 GB, free: 35.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3865, allocations: 169.2 kB / 0.5101 GB, free: 35.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.3865, allocations: 25.7 kB / 0.5101 GB, free: 35.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.3866, allocations: 101 kB / 0.5102 GB, free: 35.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.3866, allocations: 15.8 kB / 0.5102 GB, free: 35.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.3866, allocations: 18.78 kB / 0.5102 GB, free: 35.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.3867, allocations: 324.8 kB / 0.5106 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.255e-05/0.3868, allocations: 18.44 kB / 0.5106 GB, free: 34.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.3868, allocations: 15.94 kB / 0.5106 GB, free: 34.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.3869, allocations: 46.64 kB / 0.5106 GB, free: 34.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.387, allocations: 0 / 0.5106 GB, free: 34.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001526/0.3871, allocations: 87.75 kB / 0.5107 GB, free: 34.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3871, allocations: 5.906 kB / 0.5107 GB, free: 34.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3871, allocations: 0 / 0.5107 GB, free: 34.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3872, allocations: 4 kB / 0.5107 GB, free: 34.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.3872, allocations: 11.81 kB / 0.5107 GB, free: 34.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3872, allocations: 2.875 kB / 0.5107 GB, free: 34.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.3873, allocations: 7 kB / 0.5107 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3873, allocations: 0 / 0.5107 GB, free: 34.86 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.795e-05/0.3874, allocations: 123 kB / 0.5109 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.3874, allocations: 9.812 kB / 0.5109 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.3876, allocations: 94.47 kB / 0.511 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3876, allocations: 0 / 0.511 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3876, allocations: 0 / 0.511 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3876, allocations: 4.281 kB / 0.511 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.388, allocations: 348.5 kB / 0.5113 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.388, allocations: 0 / 0.5113 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.388, allocations: 15.72 kB / 0.5113 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.388, allocations: 6.766 kB / 0.5113 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.388, allocations: 0 / 0.5113 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3881, allocations: 3.938 kB / 0.5113 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3881, allocations: 7.266 kB / 0.5113 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.3884, allocations: 0.7489 MB / 0.5121 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.3885, allocations: 83.77 kB / 0.5121 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3885, allocations: 0 / 0.5121 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.263e-05/0.3886, allocations: 10.47 kB / 0.5122 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.3886, allocations: 2.969 kB / 0.5122 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.3886, allocations: 7.312 kB / 0.5122 GB, free: 33.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.496e-05/0.3887, allocations: 134.5 kB / 0.5123 GB, free: 33.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3887, allocations: 0 / 0.5123 GB, free: 33.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003149/0.389, allocations: 18.66 kB / 0.5123 GB, free: 33.39 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.000824/0.3899, allocations: 401.5 kB / 0.5127 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.39, allocations: 52.06 kB / 0.5127 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.39, allocations: 0 / 0.5127 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.467e-05/0.3901, allocations: 24.58 kB / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3905, allocations: 22.98 kB / 0.5128 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.3909, allocations: 326.1 kB / 0.5131 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.391, allocations: 0.6934 MB / 0.5138 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.601e-05/0.3911, allocations: 5.938 kB / 0.5138 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.3911, allocations: 13.12 kB / 0.5138 GB, free: 32.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.91e-07/0.3911, allocations: 3.938 kB / 0.5138 GB, free: 32.18 MB / 378.7 MB Notification: Performance of Templates: time 0.003336/0.3945, allocations: 1.064 MB / 0.5148 GB, free: 32.03 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches