Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001545, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002279/0.002279, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2602/0.2602, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 75.88 kB / 481.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4267, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002858/0.4296, allocations: 1.601 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009997/0.4306, allocations: 0.5547 MB / 0.5331 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.4307, allocations: 1.375 kB / 0.5331 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.4309, allocations: 31.91 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.4312, allocations: 72.22 kB / 0.5332 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.4315, allocations: 117.5 kB / 0.5333 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.4317, allocations: 76.66 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.4318, allocations: 15.94 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.4319, allocations: 21.64 kB / 0.5334 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.423e-05/0.432, allocations: 33.56 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.432, allocations: 4.281 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.4322, allocations: 105.6 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.981e-05/0.4323, allocations: 14.45 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.4323, allocations: 25.75 kB / 0.5336 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.4326, allocations: 144.9 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4326, allocations: 1.375 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.4326, allocations: 0 / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.4326, allocations: 3.938 kB / 0.5338 GB, free: 11.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005809/0.4332, allocations: 402.7 kB / 0.5341 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4333, allocations: 9.562 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.4333, allocations: 12.25 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.4336, allocations: 189.9 kB / 0.5343 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4336, allocations: 5.469 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.4336, allocations: 2.625 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.4338, allocations: 69.14 kB / 0.5344 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4338, allocations: 3.938 kB / 0.5344 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4338, allocations: 0 / 0.5344 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4338, allocations: 1.125 kB / 0.5344 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.538e-05/0.4339, allocations: 25.61 kB / 0.5344 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.4344, allocations: 303.8 kB / 0.5347 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.4345, allocations: 51.03 kB / 0.5348 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.4346, allocations: 24.16 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4346, allocations: 0 / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.4347, allocations: 35.62 kB / 0.5348 GB, free: 10.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.675e-06/0.4347, allocations: 8.984 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006132/0.4353, allocations: 173.2 kB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4354, allocations: 78.48 kB / 0.5351 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.4355, allocations: 166 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4356, allocations: 25.7 kB / 0.5353 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.4356, allocations: 90.89 kB / 0.5354 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.4356, allocations: 23.83 kB / 0.5354 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.4357, allocations: 24.59 kB / 0.5354 GB, free: 9.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4358, allocations: 324.1 kB / 0.5357 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.4359, allocations: 32.45 kB / 0.5357 GB, free: 9.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-05/0.436, allocations: 42.33 kB / 0.5358 GB, free: 9.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.4362, allocations: 76.53 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4362, allocations: 0 / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002124/0.4364, allocations: 103.7 kB / 0.536 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4364, allocations: 4.625 kB / 0.536 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4364, allocations: 9.453 kB / 0.536 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4364, allocations: 0 / 0.536 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.4365, allocations: 13.28 kB / 0.536 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4366, allocations: 5.234 kB / 0.536 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.4366, allocations: 10.91 kB / 0.536 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.4366, allocations: 6.5 kB / 0.536 GB, free: 9.348 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 9.519e-05/0.4367, allocations: 119.3 kB / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.4368, allocations: 7.625 kB / 0.5361 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.4371, allocations: 123.6 kB / 0.5362 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4371, allocations: 1.125 kB / 0.5362 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4371, allocations: 1.062 kB / 0.5362 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4371, allocations: 4 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.4376, allocations: 394.4 kB / 0.5366 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4376, allocations: 0 / 0.5366 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.4377, allocations: 16.89 kB / 0.5366 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4377, allocations: 0 / 0.5366 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4377, allocations: 4.906 kB / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4377, allocations: 1.094 kB / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4377, allocations: 3.984 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.438, allocations: 202 kB / 0.5368 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.4381, allocations: 84.27 kB / 0.5369 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.4381, allocations: 7.938 kB / 0.5369 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.4382, allocations: 11.8 kB / 0.5369 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.4382, allocations: 6.562 kB / 0.537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.4382, allocations: 2.094 kB / 0.537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.4383, allocations: 120.8 kB / 0.5371 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4383, allocations: 0 / 0.5371 GB, free: 8.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.4386, allocations: 47.2 kB / 0.5371 GB, free: 8.332 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 (7): * Single equations (assignments): 7 * 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.001127/0.4398, allocations: 491.5 kB / 0.5376 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.44, allocations: 73.84 kB / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.44, allocations: 0 / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.4401, allocations: 37.95 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.4405, allocations: 17.28 kB / 0.5377 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.4409, allocations: 194 kB / 0.5379 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.4412, allocations: 0.6917 MB / 0.5386 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.783e-05/0.4413, allocations: 26.23 kB / 0.5386 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.4413, allocations: 18.53 kB / 0.5386 GB, free: 7.137 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4413, allocations: 1.125 kB / 0.5386 GB, free: 7.137 MB / 398.1 MB Notification: Performance of Templates: time 0.004601/0.4459, allocations: 1.945 MB / 0.5405 GB, free: 6.129 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches