Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001195, allocations: 96.72 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3379/0.3379, allocations: 44.84 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3771, allocations: 62.02 MB / 0.5152 GB, free: 37.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003054/0.3802, allocations: 1.716 MB / 0.5168 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009685/0.3812, allocations: 0.5409 MB / 0.5174 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.3813, allocations: 0 / 0.5174 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.3817, allocations: 100.8 kB / 0.5175 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.3821, allocations: 98.8 kB / 0.5175 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.3825, allocations: 99.83 kB / 0.5176 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.3827, allocations: 96.58 kB / 0.5177 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.3828, allocations: 27.09 kB / 0.5178 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.3829, allocations: 38.66 kB / 0.5178 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3831, allocations: 64.81 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.3831, allocations: 2.844 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.3832, allocations: 45.64 kB / 0.5179 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.3833, allocations: 31.58 kB / 0.5179 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.3834, allocations: 40.02 kB / 0.518 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.3836, allocations: 131.5 kB / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3836, allocations: 0 / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3837, allocations: 0 / 0.5181 GB, free: 35.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.3837, allocations: 0 / 0.5181 GB, free: 35.81 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005943/0.3843, allocations: 425.5 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3843, allocations: 11.56 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.3844, allocations: 14.44 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.3846, allocations: 213 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3846, allocations: 11.22 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.3846, allocations: 3.281 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3848, allocations: 83.03 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3848, allocations: 0 / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3848, allocations: 4 kB / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3849, allocations: 2.812 kB / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.385, allocations: 44.11 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.3855, allocations: 342.5 kB / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3856, allocations: 64.52 kB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.3857, allocations: 23.06 kB / 0.5193 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.3857, allocations: 6.531 kB / 0.5193 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3858, allocations: 38.03 kB / 0.5193 GB, free: 34.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.476e-06/0.3858, allocations: 0 / 0.5193 GB, free: 34.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001088/0.3869, allocations: 330 kB / 0.5196 GB, free: 34.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3869, allocations: 58.41 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3872, allocations: 233.2 kB / 0.5199 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3872, allocations: 28.77 kB / 0.5199 GB, free: 34.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.3873, allocations: 116.5 kB / 0.5201 GB, free: 34.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.3873, allocations: 40.55 kB / 0.5201 GB, free: 34.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.3874, allocations: 29.05 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.3875, allocations: 323.4 kB / 0.5204 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3876, allocations: 45.83 kB / 0.5205 GB, free: 33.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.171e-05/0.3877, allocations: 49.08 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.388, allocations: 115.9 kB / 0.5206 GB, free: 33.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.388, allocations: 3.938 kB / 0.5206 GB, free: 33.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002636/0.3882, allocations: 146.1 kB / 0.5208 GB, free: 33.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3883, allocations: 5.812 kB / 0.5208 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3883, allocations: 4 kB / 0.5208 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3883, allocations: 3.938 kB / 0.5208 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3884, allocations: 31.8 kB / 0.5208 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3885, allocations: 0 / 0.5208 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.3885, allocations: 9.109 kB / 0.5208 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3885, allocations: 3.094 kB / 0.5208 GB, free: 33.69 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 (13): * Single equations (assignments): 13 * 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 9.678e-05/0.3886, allocations: 139.7 kB / 0.521 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.3887, allocations: 13.59 kB / 0.521 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.389, allocations: 196.7 kB / 0.5212 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3891, allocations: 6.078 kB / 0.5212 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3891, allocations: 0 / 0.5212 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3891, allocations: 3.234 kB / 0.5212 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006115/0.3897, allocations: 0.5016 MB / 0.5217 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3897, allocations: 2.688 kB / 0.5217 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/0.3898, allocations: 26.92 kB / 0.5217 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3898, allocations: 0 / 0.5217 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3898, allocations: 7.938 kB / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3898, allocations: 0 / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3898, allocations: 0 / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.3904, allocations: 0.8767 MB / 0.5226 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.3904, allocations: 86.86 kB / 0.5226 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3904, allocations: 3.422 kB / 0.5226 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.3905, allocations: 6.844 kB / 0.5227 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.3906, allocations: 17.06 kB / 0.5227 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3906, allocations: 3.219 kB / 0.5227 GB, free: 32.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.3907, allocations: 193 kB / 0.5229 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3907, allocations: 0 / 0.5229 GB, free: 32.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003606/0.3911, allocations: 24.03 kB / 0.5229 GB, free: 32.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0009947/0.3921, allocations: 456.2 kB / 0.5233 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.3924, allocations: 110.2 kB / 0.5234 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3924, allocations: 0 / 0.5234 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3925, allocations: 60.52 kB / 0.5235 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3929, allocations: 26.89 kB / 0.5235 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000704/0.3936, allocations: 0.5058 MB / 0.524 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.3938, allocations: 0.7298 MB / 0.5247 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.144e-05/0.3939, allocations: 28.56 kB / 0.5247 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.394, allocations: 14.5 kB / 0.5247 GB, free: 30.65 MB / 378.7 MB Notification: Performance of SimCode: time 4.8e-07/0.394, allocations: 0 / 0.5247 GB, free: 30.65 MB / 378.7 MB Notification: Performance of Templates: time 0.004283/0.3983, allocations: 1.574 MB / 0.5263 GB, free: 30.47 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches