Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 76.09 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3448, allocations: 62.44 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003405/0.3483, allocations: 1.685 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3494, allocations: 0.5716 MB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.3494, allocations: 5.312 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.3497, allocations: 47.06 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.35, allocations: 99.2 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.3505, allocations: 178.1 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.3506, allocations: 92.86 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3508, allocations: 27.22 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.684e-05/0.3508, allocations: 30.98 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.351, allocations: 47.08 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.351, allocations: 4.125 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3511, allocations: 52.91 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.3512, allocations: 24.16 kB / 0.5345 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.3512, allocations: 34.62 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.3514, allocations: 108.8 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3514, allocations: 1.375 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3514, allocations: 3.938 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3514, allocations: 0 / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005335/0.352, allocations: 420.1 kB / 0.535 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.352, allocations: 8.312 kB / 0.535 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.3521, allocations: 9.719 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3523, allocations: 203.7 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3523, allocations: 1.469 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.3523, allocations: 7.688 kB / 0.5352 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.3525, allocations: 69.16 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3525, allocations: 5.469 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3525, allocations: 0 / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3526, allocations: 1.469 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.3527, allocations: 48.73 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.3532, allocations: 315 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.3534, allocations: 68.17 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.3535, allocations: 26.03 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.3535, allocations: 1.156 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3535, allocations: 31.91 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3535, allocations: 0 / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001417/0.355, allocations: 417.8 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.355, allocations: 56.59 kB / 0.5362 GB, free: 9.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.3552, allocations: 180.8 kB / 0.5364 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3552, allocations: 30.86 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.3553, allocations: 100.4 kB / 0.5365 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.3553, allocations: 43.97 kB / 0.5366 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.3554, allocations: 26.34 kB / 0.5366 GB, free: 9.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3555, allocations: 322.3 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3557, allocations: 56.39 kB / 0.537 GB, free: 9.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3558, allocations: 53.64 kB / 0.537 GB, free: 9.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.3561, allocations: 131.7 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3561, allocations: 0 / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003281/0.3564, allocations: 164.3 kB / 0.5373 GB, free: 9.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3564, allocations: 5.375 kB / 0.5373 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3565, allocations: 1.031 kB / 0.5373 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3565, allocations: 0 / 0.5373 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3566, allocations: 32.95 kB / 0.5373 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3566, allocations: 9.344 kB / 0.5373 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.3567, allocations: 13.55 kB / 0.5373 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3567, allocations: 10.27 kB / 0.5374 GB, free: 9.07 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 (11): * Single equations (assignments): 11 * 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.0001042/0.3568, allocations: 123.8 kB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.3569, allocations: 17.34 kB / 0.5375 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.3573, allocations: 189.9 kB / 0.5377 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3573, allocations: 5.344 kB / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.3573, allocations: 3.984 kB / 0.5377 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3573, allocations: 0 / 0.5377 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.358, allocations: 0.4885 MB / 0.5382 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.358, allocations: 5.188 kB / 0.5382 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3581, allocations: 24.67 kB / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3581, allocations: 1.188 kB / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3582, allocations: 6.172 kB / 0.5382 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3582, allocations: 1.094 kB / 0.5382 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3582, allocations: 1.031 kB / 0.5382 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.3586, allocations: 277.3 kB / 0.5385 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.3586, allocations: 84.08 kB / 0.5385 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.3587, allocations: 5.812 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.3588, allocations: 17.77 kB / 0.5386 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.3588, allocations: 8.734 kB / 0.5386 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.3588, allocations: 12.19 kB / 0.5386 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.359, allocations: 132.9 kB / 0.5387 GB, free: 7.926 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.359, allocations: 0 / 0.5387 GB, free: 7.926 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000275/0.3592, allocations: 26.47 kB / 0.5387 GB, free: 7.918 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001078/0.3603, allocations: 468.9 kB / 0.5392 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.3607, allocations: 128.7 kB / 0.5393 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3607, allocations: 0 / 0.5393 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.3609, allocations: 72.2 kB / 0.5394 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3613, allocations: 26.58 kB / 0.5394 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.3619, allocations: 328.7 kB / 0.5397 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.3622, allocations: 0.7139 MB / 0.5404 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.3622, allocations: 19.47 kB / 0.5404 GB, free: 6.586 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3622, allocations: 0 / 0.5404 GB, free: 6.586 MB / 398.1 MB Notification: Performance of Templates: time 0.003835/0.3661, allocations: 2.052 MB / 0.5424 GB, free: 5.52 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches