Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 115.6 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.001185/0.001185, 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.428/1.428, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 76.2 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3802, allocations: 62.42 MB / 0.5317 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.00345/0.3837, allocations: 1.664 MB / 0.5333 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3848, allocations: 0.5516 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.3849, allocations: 5.25 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005821/0.3855, allocations: 457.2 kB / 0.5343 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005111/0.386, allocations: 291.8 kB / 0.5346 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.3865, allocations: 130.1 kB / 0.5347 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.3867, allocations: 176.3 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3869, allocations: 15.83 kB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.387, allocations: 107.2 kB / 0.535 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.3873, allocations: 218.7 kB / 0.5352 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.3873, allocations: 3.5 kB / 0.5352 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3874, allocations: 37.7 kB / 0.5352 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3876, allocations: 82.91 kB / 0.5353 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.809e-05/0.3877, allocations: 110.9 kB / 0.5354 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.388, allocations: 261.4 kB / 0.5356 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.388, allocations: 1.344 kB / 0.5356 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.388, allocations: 0 / 0.5356 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.3881, allocations: 0 / 0.5356 GB, free: 10.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008015/0.3889, allocations: 0.647 MB / 0.5363 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3889, allocations: 8.688 kB / 0.5363 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.389, allocations: 46.94 kB / 0.5363 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.3894, allocations: 298.2 kB / 0.5366 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3894, allocations: 6.5 kB / 0.5366 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.3895, allocations: 2.531 kB / 0.5366 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3896, allocations: 60.95 kB / 0.5367 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3896, allocations: 0 / 0.5367 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3897, allocations: 4.969 kB / 0.5367 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3897, allocations: 5.078 kB / 0.5367 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.3898, allocations: 32.56 kB / 0.5367 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.3903, allocations: 390.7 kB / 0.5371 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3904, allocations: 43.56 kB / 0.5371 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.3905, allocations: 28.12 kB / 0.5372 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3906, allocations: 0 / 0.5372 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3906, allocations: 35.75 kB / 0.5372 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3906, allocations: 0 / 0.5372 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008351/0.3914, allocations: 296.3 kB / 0.5375 GB, free: 9.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.3915, allocations: 52.47 kB / 0.5375 GB, free: 9.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008841/0.3924, allocations: 0.8584 MB / 0.5384 GB, free: 8.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3924, allocations: 27.11 kB / 0.5384 GB, free: 8.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.3926, allocations: 215.6 kB / 0.5386 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.3926, allocations: 17.72 kB / 0.5386 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.3927, allocations: 27.8 kB / 0.5386 GB, free: 8.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3928, allocations: 363.3 kB / 0.539 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.393, allocations: 30.59 kB / 0.539 GB, free: 8.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3931, allocations: 34.86 kB / 0.5391 GB, free: 8.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3933, allocations: 85.08 kB / 0.5391 GB, free: 8.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3933, allocations: 0 / 0.5391 GB, free: 8.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003095/0.3936, allocations: 148.9 kB / 0.5393 GB, free: 8.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3936, allocations: 5.875 kB / 0.5393 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.3937, allocations: 0 / 0.5393 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3937, allocations: 0 / 0.5393 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.3938, allocations: 19.86 kB / 0.5393 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3938, allocations: 4 kB / 0.5393 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.3939, allocations: 13.39 kB / 0.5393 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3939, allocations: 6.938 kB / 0.5393 GB, free: 8.07 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 (7): * Single equations (assignments): 7 * 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.0002007/0.3941, allocations: 217.4 kB / 0.5395 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.3942, allocations: 46.59 kB / 0.5396 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.3946, allocations: 169 kB / 0.5397 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3946, allocations: 0 / 0.5397 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3946, allocations: 1.438 kB / 0.5397 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3946, allocations: 3.938 kB / 0.5397 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.3953, allocations: 499 kB / 0.5402 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3953, allocations: 0 / 0.5402 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-05/0.3954, allocations: 18.33 kB / 0.5402 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3954, allocations: 5.094 kB / 0.5402 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3954, allocations: 4.688 kB / 0.5402 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3954, allocations: 4.953 kB / 0.5402 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3954, allocations: 0 / 0.5402 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.3958, allocations: 244.2 kB / 0.5405 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.3959, allocations: 109.9 kB / 0.5406 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.3959, allocations: 5.156 kB / 0.5406 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.396, allocations: 9.734 kB / 0.5406 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.3961, allocations: 7.391 kB / 0.5406 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-06/0.3961, allocations: 1.25 kB / 0.5406 GB, free: 7.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000663/0.3967, allocations: 0.6522 MB / 0.5412 GB, free: 6.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3967, allocations: 0 / 0.5412 GB, free: 6.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.397, allocations: 27.72 kB / 0.5413 GB, free: 6.699 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 (7): * Single equations (assignments): 7 * 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.0009272/0.398, allocations: 407.5 kB / 0.5417 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.3983, allocations: 83.52 kB / 0.5417 GB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3983, allocations: 0 / 0.5417 GB, free: 6.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.3984, allocations: 41.28 kB / 0.5418 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3988, allocations: 37.47 kB / 0.5418 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.4, allocations: 0.8473 MB / 0.5426 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.4005, allocations: 0.8195 MB / 0.5434 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.4005, allocations: 18.81 kB / 0.5435 GB, free: 5.172 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4005, allocations: 0 / 0.5435 GB, free: 5.172 MB / 398.1 MB Notification: Performance of Templates: time 0.007796/0.4083, allocations: 3.845 MB / 0.5472 GB, free: 1.602 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches