Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009382/0.0009384, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.191/1.191, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008075/0.0008079, allocations: 95.11 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2915/0.2915, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002195/0.0002195, allocations: 8 kB / 470.8 MB, free: 7.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2369, allocations: 63.11 MB / 0.5214 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.001446/0.2384, allocations: 1.336 MB / 0.5227 GB, free: 37.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006904/0.2391, allocations: 0.7413 MB / 0.5234 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.2392, allocations: 4 kB / 0.5234 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.2394, allocations: 97.09 kB / 0.5235 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.2396, allocations: 91.16 kB / 0.5236 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.2398, allocations: 80.2 kB / 0.5237 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.2399, allocations: 92.08 kB / 0.5238 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.74e-05/0.24, allocations: 26.58 kB / 0.5238 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.2401, allocations: 33.78 kB / 0.5238 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.2401, allocations: 60.58 kB / 0.5239 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.2402, allocations: 2.906 kB / 0.5239 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.281e-05/0.2402, allocations: 41.58 kB / 0.5239 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.2403, allocations: 27.42 kB / 0.5239 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.2403, allocations: 59.11 kB / 0.524 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.2405, allocations: 116.5 kB / 0.5241 GB, free: 36.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2405, allocations: 3.938 kB / 0.5241 GB, free: 36.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2405, allocations: 2.969 kB / 0.5241 GB, free: 36.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.2405, allocations: 0 / 0.5241 GB, free: 36.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003031/0.2408, allocations: 413.4 kB / 0.5245 GB, free: 36.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.2408, allocations: 7.25 kB / 0.5245 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.2409, allocations: 16.72 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.241, allocations: 216.3 kB / 0.5247 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.241, allocations: 4.375 kB / 0.5247 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.241, allocations: 6.188 kB / 0.5247 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.2412, allocations: 74.84 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2412, allocations: 6.812 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.2412, allocations: 0 / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2412, allocations: 0 / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.2413, allocations: 50.19 kB / 0.5249 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.2416, allocations: 330.2 kB / 0.5252 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.2417, allocations: 61.06 kB / 0.5252 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.2418, allocations: 34.05 kB / 0.5253 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.2418, allocations: 3.938 kB / 0.5253 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.988e-06/0.2418, allocations: 30.56 kB / 0.5253 GB, free: 35.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2418, allocations: 2.844 kB / 0.5253 GB, free: 35.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008268/0.2426, allocations: 340.5 kB / 0.5256 GB, free: 35.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.565e-05/0.2427, allocations: 51.41 kB / 0.5257 GB, free: 35.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.2428, allocations: 235.6 kB / 0.5259 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.2428, allocations: 25.7 kB / 0.5259 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.2429, allocations: 112.9 kB / 0.526 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.2429, allocations: 47.92 kB / 0.5261 GB, free: 34.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.2429, allocations: 0 / 0.5261 GB, free: 34.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.867e-05/0.243, allocations: 327.8 kB / 0.5264 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.243, allocations: 42.38 kB / 0.5264 GB, free: 34.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.79e-05/0.2431, allocations: 46.2 kB / 0.5265 GB, free: 34.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.2433, allocations: 94.03 kB / 0.5266 GB, free: 34.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2433, allocations: 0 / 0.5266 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001941/0.2435, allocations: 148.1 kB / 0.5267 GB, free: 34.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.2435, allocations: 6.188 kB / 0.5267 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.2435, allocations: 0 / 0.5267 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2435, allocations: 7.922 kB / 0.5267 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.2436, allocations: 34.75 kB / 0.5268 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2436, allocations: 0 / 0.5268 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.2437, allocations: 9.594 kB / 0.5268 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2437, allocations: 8.578 kB / 0.5268 GB, free: 34.42 MB / 378.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 (13): * Single equations (assignments): 13 * 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 6.079e-05/0.2438, allocations: 132.1 kB / 0.5269 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.2438, allocations: 9.531 kB / 0.5269 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.2441, allocations: 181.9 kB / 0.5271 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2441, allocations: 6.469 kB / 0.5271 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2441, allocations: 0 / 0.5271 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2441, allocations: 3.938 kB / 0.5271 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004144/0.2445, allocations: 481.9 kB / 0.5276 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2445, allocations: 3.094 kB / 0.5276 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/0.2446, allocations: 30.73 kB / 0.5276 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2446, allocations: 0 / 0.5276 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2446, allocations: 6.062 kB / 0.5276 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2446, allocations: 2.875 kB / 0.5276 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2446, allocations: 3.938 kB / 0.5276 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.2448, allocations: 251.3 kB / 0.5278 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.2449, allocations: 90.52 kB / 0.5279 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.2449, allocations: 6.906 kB / 0.5279 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.245, allocations: 6.453 kB / 0.5279 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.245, allocations: 13.31 kB / 0.528 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.245, allocations: 6.781 kB / 0.528 GB, free: 33.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.516e-05/0.2451, allocations: 183.2 kB / 0.5281 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2451, allocations: 0 / 0.5281 GB, free: 33.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.2453, allocations: 29.69 kB / 0.5282 GB, free: 33.4 MB / 378.7 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 (13): * Single equations (assignments): 13 * 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.000826/0.2462, allocations: 0.5088 MB / 0.5287 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.2464, allocations: 102.7 kB / 0.5288 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.2464, allocations: 0 / 0.5288 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/0.2465, allocations: 62.5 kB / 0.5288 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.2468, allocations: 26.33 kB / 0.5288 GB, free: 33.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.2471, allocations: 355.3 kB / 0.5292 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2473, allocations: 0.7244 MB / 0.5299 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.2473, allocations: 12.73 kB / 0.5299 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.2474, allocations: 19.81 kB / 0.5299 GB, free: 32.08 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.2474, allocations: 0 / 0.5299 GB, free: 32.08 MB / 378.7 MB Notification: Performance of Templates: time 0.003001/0.2504, allocations: 1.452 MB / 0.5313 GB, free: 31.91 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches