Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002026/0.002026, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002055/0.002055, allocations: 204.7 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2528/0.2528, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 71.89 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4521, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003742/0.4559, allocations: 1.603 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.4571, allocations: 0.5429 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.4571, allocations: 1.375 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.4574, allocations: 26.5 kB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.4578, allocations: 85.23 kB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.4582, allocations: 114.1 kB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.4584, allocations: 61.67 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.4585, allocations: 7.438 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.4585, allocations: 28.91 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.4586, allocations: 22.45 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.4586, allocations: 2.625 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.4587, allocations: 39.97 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.4588, allocations: 18.02 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.4589, allocations: 24.8 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.4591, allocations: 86.28 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4591, allocations: 3.938 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4591, allocations: 1.031 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.4591, allocations: 0 / 0.5336 GB, free: 11.6 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.0006182/0.4597, allocations: 390.7 kB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.4598, allocations: 13.84 kB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.4598, allocations: 15.56 kB / 0.534 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.4601, allocations: 206.2 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.4601, allocations: 1.656 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.4601, allocations: 5.125 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.4603, allocations: 48.94 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4603, allocations: 1.062 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4603, allocations: 0 / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4603, allocations: 1.031 kB / 0.5343 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.79e-05/0.4604, allocations: 26.22 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.4608, allocations: 289.6 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.4611, allocations: 44.12 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.4611, allocations: 15.78 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.4612, allocations: 1.156 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.657e-05/0.4612, allocations: 35.69 kB / 0.5346 GB, free: 10.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4612, allocations: 0 / 0.5346 GB, free: 10.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006088/0.4619, allocations: 155.4 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.4619, allocations: 52.44 kB / 0.5348 GB, free: 10.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.4621, allocations: 178.2 kB / 0.535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.4621, allocations: 31.08 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.4622, allocations: 100.2 kB / 0.5351 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.4622, allocations: 21.16 kB / 0.5352 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.4623, allocations: 19.22 kB / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4624, allocations: 321.6 kB / 0.5355 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.4625, allocations: 22.92 kB / 0.5355 GB, free: 9.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.4626, allocations: 24.34 kB / 0.5355 GB, free: 9.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4627, allocations: 56.52 kB / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4627, allocations: 0 / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001942/0.4629, allocations: 91.94 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.463, allocations: 4.125 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.463, allocations: 1.375 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.463, allocations: 0 / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.4631, allocations: 9.625 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4631, allocations: 5.312 kB / 0.5357 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.4631, allocations: 18.67 kB / 0.5357 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.4631, allocations: 1.375 kB / 0.5357 GB, free: 9.566 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 (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 0.0001049/0.4633, allocations: 116.7 kB / 0.5358 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.4633, allocations: 12.34 kB / 0.5358 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.4636, allocations: 93.72 kB / 0.5359 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4636, allocations: 5.359 kB / 0.5359 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4636, allocations: 0 / 0.5359 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4636, allocations: 3.938 kB / 0.5359 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.4641, allocations: 369.7 kB / 0.5363 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4641, allocations: 1.469 kB / 0.5363 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.745e-05/0.4642, allocations: 8.75 kB / 0.5363 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4642, allocations: 1.438 kB / 0.5363 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4642, allocations: 7.922 kB / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4642, allocations: 1.344 kB / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4642, allocations: 0 / 0.5363 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.4645, allocations: 194.7 kB / 0.5365 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.4646, allocations: 87.39 kB / 0.5366 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4646, allocations: 5 kB / 0.5366 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.4647, allocations: 3.156 kB / 0.5366 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.4647, allocations: 6.016 kB / 0.5366 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.4647, allocations: 5.438 kB / 0.5366 GB, free: 8.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.4648, allocations: 137.1 kB / 0.5367 GB, free: 8.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.636e-06/0.4649, allocations: 0 / 0.5367 GB, free: 8.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.4651, allocations: 22.66 kB / 0.5367 GB, free: 8.602 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 (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.00102/0.4661, allocations: 388 kB / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.4664, allocations: 59.05 kB / 0.5372 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4664, allocations: 0 / 0.5372 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.119e-05/0.4665, allocations: 32.92 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.4669, allocations: 18.52 kB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.4676, allocations: 200.6 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.4681, allocations: 0.6981 MB / 0.5381 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.668e-05/0.4682, allocations: 20.7 kB / 0.5381 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.4682, allocations: 15.86 kB / 0.5381 GB, free: 7.457 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4682, allocations: 0 / 0.5381 GB, free: 7.457 MB / 398.1 MB Notification: Performance of Templates: time 0.004164/0.4724, allocations: 1.147 MB / 0.5392 GB, free: 6.867 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches