Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, 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.001266/0.001266, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.202/0.202, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 72.09 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2747, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002613/0.2773, allocations: 1.62 MB / 0.5333 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.2783, allocations: 0.5525 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.2783, allocations: 0 / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.2786, allocations: 75.48 kB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.2789, allocations: 104.8 kB / 0.534 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.2792, allocations: 106.2 kB / 0.5341 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.2793, allocations: 86.45 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.2794, allocations: 21.41 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.2795, allocations: 35.05 kB / 0.5342 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.2796, allocations: 48.27 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.2796, allocations: 3.156 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.089e-05/0.2797, allocations: 40.17 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.2798, allocations: 23.77 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.2798, allocations: 33.56 kB / 0.5344 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.28, allocations: 104.1 kB / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.28, allocations: 1.188 kB / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.28, allocations: 0 / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.28, allocations: 4 kB / 0.5345 GB, free: 11.52 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.000446/0.2805, allocations: 408.6 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.2805, allocations: 9.281 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.2806, allocations: 14.19 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.2807, allocations: 207 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.2808, allocations: 1.75 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.2808, allocations: 3.125 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.2809, allocations: 59.55 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2809, allocations: 4 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.2809, allocations: 0 / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.281, allocations: 1.375 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.2811, allocations: 28.47 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.2814, allocations: 306.9 kB / 0.5355 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.2816, allocations: 43.05 kB / 0.5355 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.2816, allocations: 21.11 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.2816, allocations: 1.375 kB / 0.5355 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2817, allocations: 36.02 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2817, allocations: 0 / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008828/0.2826, allocations: 241.9 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2826, allocations: 56.72 kB / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.2828, allocations: 207.7 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.2828, allocations: 25.7 kB / 0.5361 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.2829, allocations: 101.4 kB / 0.5362 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.2829, allocations: 31.03 kB / 0.5362 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.283, allocations: 28.23 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2831, allocations: 326.2 kB / 0.5365 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.2832, allocations: 27.94 kB / 0.5365 GB, free: 9.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.896e-05/0.2833, allocations: 32.47 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.2835, allocations: 78.89 kB / 0.5367 GB, free: 9.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2835, allocations: 0 / 0.5367 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002204/0.2837, allocations: 113.3 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.2837, allocations: 4.5 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2837, allocations: 1.375 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2837, allocations: 7.984 kB / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.2838, allocations: 17.25 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2839, allocations: 1.156 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.2839, allocations: 11.92 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2839, allocations: 1.344 kB / 0.5368 GB, free: 9.367 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 (8): * Single equations (assignments): 8 * 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.207e-05/0.284, allocations: 127.7 kB / 0.5369 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.2841, allocations: 16.78 kB / 0.5369 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.2844, allocations: 126.2 kB / 0.5371 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2844, allocations: 1.062 kB / 0.5371 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2844, allocations: 1.125 kB / 0.5371 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2844, allocations: 7.922 kB / 0.5371 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.2849, allocations: 417.9 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2849, allocations: 1.031 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.285, allocations: 14.12 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.285, allocations: 5.062 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.285, allocations: 9.141 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.285, allocations: 1.062 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.285, allocations: 0 / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.2853, allocations: 220.5 kB / 0.5377 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.2853, allocations: 88.8 kB / 0.5378 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.2854, allocations: 0.9062 kB / 0.5378 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.2854, allocations: 7.172 kB / 0.5378 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.2855, allocations: 3.281 kB / 0.5378 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.2855, allocations: 11.14 kB / 0.5378 GB, free: 8.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.2856, allocations: 146.5 kB / 0.538 GB, free: 8.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2856, allocations: 7.938 kB / 0.538 GB, free: 8.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.2859, allocations: 22.86 kB / 0.538 GB, free: 8.316 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009707/0.2869, allocations: 448.3 kB / 0.5384 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.2871, allocations: 79.09 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2871, allocations: 1.562 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.2872, allocations: 43.91 kB / 0.5385 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2875, allocations: 25 kB / 0.5386 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.288, allocations: 292.1 kB / 0.5388 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.2883, allocations: 0.7038 MB / 0.5395 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.2883, allocations: 18.19 kB / 0.5395 GB, free: 7.062 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2884, allocations: 0 / 0.5395 GB, free: 7.062 MB / 398.1 MB Notification: Performance of Templates: time 0.003254/0.2916, allocations: 1.788 MB / 0.5413 GB, free: 6.141 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches