Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.conf.json 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/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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 106.9 kB / 17.74 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 180.5 kB / 18.66 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.953/0.953, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 66.3 kB / 0.5716 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1555, allocations: 80.69 MB / 0.6504 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002879/0.1584, allocations: 1.413 MB / 0.6517 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1595, allocations: 0.5691 MB / 0.6523 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.1596, allocations: 0 / 0.6523 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0006684/0.1603, allocations: 0.8615 MB / 0.6531 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0008397/0.1611, allocations: 0.9044 MB / 0.654 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1615, allocations: 87.7 kB / 0.6541 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.1631, allocations: 2.192 MB / 0.6563 GB, free: 7.02 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.1632, allocations: 4 kB / 0.6563 GB, free: 7.016 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008766/0.1641, allocations: 1.084 MB / 0.6573 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.1657, allocations: 2.04 MB / 0.6593 GB, free: 3.887 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.166, allocations: 132 kB / 0.6594 GB, free: 3.758 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.1663, allocations: 203.9 kB / 0.6596 GB, free: 3.559 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.004901/0.1712, allocations: 4.987 MB / 0.6645 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.1734, allocations: 2.828 MB / 0.6673 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.00507/0.1784, allocations: 6.247 MB / 0.6734 GB, free: 5.422 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.1785, allocations: 0 / 0.6734 GB, free: 5.422 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.777e-06/0.1785, allocations: 0 / 0.6734 GB, free: 5.422 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.000161/0.1786, allocations: 0 / 0.6734 GB, free: 5.422 MB / 0.5139 GB 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.01164/0.1903, allocations: 9.966 MB / 0.6831 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1904, allocations: 12.03 kB / 0.6831 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.1916, allocations: 1.103 MB / 0.6842 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02008/0.2117, allocations: 12.95 MB / 0.6968 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.2118, allocations: 8.359 kB / 0.6968 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.5e-05/0.2119, allocations: 32.38 kB / 0.6969 GB, free: 13.07 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.2125, allocations: 429.6 kB / 0.6973 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2125, allocations: 3.938 kB / 0.6973 GB, free: 12.64 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.2126, allocations: 32 kB / 0.6973 GB, free: 12.61 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2126, allocations: 0 / 0.6973 GB, free: 12.61 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.2129, allocations: 244 kB / 0.6975 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/0.2172, allocations: 3.58 MB / 0.701 GB, free: 8.75 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.2175, allocations: 158.6 kB / 0.7012 GB, free: 8.586 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.2177, allocations: 160.9 kB / 0.7013 GB, free: 8.426 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.2177, allocations: 3.938 kB / 0.7013 GB, free: 8.422 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004306/0.2181, allocations: 412.6 kB / 0.7017 GB, free: 8 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 2.525e-06/0.2182, allocations: 0 / 0.7017 GB, free: 8 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.002815/0.221, allocations: 2.192 MB / 0.7039 GB, free: 5.781 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.221, allocations: 77.11 kB / 0.704 GB, free: 5.688 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01459/0.2356, allocations: 12.46 MB / 0.7161 GB, free: 9.324 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.2359, allocations: 57.7 kB / 0.7162 GB, free: 9.262 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.004437/0.2403, allocations: 5.208 MB / 0.7213 GB, free: 4.051 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.2406, allocations: 55.8 kB / 0.7213 GB, free: 3.996 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.2409, allocations: 241.7 kB / 0.7216 GB, free: 3.754 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.241, allocations: 310 kB / 0.7218 GB, free: 3.445 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.2412, allocations: 148 kB / 0.722 GB, free: 3.301 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.2414, allocations: 139.9 kB / 0.7221 GB, free: 3.164 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.2419, allocations: 352.2 kB / 0.7225 GB, free: 2.805 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2419, allocations: 0 / 0.7225 GB, free: 2.805 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00295/0.2448, allocations: 2.051 MB / 0.7245 GB, free: 0.7266 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.2449, allocations: 44.66 kB / 0.7245 GB, free: 0.6797 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2449, allocations: 0 / 0.7245 GB, free: 0.6797 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.2449, allocations: 4 kB / 0.7245 GB, free: 0.6758 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.245, allocations: 4 kB / 0.7245 GB, free: 0.6719 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2451, allocations: 0 / 0.7245 GB, free: 0.6719 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/0.2459, allocations: 36 kB / 0.7245 GB, free: 0.6367 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000335/0.2463, allocations: 448.1 kB / 0.725 GB, free: 204 kB / 0.5608 GB 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.003281/0.2496, allocations: 2.526 MB / 0.7274 GB, free: 13.66 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/0.2506, allocations: 1.145 MB / 0.7286 GB, free: 12.5 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.2522, allocations: 1.288 MB / 0.7298 GB, free: 11.2 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2523, allocations: 0 / 0.7298 GB, free: 11.2 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2523, allocations: 0 / 0.7298 GB, free: 11.2 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2523, allocations: 0 / 0.7298 GB, free: 11.2 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.2557, allocations: 3.884 MB / 0.7336 GB, free: 7.273 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2557, allocations: 4 kB / 0.7336 GB, free: 7.27 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.2558, allocations: 7.938 kB / 0.7336 GB, free: 7.262 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.2558, allocations: 3.984 kB / 0.7336 GB, free: 7.258 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.2559, allocations: 96 kB / 0.7337 GB, free: 7.164 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2559, allocations: 0 / 0.7337 GB, free: 7.164 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2559, allocations: 0 / 0.7337 GB, free: 7.164 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.2582, allocations: 2.166 MB / 0.7358 GB, free: 4.961 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.2595, allocations: 1.037 MB / 0.7368 GB, free: 3.891 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004618/0.26, allocations: 44 kB / 0.7369 GB, free: 3.848 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.2606, allocations: 32 kB / 0.7369 GB, free: 3.816 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.2606, allocations: 11.98 kB / 0.7369 GB, free: 3.805 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000331/0.261, allocations: 440 kB / 0.7373 GB, free: 3.375 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01221/0.2732, allocations: 8.567 MB / 0.7457 GB, free: 10.89 MB / 0.592 GB Notification: Performance of sort global known variables: time 6.71e-07/0.2732, allocations: 0 / 0.7457 GB, free: 10.89 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001442/0.2747, allocations: 344 kB / 0.746 GB, free: 10.55 MB / 0.592 GB 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.0002803/0.275, allocations: 167.6 kB / 0.7462 GB, free: 10.38 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0006771/0.2757, allocations: 427.3 kB / 0.7466 GB, free: 9.953 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2757, allocations: 0 / 0.7466 GB, free: 9.953 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.276, allocations: 259.4 kB / 0.7469 GB, free: 9.688 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.2783, allocations: 0.8536 MB / 0.7477 GB, free: 8.832 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02563/0.3039, allocations: 17.45 MB / 0.7647 GB, free: 7.344 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00497/0.309, allocations: 4.796 MB / 0.7694 GB, free: 2.52 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008708/0.3098, allocations: 0.4995 MB / 0.7699 GB, free: 2.02 MB / 0.6077 GB Notification: Performance of SimCode: time 1.603e-06/0.3099, allocations: 0 / 0.7699 GB, free: 2.02 MB / 0.6077 GB Notification: Performance of Templates: time 1.712/2.022, allocations: 463.3 MB / 1.222 GB, free: 131.1 MB / 0.7798 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches