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.001632/0.001632, allocations: 114.6 kB / 17.07 MB, free: 5.988 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.001915/0.001915, allocations: 195 kB / 18 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.385/1.385, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9928/0.9928, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 60.84 kB / 0.5709 GB, free: 39.87 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.151, allocations: 80.7 MB / 0.6497 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002708/0.1537, allocations: 1.406 MB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1547, allocations: 0.5691 MB / 0.6516 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.1548, allocations: 0 / 0.6516 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.1555, allocations: 0.8654 MB / 0.6525 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007415/0.1562, allocations: 0.9043 MB / 0.6534 GB, free: 9.281 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1566, allocations: 83.78 kB / 0.6535 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.1582, allocations: 2.192 MB / 0.6556 GB, free: 7.004 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.1582, allocations: 4 kB / 0.6556 GB, free: 7 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009487/0.1592, allocations: 1.088 MB / 0.6567 GB, free: 5.91 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.1608, allocations: 2.036 MB / 0.6586 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002644/0.1611, allocations: 128 kB / 0.6588 GB, free: 3.746 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.1615, allocations: 203.9 kB / 0.659 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.004622/0.1661, allocations: 4.991 MB / 0.6638 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002513/0.1686, allocations: 2.828 MB / 0.6666 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.005062/0.1737, allocations: 6.313 MB / 0.6728 GB, free: 5.332 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.1737, allocations: 4 kB / 0.6728 GB, free: 5.328 MB / 0.5139 GB Notification: Performance of FrontEnd: time 4.258e-06/0.1737, allocations: 0 / 0.6728 GB, free: 5.328 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001238/0.1739, allocations: 3.938 kB / 0.6728 GB, free: 5.324 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.01288/0.1867, allocations: 10.4 MB / 0.6829 GB, free: 10.79 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.1868, allocations: 12.03 kB / 0.6829 GB, free: 10.78 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.1883, allocations: 1.161 MB / 0.6841 GB, free: 9.609 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02192/0.2102, allocations: 13.13 MB / 0.6969 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.2103, allocations: 8.375 kB / 0.6969 GB, free: 12.37 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/0.2104, allocations: 36.38 kB / 0.6969 GB, free: 12.34 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.2109, allocations: 429.6 kB / 0.6973 GB, free: 11.91 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2109, allocations: 0 / 0.6973 GB, free: 11.91 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.211, allocations: 32 kB / 0.6974 GB, free: 11.88 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.211, allocations: 0 / 0.6974 GB, free: 11.88 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.2114, allocations: 251.9 kB / 0.6976 GB, free: 11.63 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007505/0.2189, allocations: 3.568 MB / 0.7011 GB, free: 8.02 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.2193, allocations: 166.6 kB / 0.7013 GB, free: 7.848 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.2196, allocations: 164.9 kB / 0.7014 GB, free: 7.684 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2197, allocations: 0 / 0.7014 GB, free: 7.684 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005522/0.2202, allocations: 408.7 kB / 0.7018 GB, free: 7.266 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.2202, allocations: 0 / 0.7018 GB, free: 7.266 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.003204/0.2235, allocations: 2.249 MB / 0.704 GB, free: 4.996 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.2235, allocations: 81.11 kB / 0.7041 GB, free: 4.898 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01858/0.2421, allocations: 12.47 MB / 0.7162 GB, free: 8.531 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0002197/0.2424, allocations: 61.7 kB / 0.7163 GB, free: 8.465 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.005361/0.2478, allocations: 5.204 MB / 0.7214 GB, free: 3.258 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.248, allocations: 59.88 kB / 0.7214 GB, free: 3.199 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.2483, allocations: 245.7 kB / 0.7217 GB, free: 2.953 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2484, allocations: 306 kB / 0.722 GB, free: 2.648 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.2487, allocations: 148 kB / 0.7221 GB, free: 2.504 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.2489, allocations: 136 kB / 0.7222 GB, free: 2.371 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.2495, allocations: 360.2 kB / 0.7226 GB, free: 2.004 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2495, allocations: 4 kB / 0.7226 GB, free: 2 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002865/0.2524, allocations: 2.109 MB / 0.7247 GB, free: 15.87 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.2524, allocations: 37.64 kB / 0.7247 GB, free: 15.83 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2525, allocations: 0 / 0.7247 GB, free: 15.83 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2525, allocations: 0 / 0.7247 GB, free: 15.83 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.757e-05/0.2526, allocations: 7.938 kB / 0.7247 GB, free: 15.82 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.2526, allocations: 4 kB / 0.7247 GB, free: 15.82 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.254, allocations: 32 kB / 0.7247 GB, free: 15.79 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003793/0.2544, allocations: 444 kB / 0.7252 GB, free: 15.35 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.003656/0.258, allocations: 2.529 MB / 0.7276 GB, free: 12.8 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/0.2598, allocations: 1.199 MB / 0.7288 GB, free: 11.6 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.2621, allocations: 1.284 MB / 0.73 GB, free: 10.31 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.2621, allocations: 0 / 0.73 GB, free: 10.31 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2622, allocations: 0 / 0.73 GB, free: 10.31 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2622, allocations: 0 / 0.73 GB, free: 10.31 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006234/0.2684, allocations: 3.892 MB / 0.7338 GB, free: 6.371 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2684, allocations: 0 / 0.7338 GB, free: 6.371 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.2685, allocations: 3.938 kB / 0.7339 GB, free: 6.367 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.2685, allocations: 4 kB / 0.7339 GB, free: 6.363 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.2686, allocations: 104 kB / 0.734 GB, free: 6.262 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2687, allocations: 0 / 0.734 GB, free: 6.262 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2687, allocations: 0 / 0.734 GB, free: 6.262 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.2715, allocations: 2.22 MB / 0.7361 GB, free: 4.012 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/0.2733, allocations: 1.11 MB / 0.7372 GB, free: 2.875 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007543/0.2741, allocations: 36 kB / 0.7372 GB, free: 2.84 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008774/0.275, allocations: 32 kB / 0.7373 GB, free: 2.809 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.275, allocations: 8 kB / 0.7373 GB, free: 2.801 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003248/0.2754, allocations: 444 kB / 0.7377 GB, free: 2.367 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01252/0.2879, allocations: 8.571 MB / 0.7461 GB, free: 9.875 MB / 0.592 GB Notification: Performance of sort global known variables: time 5.82e-07/0.2879, allocations: 0 / 0.7461 GB, free: 9.875 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001287/0.2892, allocations: 340 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.0003098/0.2895, allocations: 159.6 kB / 0.7465 GB, free: 9.379 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0007284/0.2903, allocations: 423.3 kB / 0.747 GB, free: 8.953 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2903, allocations: 0 / 0.747 GB, free: 8.953 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.2906, allocations: 267.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.002768/0.2934, allocations: 0.8614 MB / 0.748 GB, free: 7.816 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/0.3176, allocations: 17.31 MB / 0.7649 GB, free: 6.457 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005094/0.3227, allocations: 4.785 MB / 0.7696 GB, free: 1.645 MB / 0.6077 GB Notification: Performance of simCode: alias equations: time 0.7219/1.045, allocations: 2.38 MB / 0.7719 GB, free: 105.5 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009635/1.046, allocations: 0.4968 MB / 0.7724 GB, free: 105.5 MB / 0.6079 GB Notification: Performance of SimCode: time 1.182e-06/1.046, allocations: 0 / 0.7724 GB, free: 105.5 MB / 0.6079 GB Notification: Performance of Templates: time 0.1122/1.158, allocations: 41.12 MB / 0.8126 GB, free: 84.46 MB / 0.6079 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/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