Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008405/0.0008406, allocations: 96.72 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3685/0.3685, allocations: 44.82 MB / 394.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003933, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3922, allocations: 62.96 MB / 0.5184 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.5133, allocations: 89.27 MB / 0.6056 GB, free: 20 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5136, allocations: 79.94 kB / 0.6057 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.5267, allocations: 4.607 MB / 0.6102 GB, free: 11.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5268, allocations: 0 / 0.6102 GB, free: 11.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.5268, allocations: 0 / 0.6102 GB, free: 11.33 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005577/0.5273, allocations: 411.4 kB / 0.6106 GB, free: 10.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.5274, allocations: 8.031 kB / 0.6106 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.5275, allocations: 8.844 kB / 0.6106 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.5278, allocations: 206.9 kB / 0.6108 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.5278, allocations: 384 / 0.6108 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.5279, allocations: 8.375 kB / 0.6108 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.528, allocations: 49.81 kB / 0.6108 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.528, allocations: 0 / 0.6108 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5281, allocations: 3.938 kB / 0.6108 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.5281, allocations: 4 kB / 0.6108 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.5282, allocations: 31.91 kB / 0.6109 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.5286, allocations: 280.9 kB / 0.6111 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.5289, allocations: 50.56 kB / 0.6112 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.5289, allocations: 12.86 kB / 0.6112 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.529, allocations: 4.078 kB / 0.6112 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.529, allocations: 38.48 kB / 0.6112 GB, free: 10.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.529, allocations: 0 / 0.6112 GB, free: 10.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005926/0.5296, allocations: 165.2 kB / 0.6114 GB, free: 9.902 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5296, allocations: 51.41 kB / 0.6115 GB, free: 9.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.5299, allocations: 171.2 kB / 0.6116 GB, free: 9.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.5299, allocations: 29.7 kB / 0.6116 GB, free: 9.625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.53, allocations: 104 kB / 0.6117 GB, free: 9.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.53, allocations: 11.81 kB / 0.6118 GB, free: 9.508 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.53, allocations: 4 kB / 0.6118 GB, free: 9.504 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5301, allocations: 326.8 kB / 0.6121 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.5302, allocations: 15.98 kB / 0.6121 GB, free: 9.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.874e-05/0.5303, allocations: 27.98 kB / 0.6121 GB, free: 9.133 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.5304, allocations: 52.83 kB / 0.6122 GB, free: 9.078 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5304, allocations: 0 / 0.6122 GB, free: 9.078 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002041/0.5306, allocations: 97.7 kB / 0.6123 GB, free: 8.977 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5307, allocations: 4 kB / 0.6123 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5307, allocations: 0 / 0.6123 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5307, allocations: 4 kB / 0.6123 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.5308, allocations: 11.98 kB / 0.6123 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.5308, allocations: 7.938 kB / 0.6123 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.5308, allocations: 4 kB / 0.6123 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.5308, allocations: 4 kB / 0.6123 GB, free: 8.941 MB / 426.7 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.5309, allocations: 133.7 kB / 0.6124 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.531, allocations: 7.906 kB / 0.6124 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.5312, allocations: 97.91 kB / 0.6125 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5312, allocations: 4 kB / 0.6125 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.5313, allocations: 0 / 0.6125 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5313, allocations: 0 / 0.6125 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.5317, allocations: 363.6 kB / 0.6129 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5317, allocations: 4 kB / 0.6129 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.5318, allocations: 19.98 kB / 0.6129 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.5318, allocations: 4 kB / 0.6129 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.5318, allocations: 0 / 0.6129 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.5318, allocations: 7.875 kB / 0.6129 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5318, allocations: 0 / 0.6129 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.5321, allocations: 191.3 kB / 0.6131 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.5321, allocations: 85.02 kB / 0.6132 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.5321, allocations: 256 / 0.6132 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.5322, allocations: 23.92 kB / 0.6132 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.5323, allocations: 0 / 0.6132 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.5323, allocations: 4 kB / 0.6132 GB, free: 7.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.5324, allocations: 131.2 kB / 0.6133 GB, free: 7.781 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5324, allocations: 0 / 0.6133 GB, free: 7.781 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.5327, allocations: 24 kB / 0.6133 GB, free: 7.758 MB / 426.7 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.5337, allocations: 408 kB / 0.6137 GB, free: 7.492 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.5339, allocations: 51.91 kB / 0.6138 GB, free: 7.441 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5339, allocations: 0 / 0.6138 GB, free: 7.441 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.507e-05/0.534, allocations: 31.98 kB / 0.6138 GB, free: 7.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.5343, allocations: 15.98 kB / 0.6138 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.5349, allocations: 209.1 kB / 0.614 GB, free: 7.164 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.5353, allocations: 0.6967 MB / 0.6147 GB, free: 6.441 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.087e-05/0.5354, allocations: 19.97 kB / 0.6147 GB, free: 6.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.5354, allocations: 11.44 kB / 0.6147 GB, free: 6.41 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5354, allocations: 3.938 kB / 0.6147 GB, free: 6.406 MB / 426.7 MB Notification: Performance of Templates: time 0.003773/0.5392, allocations: 1.105 MB / 0.6158 GB, free: 5.305 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches