Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, 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.291/1.291, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009848/0.0009849, allocations: 98.58 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3336/0.3336, allocations: 44.84 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3485, allocations: 62.02 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003276/0.3518, allocations: 1.665 MB / 0.5168 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3529, allocations: 0.5426 MB / 0.5173 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.353, allocations: 4 kB / 0.5173 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.3534, allocations: 122.7 kB / 0.5174 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.3536, allocations: 109.2 kB / 0.5175 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.3539, allocations: 99.94 kB / 0.5176 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.3541, allocations: 90.42 kB / 0.5177 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3542, allocations: 23.8 kB / 0.5177 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.3543, allocations: 40.97 kB / 0.5178 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3544, allocations: 80.23 kB / 0.5179 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.3544, allocations: 2.844 kB / 0.5179 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.3545, allocations: 46.33 kB / 0.5179 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.3546, allocations: 30.62 kB / 0.5179 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.3547, allocations: 39.81 kB / 0.518 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3548, allocations: 122.5 kB / 0.5181 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3548, allocations: 0 / 0.5181 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3549, allocations: 2.781 kB / 0.5181 GB, free: 35.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.3549, allocations: 0 / 0.5181 GB, free: 35.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000476/0.3553, allocations: 432.5 kB / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3554, allocations: 8.625 kB / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.3554, allocations: 14.56 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.3556, allocations: 215 kB / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3556, allocations: 384 / 0.5187 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.3557, allocations: 11.28 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3558, allocations: 54.69 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3558, allocations: 0 / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3558, allocations: 3.938 kB / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3559, allocations: 0 / 0.5188 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.356, allocations: 31.47 kB / 0.5188 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.3563, allocations: 317 kB / 0.5191 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.13e-05/0.3564, allocations: 46.61 kB / 0.5192 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.3565, allocations: 18.38 kB / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.3565, allocations: 2.781 kB / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3565, allocations: 30.56 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3565, allocations: 0 / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008337/0.3574, allocations: 252.7 kB / 0.5195 GB, free: 34.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.3574, allocations: 55.34 kB / 0.5195 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3576, allocations: 280.7 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3577, allocations: 32.67 kB / 0.5198 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.3577, allocations: 117.1 kB / 0.5199 GB, free: 34.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.3577, allocations: 25.8 kB / 0.52 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.3578, allocations: 22.56 kB / 0.52 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.3579, allocations: 324.3 kB / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-05/0.3579, allocations: 31.75 kB / 0.5203 GB, free: 34.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.358, allocations: 31.2 kB / 0.5203 GB, free: 34.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.3582, allocations: 76.69 kB / 0.5204 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3582, allocations: 0 / 0.5204 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001851/0.3584, allocations: 113.9 kB / 0.5205 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3584, allocations: 5.312 kB / 0.5205 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3584, allocations: 3.375 kB / 0.5205 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3584, allocations: 2.938 kB / 0.5205 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.3585, allocations: 17.31 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3585, allocations: 320 / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.3586, allocations: 15.88 kB / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3586, allocations: 0 / 0.5206 GB, free: 33.95 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 (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 8.581e-05/0.3587, allocations: 137.2 kB / 0.5207 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.3588, allocations: 13.41 kB / 0.5207 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.359, allocations: 137.3 kB / 0.5208 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.359, allocations: 0 / 0.5208 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.359, allocations: 0 / 0.5208 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.359, allocations: 7.938 kB / 0.5208 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.3595, allocations: 436.6 kB / 0.5213 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3595, allocations: 0 / 0.5213 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.3596, allocations: 21.84 kB / 0.5213 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3596, allocations: 3.938 kB / 0.5213 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3596, allocations: 2.812 kB / 0.5213 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3596, allocations: 4.031 kB / 0.5213 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3596, allocations: 0 / 0.5213 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.3601, allocations: 0.8191 MB / 0.5221 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.3601, allocations: 91.7 kB / 0.5222 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3601, allocations: 0 / 0.5222 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.3602, allocations: 8.344 kB / 0.5222 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.3603, allocations: 13.81 kB / 0.5222 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3603, allocations: 6.812 kB / 0.5222 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.3604, allocations: 207.5 kB / 0.5224 GB, free: 32.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3604, allocations: 0 / 0.5224 GB, free: 32.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.3608, allocations: 27.34 kB / 0.5224 GB, free: 32.37 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 (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.0009295/0.3617, allocations: 458.8 kB / 0.5229 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3619, allocations: 68.27 kB / 0.5229 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3619, allocations: 4 kB / 0.5229 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.362, allocations: 41.39 kB / 0.523 GB, free: 32.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.3624, allocations: 23.59 kB / 0.523 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.3629, allocations: 469.7 kB / 0.5235 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.3631, allocations: 0.7282 MB / 0.5242 GB, free: 31.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.643e-05/0.3632, allocations: 25.91 kB / 0.5242 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.3632, allocations: 15.38 kB / 0.5242 GB, free: 31.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3632, allocations: 0 / 0.5242 GB, free: 31.02 MB / 378.7 MB Notification: Performance of Templates: time 0.003515/0.3668, allocations: 1.372 MB / 0.5255 GB, free: 30.86 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches