Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 113.7 kB / 18.45 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.00116/0.00116, allocations: 210.7 kB / 19.4 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.43/1.43, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 72.11 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3696, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003816/0.3735, allocations: 1.677 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.3747, allocations: 0.5505 MB / 0.5339 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.3748, allocations: 1.375 kB / 0.5339 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.3751, allocations: 63.11 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.3756, allocations: 98.02 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.376, allocations: 142.8 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.3762, allocations: 79.58 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3764, allocations: 24.45 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.39e-05/0.3765, allocations: 42.95 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3766, allocations: 49.77 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3766, allocations: 4.125 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.3768, allocations: 48.98 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.697e-05/0.3769, allocations: 24.17 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.3769, allocations: 42.53 kB / 0.5345 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.3772, allocations: 100.8 kB / 0.5346 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3772, allocations: 4 kB / 0.5346 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3772, allocations: 1.375 kB / 0.5346 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.3772, allocations: 4 kB / 0.5346 GB, free: 11.45 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.0006259/0.3779, allocations: 422.8 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3779, allocations: 9.625 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.378, allocations: 14.34 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3782, allocations: 195 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3782, allocations: 3.125 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.3783, allocations: 3.125 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3785, allocations: 67.39 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.3785, allocations: 7.906 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3785, allocations: 5.344 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3785, allocations: 0 / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.3787, allocations: 39.42 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.3791, allocations: 301 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.3794, allocations: 55.12 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.207e-05/0.3795, allocations: 24.59 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3795, allocations: 4.734 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3796, allocations: 39.7 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.3796, allocations: 1.438 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001488/0.3811, allocations: 388 kB / 0.5361 GB, free: 10.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.3811, allocations: 65.52 kB / 0.5361 GB, free: 10.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3813, allocations: 181.9 kB / 0.5363 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3814, allocations: 30.77 kB / 0.5363 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.3815, allocations: 105.4 kB / 0.5364 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.3815, allocations: 35.55 kB / 0.5365 GB, free: 9.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.3816, allocations: 28.59 kB / 0.5365 GB, free: 9.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3817, allocations: 327 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3818, allocations: 38.84 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.382, allocations: 49.3 kB / 0.5369 GB, free: 9.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.3822, allocations: 94.88 kB / 0.537 GB, free: 9.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3822, allocations: 1.125 kB / 0.537 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003344/0.3826, allocations: 149.2 kB / 0.5371 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3826, allocations: 11.61 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3826, allocations: 5.156 kB / 0.5371 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3826, allocations: 0 / 0.5371 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3828, allocations: 28.8 kB / 0.5372 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3828, allocations: 4 kB / 0.5372 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/0.3828, allocations: 10.55 kB / 0.5372 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3829, allocations: 2.781 kB / 0.5372 GB, free: 9.172 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.0001059/0.383, allocations: 127.1 kB / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.383, allocations: 10.03 kB / 0.5373 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.3834, allocations: 168.9 kB / 0.5375 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3834, allocations: 6.094 kB / 0.5375 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3834, allocations: 0 / 0.5375 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3835, allocations: 0 / 0.5375 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/0.3841, allocations: 475.4 kB / 0.5379 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.3841, allocations: 9.234 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.3842, allocations: 24.64 kB / 0.538 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3843, allocations: 1.375 kB / 0.538 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3843, allocations: 5.156 kB / 0.538 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3843, allocations: 1.312 kB / 0.538 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3843, allocations: 1.406 kB / 0.538 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.3847, allocations: 252.4 kB / 0.5382 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.3847, allocations: 87.45 kB / 0.5383 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3848, allocations: 6.531 kB / 0.5383 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.3849, allocations: 14.23 kB / 0.5383 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.3849, allocations: 11.84 kB / 0.5383 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.3849, allocations: 7.344 kB / 0.5383 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3851, allocations: 148.4 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3851, allocations: 3.938 kB / 0.5385 GB, free: 8.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.3854, allocations: 25.38 kB / 0.5385 GB, free: 8.039 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.001132/0.3865, allocations: 454.4 kB / 0.5389 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003425/0.3869, allocations: 110.3 kB / 0.5391 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3869, allocations: 0 / 0.5391 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.3871, allocations: 59.16 kB / 0.5391 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3875, allocations: 27.77 kB / 0.5391 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.3882, allocations: 309.7 kB / 0.5394 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3885, allocations: 0.7085 MB / 0.5401 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.3886, allocations: 19.16 kB / 0.5401 GB, free: 6.75 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3886, allocations: 3.938 kB / 0.5401 GB, free: 6.746 MB / 398.1 MB Notification: Performance of Templates: time 0.005075/0.3937, allocations: 1.931 MB / 0.542 GB, free: 5.746 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches