Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001349, 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.001594/0.001594, allocations: 214.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.481/1.481, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3657, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003187/0.369, allocations: 1.61 MB / 0.5332 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3701, allocations: 0.5273 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.3701, allocations: 5.312 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.3704, allocations: 30.72 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.3707, allocations: 73.81 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.371, allocations: 94.19 kB / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.3712, allocations: 61.97 kB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3713, allocations: 14.86 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.3713, allocations: 28.11 kB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.3714, allocations: 21.36 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3714, allocations: 2.75 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.3715, allocations: 32.61 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.3716, allocations: 25.34 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.3716, allocations: 29.25 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3718, allocations: 80.66 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3718, allocations: 1.375 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.3718, allocations: 0 / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3719, allocations: 3.938 kB / 0.5342 GB, free: 11.61 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.0005356/0.3724, allocations: 396.1 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3724, allocations: 9.625 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.3725, allocations: 8.969 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.3727, allocations: 190.3 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3727, allocations: 5.734 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.3728, allocations: 9.312 kB / 0.5348 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3729, allocations: 48.62 kB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3729, allocations: 0 / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3729, allocations: 0 / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3729, allocations: 5.375 kB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.373, allocations: 20.36 kB / 0.5349 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.3734, allocations: 276.8 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.3736, allocations: 47.81 kB / 0.5352 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.3737, allocations: 11.61 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3737, allocations: 4.844 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3738, allocations: 35.66 kB / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.3738, allocations: 0 / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005595/0.3743, allocations: 146.5 kB / 0.5354 GB, free: 10.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.3744, allocations: 51.41 kB / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3746, allocations: 180.9 kB / 0.5356 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3746, allocations: 26.98 kB / 0.5356 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.3747, allocations: 103.8 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.3747, allocations: 14.42 kB / 0.5358 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.3748, allocations: 22.2 kB / 0.5358 GB, free: 10.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3749, allocations: 321 kB / 0.5361 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.914e-05/0.375, allocations: 19.05 kB / 0.5361 GB, free: 9.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.375, allocations: 17.98 kB / 0.5361 GB, free: 9.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.3752, allocations: 52.52 kB / 0.5362 GB, free: 9.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3752, allocations: 192 / 0.5362 GB, free: 9.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001939/0.3754, allocations: 89.41 kB / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3754, allocations: 5.812 kB / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3754, allocations: 0 / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3754, allocations: 0 / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.3755, allocations: 10.12 kB / 0.5363 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3755, allocations: 5.25 kB / 0.5363 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.3756, allocations: 18.75 kB / 0.5363 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3756, allocations: 5.031 kB / 0.5363 GB, free: 9.605 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 8.932e-05/0.3757, allocations: 116.5 kB / 0.5364 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.3757, allocations: 12.48 kB / 0.5364 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.376, allocations: 93.72 kB / 0.5365 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.376, allocations: 1.188 kB / 0.5365 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.376, allocations: 4 kB / 0.5365 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.376, allocations: 5.156 kB / 0.5365 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.3765, allocations: 348.5 kB / 0.5369 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3765, allocations: 0 / 0.5369 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.3765, allocations: 9.375 kB / 0.5369 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3765, allocations: 0.8125 kB / 0.5369 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3766, allocations: 8.703 kB / 0.5369 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3766, allocations: 0 / 0.5369 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3766, allocations: 5.125 kB / 0.5369 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.3768, allocations: 176.7 kB / 0.537 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.3769, allocations: 82.23 kB / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3769, allocations: 13.45 kB / 0.5371 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.377, allocations: 3.688 kB / 0.5371 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.3771, allocations: 1.438 kB / 0.5371 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.3771, allocations: 13.25 kB / 0.5372 GB, free: 8.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.3772, allocations: 136.5 kB / 0.5373 GB, free: 8.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3772, allocations: 0 / 0.5373 GB, free: 8.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3775, allocations: 15 kB / 0.5373 GB, free: 8.664 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.0009455/0.3784, allocations: 389.6 kB / 0.5377 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3786, allocations: 43.88 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3786, allocations: 5.312 kB / 0.5377 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.3787, allocations: 26.27 kB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3791, allocations: 22.12 kB / 0.5378 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.3796, allocations: 226.9 kB / 0.538 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3799, allocations: 0.6925 MB / 0.5387 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.38, allocations: 16.94 kB / 0.5387 GB, free: 7.512 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.38, allocations: 0 / 0.5387 GB, free: 7.512 MB / 398.1 MB Notification: Performance of Templates: time 0.003322/0.3833, allocations: 1.462 MB / 0.5401 GB, free: 6.758 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches