Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.00222/0.00222, allocations: 112.7 kB / 17.07 MB, free: 5.992 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.002755/0.002755, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.536/1.536, allocations: 222.9 MB / 241.7 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 1.308/1.308, allocations: 119.3 MB / 411.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 62.2 kB / 0.5709 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.166, allocations: 80.7 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.003485/0.1696, allocations: 1.398 MB / 0.6511 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1708, allocations: 0.573 MB / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.1709, allocations: 0 / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000745/0.1717, allocations: 0.8654 MB / 0.6525 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0008727/0.1726, allocations: 0.9082 MB / 0.6534 GB, free: 9.348 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.173, allocations: 79.78 kB / 0.6535 GB, free: 9.27 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001851/0.1748, allocations: 2.196 MB / 0.6556 GB, free: 7.07 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.1749, allocations: 4 kB / 0.6556 GB, free: 7.066 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.1765, allocations: 1.084 MB / 0.6567 GB, free: 5.98 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.179, allocations: 2.044 MB / 0.6587 GB, free: 3.934 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0004954/0.1795, allocations: 131.9 kB / 0.6588 GB, free: 3.805 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.18, allocations: 211.9 kB / 0.659 GB, free: 3.598 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.005547/0.1856, allocations: 4.983 MB / 0.6639 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.005233/0.1908, allocations: 2.828 MB / 0.6666 GB, free: 11.75 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.007724/0.1986, allocations: 6.305 MB / 0.6728 GB, free: 5.398 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1986, allocations: 0 / 0.6728 GB, free: 5.398 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.056e-06/0.1986, allocations: 0 / 0.6728 GB, free: 5.398 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.000176/0.1988, allocations: 0 / 0.6728 GB, free: 5.398 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.01371/0.2125, allocations: 10.4 MB / 0.6829 GB, free: 10.86 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.2126, allocations: 12.03 kB / 0.6829 GB, free: 10.84 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.2141, allocations: 1.161 MB / 0.6841 GB, free: 9.676 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02445/0.2386, allocations: 13.13 MB / 0.6969 GB, free: 12.44 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2386, allocations: 12.3 kB / 0.6969 GB, free: 12.43 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/0.2387, allocations: 32.38 kB / 0.6969 GB, free: 12.4 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.2393, allocations: 421.6 kB / 0.6973 GB, free: 11.98 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2393, allocations: 0 / 0.6973 GB, free: 11.98 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.571e-05/0.2394, allocations: 36 kB / 0.6974 GB, free: 11.95 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2394, allocations: 4 kB / 0.6974 GB, free: 11.94 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.2398, allocations: 240 kB / 0.6976 GB, free: 11.71 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004896/0.2447, allocations: 3.576 MB / 0.7011 GB, free: 8.086 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.245, allocations: 162.5 kB / 0.7013 GB, free: 7.918 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.2452, allocations: 164.9 kB / 0.7014 GB, free: 7.754 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.2453, allocations: 0 / 0.7014 GB, free: 7.754 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004896/0.2458, allocations: 412.7 kB / 0.7018 GB, free: 7.332 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.2458, allocations: 0 / 0.7018 GB, free: 7.332 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.003246/0.249, allocations: 2.249 MB / 0.704 GB, free: 5.062 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.2491, allocations: 85.05 kB / 0.7041 GB, free: 4.961 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01641/0.2655, allocations: 12.46 MB / 0.7163 GB, free: 8.598 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.2657, allocations: 57.7 kB / 0.7163 GB, free: 8.535 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.00542/0.2712, allocations: 5.208 MB / 0.7214 GB, free: 3.324 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.2715, allocations: 55.73 kB / 0.7215 GB, free: 3.27 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004367/0.2719, allocations: 245.7 kB / 0.7217 GB, free: 3.023 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2721, allocations: 306 kB / 0.722 GB, free: 2.719 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.2723, allocations: 148 kB / 0.7221 GB, free: 2.574 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.2726, allocations: 136 kB / 0.7222 GB, free: 2.441 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.2731, allocations: 356.3 kB / 0.7226 GB, free: 2.078 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2731, allocations: 0 / 0.7226 GB, free: 2.078 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003395/0.2765, allocations: 2.112 MB / 0.7247 GB, free: 15.94 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/0.2766, allocations: 44.77 kB / 0.7247 GB, free: 15.9 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2766, allocations: 0 / 0.7247 GB, free: 15.9 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.2767, allocations: 4 kB / 0.7247 GB, free: 15.89 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.2768, allocations: 8.141 kB / 0.7247 GB, free: 15.89 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2768, allocations: 0 / 0.7247 GB, free: 15.89 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.2787, allocations: 32 kB / 0.7247 GB, free: 15.86 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005514/0.2793, allocations: 444 kB / 0.7252 GB, free: 15.42 MB / 0.5764 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.004463/0.2837, allocations: 2.526 MB / 0.7276 GB, free: 12.88 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002131/0.2859, allocations: 1.203 MB / 0.7288 GB, free: 11.67 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.2883, allocations: 1.284 MB / 0.7301 GB, free: 10.38 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2884, allocations: 0 / 0.7301 GB, free: 10.38 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2884, allocations: 7.938 kB / 0.7301 GB, free: 10.37 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2884, allocations: 0 / 0.7301 GB, free: 10.37 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007097/0.2955, allocations: 3.888 MB / 0.7339 GB, free: 6.438 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2955, allocations: 0 / 0.7339 GB, free: 6.438 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.2956, allocations: 7.938 kB / 0.7339 GB, free: 6.43 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.2956, allocations: 3.984 kB / 0.7339 GB, free: 6.426 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/0.2958, allocations: 96 kB / 0.734 GB, free: 6.332 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2958, allocations: 0 / 0.734 GB, free: 6.332 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2958, allocations: 0 / 0.734 GB, free: 6.332 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.2991, allocations: 2.227 MB / 0.7361 GB, free: 4.074 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/0.3015, allocations: 1.106 MB / 0.7372 GB, free: 2.941 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008239/0.3023, allocations: 40 kB / 0.7373 GB, free: 2.902 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009771/0.3033, allocations: 32 kB / 0.7373 GB, free: 2.871 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.3034, allocations: 7.984 kB / 0.7373 GB, free: 2.863 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003457/0.3037, allocations: 440 kB / 0.7377 GB, free: 2.434 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01432/0.3181, allocations: 8.567 MB / 0.7461 GB, free: 9.945 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.755e-06/0.3181, allocations: 0 / 0.7461 GB, free: 9.945 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001878/0.32, allocations: 347.9 kB / 0.7464 GB, free: 9.605 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.0004102/0.3204, allocations: 167.5 kB / 0.7466 GB, free: 9.438 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0008891/0.3213, allocations: 415.4 kB / 0.747 GB, free: 9.02 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.3213, allocations: 0 / 0.747 GB, free: 9.02 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.3218, allocations: 263.4 kB / 0.7472 GB, free: 8.75 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/0.3254, allocations: 0.8614 MB / 0.7481 GB, free: 7.887 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/0.3495, allocations: 17.31 MB / 0.765 GB, free: 6.52 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004796/0.3544, allocations: 4.792 MB / 0.7696 GB, free: 1.699 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.7537/1.108, allocations: 2.37 MB / 0.772 GB, free: 105.6 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/1.109, allocations: 0.4992 MB / 0.7724 GB, free: 105.6 MB / 0.6079 GB Notification: Performance of SimCode: time 1.512e-06/1.109, allocations: 0 / 0.7724 GB, free: 105.6 MB / 0.6079 GB Notification: Performance of Templates: time 0.1149/1.224, allocations: 41.13 MB / 0.8126 GB, free: 84.53 MB / 0.6079 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches