Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 190.4 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001051, allocations: 106.4 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.8855/0.8855, allocations: 119.3 MB / 460.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 55.92 kB / 0.5391 GB, free: 43.18 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1809, allocations: 80.69 MB / 0.6179 GB, free: 12.73 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.00281/0.1837, allocations: 1.462 MB / 0.6193 GB, free: 11.25 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1849, allocations: 0.5961 MB / 0.6199 GB, free: 10.65 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.1849, allocations: 0 / 0.6199 GB, free: 10.65 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004576/0.1854, allocations: 443.1 kB / 0.6203 GB, free: 10.21 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005534/0.186, allocations: 487 kB / 0.6208 GB, free: 9.738 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.1862, allocations: 55.89 kB / 0.6209 GB, free: 9.684 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008448/0.1871, allocations: 1.12 MB / 0.622 GB, free: 8.562 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.1871, allocations: 4 kB / 0.622 GB, free: 8.559 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005196/0.1877, allocations: 0.5654 MB / 0.6225 GB, free: 7.992 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008047/0.1885, allocations: 0.971 MB / 0.6235 GB, free: 7.02 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.1886, allocations: 64 kB / 0.6235 GB, free: 6.957 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.1889, allocations: 135.9 kB / 0.6237 GB, free: 6.824 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00223/0.1911, allocations: 2.497 MB / 0.6261 GB, free: 4.32 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.1922, allocations: 1.427 MB / 0.6275 GB, free: 2.879 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.1946, allocations: 3.038 MB / 0.6305 GB, free: 15.82 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1946, allocations: 4 kB / 0.6305 GB, free: 15.82 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1946, allocations: 3.938 kB / 0.6305 GB, free: 15.82 MB / 458.8 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.1946, allocations: 0 / 0.6305 GB, free: 15.82 MB / 458.8 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.006058/0.2007, allocations: 5.165 MB / 0.6355 GB, free: 10.55 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.2008, allocations: 15.97 kB / 0.6355 GB, free: 10.54 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005986/0.2014, allocations: 0.5522 MB / 0.6361 GB, free: 9.98 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.2115, allocations: 6.527 MB / 0.6424 GB, free: 3.371 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.2116, allocations: 8.375 kB / 0.6424 GB, free: 3.363 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.2116, allocations: 16.38 kB / 0.6425 GB, free: 3.348 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.212, allocations: 245.8 kB / 0.6427 GB, free: 3.102 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.212, allocations: 0 / 0.6427 GB, free: 3.102 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.212, allocations: 16 kB / 0.6427 GB, free: 3.086 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2121, allocations: 0 / 0.6427 GB, free: 3.086 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.2123, allocations: 135.9 kB / 0.6428 GB, free: 2.953 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.2144, allocations: 1.862 MB / 0.6447 GB, free: 1.043 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.2146, allocations: 110.6 kB / 0.6448 GB, free: 0.9258 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.2148, allocations: 88.86 kB / 0.6448 GB, free: 0.8359 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.2148, allocations: 4 kB / 0.6449 GB, free: 0.832 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003541/0.2152, allocations: 256.9 kB / 0.6451 GB, free: 0.5625 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/0.2152, allocations: 0 / 0.6451 GB, free: 0.5625 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.001424/0.2166, allocations: 1.164 MB / 0.6462 GB, free: 15.38 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.2167, allocations: 81.11 kB / 0.6463 GB, free: 15.28 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007039/0.2237, allocations: 6.275 MB / 0.6524 GB, free: 9.051 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/0.2238, allocations: 49.7 kB / 0.6525 GB, free: 8.996 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002228/0.2261, allocations: 2.52 MB / 0.6549 GB, free: 6.473 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.2262, allocations: 35.89 kB / 0.655 GB, free: 6.438 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.2264, allocations: 137.7 kB / 0.6551 GB, free: 6.297 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2265, allocations: 306 kB / 0.6554 GB, free: 5.992 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.2267, allocations: 80 kB / 0.6555 GB, free: 5.914 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2268, allocations: 75.98 kB / 0.6556 GB, free: 5.84 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.2272, allocations: 236.3 kB / 0.6558 GB, free: 5.594 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2272, allocations: 3.938 kB / 0.6558 GB, free: 5.59 MB / 474.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001505/0.2287, allocations: 1.086 MB / 0.6568 GB, free: 4.484 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.056e-05/0.2288, allocations: 37.69 kB / 0.6569 GB, free: 4.441 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.2288, allocations: 0 / 0.6569 GB, free: 4.441 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.2288, allocations: 4 kB / 0.6569 GB, free: 4.438 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.2289, allocations: 7.938 kB / 0.6569 GB, free: 4.43 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.229, allocations: 0 / 0.6569 GB, free: 4.43 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.2295, allocations: 23.91 kB / 0.6569 GB, free: 4.406 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/0.2297, allocations: 220 kB / 0.6571 GB, free: 4.191 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.00154/0.2312, allocations: 1.342 MB / 0.6584 GB, free: 2.832 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000494/0.2317, allocations: 0.5785 MB / 0.659 GB, free: 2.246 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006719/0.2324, allocations: 0.6402 MB / 0.6596 GB, free: 1.598 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2324, allocations: 0 / 0.6596 GB, free: 1.598 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2325, allocations: 0 / 0.6596 GB, free: 1.598 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2325, allocations: 0 / 0.6596 GB, free: 1.598 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.2346, allocations: 2.026 MB / 0.6616 GB, free: 15.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2346, allocations: 0 / 0.6616 GB, free: 15.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.2346, allocations: 11.94 kB / 0.6616 GB, free: 15.51 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2346, allocations: 0 / 0.6616 GB, free: 15.51 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.2347, allocations: 56 kB / 0.6617 GB, free: 15.46 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2347, allocations: 0 / 0.6617 GB, free: 15.46 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2347, allocations: 0 / 0.6617 GB, free: 15.46 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.2373, allocations: 3.143 MB / 0.6647 GB, free: 12.23 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.2384, allocations: 0.5679 MB / 0.6653 GB, free: 11.64 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.2386, allocations: 19.94 kB / 0.6653 GB, free: 11.62 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.2389, allocations: 24 kB / 0.6653 GB, free: 11.6 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.239, allocations: 4 kB / 0.6653 GB, free: 11.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/0.2392, allocations: 228 kB / 0.6656 GB, free: 11.37 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005895/0.2451, allocations: 4.324 MB / 0.6698 GB, free: 7.086 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2451, allocations: 0 / 0.6698 GB, free: 7.086 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000911/0.246, allocations: 191.9 kB / 0.67 GB, free: 6.898 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0002548/0.2463, allocations: 139.2 kB / 0.6701 GB, free: 6.754 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.2468, allocations: 275.4 kB / 0.6704 GB, free: 6.473 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2469, allocations: 4 kB / 0.6704 GB, free: 6.469 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.2471, allocations: 187.4 kB / 0.6705 GB, free: 6.273 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.2482, allocations: 445.1 kB / 0.671 GB, free: 5.836 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.2605, allocations: 9.61 MB / 0.6803 GB, free: 12.18 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/0.2631, allocations: 2.721 MB / 0.683 GB, free: 9.438 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.003204/0.2664, allocations: 1.137 MB / 0.6841 GB, free: 8.293 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.2667, allocations: 259.4 kB / 0.6844 GB, free: 8.039 MB / 0.4949 GB Notification: Performance of SimCode: time 1.172e-06/0.2667, allocations: 0 / 0.6844 GB, free: 8.039 MB / 0.4949 GB Notification: Performance of Templates: time 0.6265/0.8932, allocations: 20.67 MB / 0.7045 GB, free: 71.4 MB / 0.495 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches