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.001316/0.001317, allocations: 113.6 kB / 17.06 MB, free: 5.973 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.001367/0.001367, allocations: 200 kB / 18.01 MB, free: 5.047 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.296/1.296, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9106/0.9106, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 62.38 kB / 0.5709 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1469, allocations: 80.7 MB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002295/0.1492, allocations: 1.413 MB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.1502, allocations: 0.5613 MB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.1502, allocations: 7.938 kB / 0.6517 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.1509, allocations: 0.8615 MB / 0.6525 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007216/0.1516, allocations: 0.9043 MB / 0.6534 GB, free: 9.289 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1519, allocations: 87.77 kB / 0.6535 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001457/0.1534, allocations: 2.192 MB / 0.6556 GB, free: 7.008 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.1534, allocations: 0 / 0.6556 GB, free: 7.008 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00086/0.1543, allocations: 1.096 MB / 0.6567 GB, free: 5.91 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.1559, allocations: 2.036 MB / 0.6587 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.1561, allocations: 128 kB / 0.6588 GB, free: 3.746 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.1564, allocations: 203.9 kB / 0.659 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.004609/0.161, allocations: 4.987 MB / 0.6639 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.1632, allocations: 2.828 MB / 0.6666 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.1678, allocations: 6.313 MB / 0.6728 GB, free: 5.336 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1678, allocations: 0 / 0.6728 GB, free: 5.336 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1678, allocations: 0 / 0.6728 GB, free: 5.336 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001124/0.1679, allocations: 0 / 0.6728 GB, free: 5.336 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.009992/0.1779, allocations: 10.4 MB / 0.6829 GB, free: 10.79 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.178, allocations: 8.031 kB / 0.6829 GB, free: 10.79 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.1793, allocations: 1.165 MB / 0.6841 GB, free: 9.613 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01927/0.1985, allocations: 13.13 MB / 0.6969 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1986, allocations: 8.375 kB / 0.6969 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.1987, allocations: 36.38 kB / 0.6969 GB, free: 12.34 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.1992, allocations: 425.6 kB / 0.6974 GB, free: 11.92 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1992, allocations: 0 / 0.6974 GB, free: 11.92 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.1993, allocations: 32 kB / 0.6974 GB, free: 11.89 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1993, allocations: 0 / 0.6974 GB, free: 11.89 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.1997, allocations: 247.9 kB / 0.6976 GB, free: 11.64 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/0.2039, allocations: 3.572 MB / 0.7011 GB, free: 8.027 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.2042, allocations: 166.6 kB / 0.7013 GB, free: 7.855 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.2044, allocations: 156.9 kB / 0.7014 GB, free: 7.699 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.2044, allocations: 3.984 kB / 0.7014 GB, free: 7.695 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/0.2048, allocations: 412.7 kB / 0.7018 GB, free: 7.273 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.2049, allocations: 0 / 0.7018 GB, free: 7.273 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.002597/0.2075, allocations: 2.249 MB / 0.704 GB, free: 5.004 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.2075, allocations: 85.05 kB / 0.7041 GB, free: 4.902 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01357/0.2211, allocations: 12.47 MB / 0.7163 GB, free: 8.535 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.2213, allocations: 57.7 kB / 0.7163 GB, free: 8.473 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.004413/0.2258, allocations: 5.208 MB / 0.7214 GB, free: 3.262 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.2259, allocations: 55.73 kB / 0.7215 GB, free: 3.207 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.2262, allocations: 241.7 kB / 0.7217 GB, free: 2.965 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2263, allocations: 310 kB / 0.722 GB, free: 2.656 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.2265, allocations: 140 kB / 0.7221 GB, free: 2.52 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.2268, allocations: 144 kB / 0.7223 GB, free: 2.379 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.2272, allocations: 360.3 kB / 0.7226 GB, free: 2.012 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2273, allocations: 0 / 0.7226 GB, free: 2.012 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002767/0.23, allocations: 2.109 MB / 0.7247 GB, free: 15.88 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.2301, allocations: 33.7 kB / 0.7247 GB, free: 15.84 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.2301, allocations: 3.938 kB / 0.7247 GB, free: 15.84 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2301, allocations: 0 / 0.7247 GB, free: 15.84 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.244e-05/0.2302, allocations: 7.938 kB / 0.7247 GB, free: 15.83 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2302, allocations: 0 / 0.7247 GB, free: 15.83 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/0.2309, allocations: 36 kB / 0.7247 GB, free: 15.8 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003271/0.2313, allocations: 440 kB / 0.7252 GB, free: 15.37 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.002963/0.2342, allocations: 2.537 MB / 0.7276 GB, free: 12.81 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009116/0.2352, allocations: 1.199 MB / 0.7288 GB, free: 11.61 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.2364, allocations: 1.28 MB / 0.7301 GB, free: 10.32 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2364, allocations: 0 / 0.7301 GB, free: 10.32 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2364, allocations: 4 kB / 0.7301 GB, free: 10.32 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2364, allocations: 4.078 kB / 0.7301 GB, free: 10.31 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.2395, allocations: 3.892 MB / 0.7339 GB, free: 6.375 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2395, allocations: 0 / 0.7339 GB, free: 6.375 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.2396, allocations: 7.938 kB / 0.7339 GB, free: 6.367 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2396, allocations: 0 / 0.7339 GB, free: 6.367 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.2397, allocations: 100 kB / 0.734 GB, free: 6.27 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2397, allocations: 0 / 0.734 GB, free: 6.27 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2397, allocations: 4 kB / 0.734 GB, free: 6.266 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.2417, allocations: 2.223 MB / 0.7361 GB, free: 4.012 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.2429, allocations: 1.106 MB / 0.7372 GB, free: 2.879 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/0.2433, allocations: 39.94 kB / 0.7373 GB, free: 2.84 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005496/0.2438, allocations: 32 kB / 0.7373 GB, free: 2.809 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.2439, allocations: 8 kB / 0.7373 GB, free: 2.801 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003096/0.2442, allocations: 440 kB / 0.7377 GB, free: 2.371 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.009634/0.2538, allocations: 8.571 MB / 0.7461 GB, free: 9.879 MB / 0.592 GB Notification: Performance of sort global known variables: time 4e-07/0.2539, allocations: 0 / 0.7461 GB, free: 9.879 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001131/0.255, allocations: 344 kB / 0.7464 GB, free: 9.543 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.0002535/0.2553, allocations: 155.6 kB / 0.7466 GB, free: 9.383 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0006658/0.2559, allocations: 419.4 kB / 0.747 GB, free: 8.961 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2559, allocations: 0 / 0.747 GB, free: 8.961 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.2563, allocations: 275.3 kB / 0.7472 GB, free: 8.68 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.2584, allocations: 0.8458 MB / 0.7481 GB, free: 7.832 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02426/0.2827, allocations: 17.31 MB / 0.765 GB, free: 6.469 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0058/0.2886, allocations: 4.789 MB / 0.7696 GB, free: 1.652 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.5071/0.7957, allocations: 2.375 MB / 0.772 GB, free: 105.1 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008288/0.7966, allocations: 0.4981 MB / 0.7724 GB, free: 105.1 MB / 0.6079 GB Notification: Performance of SimCode: time 1.172e-06/0.7966, allocations: 3 kB / 0.7724 GB, free: 105.1 MB / 0.6079 GB Notification: Performance of Templates: time 0.08767/0.8842, allocations: 41.12 MB / 0.8126 GB, free: 84 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