Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 247.6 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 72.09 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.357, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00357/0.3606, allocations: 1.683 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3618, allocations: 0.5568 MB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.362, allocations: 0 / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.3626, allocations: 461.3 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005731/0.3632, allocations: 289 kB / 0.5346 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.3637, allocations: 137.2 kB / 0.5347 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.3642, allocations: 175.8 kB / 0.5349 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3643, allocations: 17.84 kB / 0.5349 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.3646, allocations: 123 kB / 0.535 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.365, allocations: 211.8 kB / 0.5352 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.365, allocations: 3.375 kB / 0.5352 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.3652, allocations: 57.72 kB / 0.5353 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.3654, allocations: 81.5 kB / 0.5354 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.3655, allocations: 112.3 kB / 0.5355 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.3659, allocations: 275.7 kB / 0.5357 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.366, allocations: 0 / 0.5357 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.366, allocations: 4 kB / 0.5357 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.366, allocations: 0 / 0.5357 GB, free: 10.87 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.001004/0.367, allocations: 0.6564 MB / 0.5364 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.3671, allocations: 9.312 kB / 0.5364 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.3672, allocations: 42.75 kB / 0.5364 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.3675, allocations: 294.5 kB / 0.5367 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3676, allocations: 3.094 kB / 0.5367 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.3676, allocations: 3.062 kB / 0.5367 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.3678, allocations: 71.05 kB / 0.5368 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3678, allocations: 1.562 kB / 0.5368 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.3678, allocations: 7.984 kB / 0.5368 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3678, allocations: 1.406 kB / 0.5368 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.368, allocations: 37.89 kB / 0.5368 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.3686, allocations: 403.4 kB / 0.5372 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.3689, allocations: 62.7 kB / 0.5373 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.459e-05/0.369, allocations: 24.78 kB / 0.5373 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3691, allocations: 1.156 kB / 0.5373 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3691, allocations: 31.53 kB / 0.5373 GB, free: 9.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3691, allocations: 0 / 0.5373 GB, free: 9.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0016/0.3707, allocations: 481.1 kB / 0.5378 GB, free: 9.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3708, allocations: 60.56 kB / 0.5378 GB, free: 9.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3719, allocations: 0.858 MB / 0.5387 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3719, allocations: 31.08 kB / 0.5387 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.3721, allocations: 211.7 kB / 0.5389 GB, free: 8.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.3721, allocations: 44.05 kB / 0.539 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.3722, allocations: 24.44 kB / 0.539 GB, free: 8.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3724, allocations: 364.7 kB / 0.5393 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3725, allocations: 39.16 kB / 0.5394 GB, free: 8.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3726, allocations: 44.22 kB / 0.5394 GB, free: 7.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.3729, allocations: 104.4 kB / 0.5395 GB, free: 7.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3729, allocations: 0 / 0.5395 GB, free: 7.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003692/0.3733, allocations: 176.5 kB / 0.5397 GB, free: 7.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3733, allocations: 5.062 kB / 0.5397 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3733, allocations: 0 / 0.5397 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3733, allocations: 1.562 kB / 0.5397 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3735, allocations: 35.38 kB / 0.5397 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3735, allocations: 1.281 kB / 0.5397 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.001e-05/0.3736, allocations: 9.078 kB / 0.5397 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3736, allocations: 2.719 kB / 0.5397 GB, free: 7.816 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.0002166/0.3738, allocations: 219.2 kB / 0.5399 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.3739, allocations: 43 kB / 0.54 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.3743, allocations: 201.4 kB / 0.5402 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3744, allocations: 5.094 kB / 0.5402 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3744, allocations: 1.125 kB / 0.5402 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.3744, allocations: 0 / 0.5402 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008578/0.3752, allocations: 0.577 MB / 0.5407 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3753, allocations: 1.188 kB / 0.5407 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3754, allocations: 23.98 kB / 0.5408 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3754, allocations: 2.312 kB / 0.5408 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.3754, allocations: 5.281 kB / 0.5408 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3754, allocations: 5.172 kB / 0.5408 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3754, allocations: 5.094 kB / 0.5408 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.3758, allocations: 281 kB / 0.541 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.454e-05/0.3759, allocations: 110.7 kB / 0.5411 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.376, allocations: 2.562 kB / 0.5412 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3761, allocations: 14.55 kB / 0.5412 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.3761, allocations: 12.22 kB / 0.5412 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.3762, allocations: 3.844 kB / 0.5412 GB, free: 6.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000765/0.3769, allocations: 0.6514 MB / 0.5418 GB, free: 6.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3769, allocations: 7.875 kB / 0.5418 GB, free: 6.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.3773, allocations: 28.41 kB / 0.5419 GB, free: 6.328 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.001107/0.3784, allocations: 461.8 kB / 0.5423 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.3787, allocations: 110.5 kB / 0.5424 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3787, allocations: 1.25 kB / 0.5424 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.3789, allocations: 61.69 kB / 0.5425 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.3794, allocations: 34.27 kB / 0.5425 GB, free: 5.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.3809, allocations: 0.8867 MB / 0.5434 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.3813, allocations: 0.8277 MB / 0.5442 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.3814, allocations: 27.44 kB / 0.5442 GB, free: 4.648 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3814, allocations: 3.938 kB / 0.5442 GB, free: 4.645 MB / 398.1 MB Notification: Performance of Templates: time 0.008143/0.3896, allocations: 4.11 MB / 0.5482 GB, free: 0.5352 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches