Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, 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.001287/0.001287, 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.417/1.417, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2423/0.2423, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 80.09 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3864, allocations: 62.42 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003348/0.3898, allocations: 1.681 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3908, allocations: 0.5583 MB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.3909, allocations: 1.375 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.3912, allocations: 70.02 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.3916, allocations: 106.1 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.3919, allocations: 133.3 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3921, allocations: 90.23 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3922, allocations: 17.86 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.199e-05/0.3923, allocations: 40.33 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.3924, allocations: 52.58 kB / 0.5344 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3925, allocations: 8.125 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3926, allocations: 56.91 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.3927, allocations: 25.53 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.3927, allocations: 34.62 kB / 0.5345 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3929, allocations: 116.3 kB / 0.5346 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.393, allocations: 0 / 0.5346 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.393, allocations: 0 / 0.5346 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.393, allocations: 0 / 0.5346 GB, free: 11.43 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.000592/0.3936, allocations: 426.6 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.3936, allocations: 9.031 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.3937, allocations: 14.34 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.3939, allocations: 211.3 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3939, allocations: 6.188 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.394, allocations: 4.438 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3941, allocations: 62.55 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3942, allocations: 5.062 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3942, allocations: 0 / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3942, allocations: 1.031 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.3943, allocations: 51.2 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.3948, allocations: 307 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.395, allocations: 54.69 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.3951, allocations: 25.38 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3951, allocations: 9.062 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3952, allocations: 35.67 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3952, allocations: 0 / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001389/0.3966, allocations: 393.6 kB / 0.5361 GB, free: 10.06 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3966, allocations: 68.61 kB / 0.5362 GB, free: 9.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3968, allocations: 209 kB / 0.5364 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3969, allocations: 27.14 kB / 0.5364 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.3969, allocations: 106.2 kB / 0.5365 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.397, allocations: 34.89 kB / 0.5366 GB, free: 9.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.397, allocations: 25.41 kB / 0.5366 GB, free: 9.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3972, allocations: 322.8 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3973, allocations: 47.44 kB / 0.5369 GB, free: 9.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.3974, allocations: 47.73 kB / 0.537 GB, free: 9.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.3977, allocations: 97.61 kB / 0.5371 GB, free: 9.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3977, allocations: 0 / 0.5371 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003183/0.398, allocations: 146.3 kB / 0.5372 GB, free: 9.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.398, allocations: 13.33 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.398, allocations: 0 / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3981, allocations: 1.156 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3982, allocations: 27.83 kB / 0.5372 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3982, allocations: 1.125 kB / 0.5372 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.483e-05/0.3983, allocations: 13.33 kB / 0.5373 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3983, allocations: 7.188 kB / 0.5373 GB, free: 9.121 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 9.874e-05/0.3984, allocations: 129.6 kB / 0.5374 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.3984, allocations: 14.28 kB / 0.5374 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.3988, allocations: 158.3 kB / 0.5376 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3988, allocations: 6.375 kB / 0.5376 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3988, allocations: 0.5625 kB / 0.5376 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3988, allocations: 0 / 0.5376 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.3995, allocations: 489.5 kB / 0.538 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3995, allocations: 1.094 kB / 0.538 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3996, allocations: 28.52 kB / 0.5381 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3996, allocations: 1.156 kB / 0.5381 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3997, allocations: 6.188 kB / 0.5381 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3997, allocations: 9.047 kB / 0.5381 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3997, allocations: 1.031 kB / 0.5381 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.4, allocations: 251.7 kB / 0.5383 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.4001, allocations: 96.78 kB / 0.5384 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.4001, allocations: 1.125 kB / 0.5384 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.4002, allocations: 14.8 kB / 0.5384 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.4003, allocations: 4.094 kB / 0.5384 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.4003, allocations: 3.844 kB / 0.5384 GB, free: 8.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.4004, allocations: 170.8 kB / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4004, allocations: 0 / 0.5386 GB, free: 7.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.4007, allocations: 22.5 kB / 0.5386 GB, free: 7.977 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.001104/0.4018, allocations: 458.4 kB / 0.5391 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003485/0.4022, allocations: 114.1 kB / 0.5392 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4022, allocations: 0 / 0.5392 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.4024, allocations: 54.72 kB / 0.5392 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.4027, allocations: 38.83 kB / 0.5392 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.4034, allocations: 324.9 kB / 0.5396 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.4037, allocations: 0.71 MB / 0.5403 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.4038, allocations: 20.53 kB / 0.5403 GB, free: 6.672 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4038, allocations: 3.938 kB / 0.5403 GB, free: 6.668 MB / 398.1 MB Notification: Performance of Templates: time 0.004715/0.4085, allocations: 1.987 MB / 0.5422 GB, free: 5.629 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches