Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 110.1 kB / 16.92 MB, free: 5.758 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.001634/0.001635, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.322/1.322, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8774/0.8774, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 0.4909 GB, free: 13.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.5008, allocations: 80.69 MB / 0.5697 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002452/0.5033, allocations: 1.41 MB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009506/0.5042, allocations: 0.57 MB / 0.5717 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.5043, allocations: 5.375 kB / 0.5717 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.5056, allocations: 1.716 MB / 0.5733 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.507, allocations: 1.765 MB / 0.5751 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.5073, allocations: 76.78 kB / 0.5751 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003644/0.511, allocations: 4.3 MB / 0.5793 GB, free: 37.98 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.947e-05/0.5111, allocations: 10.45 kB / 0.5794 GB, free: 37.97 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004924/0.516, allocations: 2.143 MB / 0.5814 GB, free: 36.94 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005881/0.5219, allocations: 4.064 MB / 0.5854 GB, free: 33.62 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0005544/0.5225, allocations: 252 kB / 0.5857 GB, free: 33.38 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005822/0.5231, allocations: 323.9 kB / 0.586 GB, free: 33.06 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007153/0.5302, allocations: 9.958 MB / 0.5957 GB, free: 23.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.005527/0.5358, allocations: 5.636 MB / 0.6012 GB, free: 17.38 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.007163/0.543, allocations: 12.17 MB / 0.6131 GB, free: 5.145 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.543, allocations: 0 / 0.6131 GB, free: 5.145 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.973e-06/0.543, allocations: 0 / 0.6131 GB, free: 5.145 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002931/0.5433, allocations: 0 / 0.6131 GB, free: 5.145 MB / 462.3 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.02419/0.5675, allocations: 19.55 MB / 0.6322 GB, free: 1.363 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5676, allocations: 12.03 kB / 0.6322 GB, free: 1.352 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/0.5705, allocations: 2.206 MB / 0.6343 GB, free: 15.11 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05391/0.6244, allocations: 25.82 MB / 0.6596 GB, free: 5.094 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.6245, allocations: 4.375 kB / 0.6596 GB, free: 5.09 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003442/0.6248, allocations: 68.31 kB / 0.6596 GB, free: 5.023 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.6262, allocations: 0.7825 MB / 0.6604 GB, free: 4.234 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.6262, allocations: 0 / 0.6604 GB, free: 4.234 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.6264, allocations: 68 kB / 0.6605 GB, free: 4.168 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.6264, allocations: 0 / 0.6605 GB, free: 4.168 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/0.627, allocations: 460 kB / 0.6609 GB, free: 3.719 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/0.6411, allocations: 7.007 MB / 0.6677 GB, free: 12.66 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.6422, allocations: 282.6 kB / 0.668 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007964/0.643, allocations: 284.8 kB / 0.6683 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.643, allocations: 7.938 kB / 0.6683 GB, free: 12.09 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/0.6443, allocations: 0.7073 MB / 0.669 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 4.188e-06/0.6443, allocations: 0 / 0.669 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.006711/0.651, allocations: 4.232 MB / 0.6731 GB, free: 7.086 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.6511, allocations: 88.98 kB / 0.6732 GB, free: 6.98 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04801/0.6991, allocations: 24.83 MB / 0.6974 GB, free: 14.35 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0003127/0.6995, allocations: 89.7 kB / 0.6975 GB, free: 14.26 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01098/0.7105, allocations: 10.83 MB / 0.7081 GB, free: 3.426 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005676/0.7111, allocations: 71.81 kB / 0.7082 GB, free: 3.355 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005573/0.7117, allocations: 465.7 kB / 0.7086 GB, free: 2.895 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7118, allocations: 306 kB / 0.7089 GB, free: 2.59 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.7122, allocations: 268 kB / 0.7092 GB, free: 2.328 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.7126, allocations: 268 kB / 0.7094 GB, free: 2.066 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/0.7135, allocations: 0.5901 MB / 0.71 GB, free: 1.461 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.7136, allocations: 0 / 0.71 GB, free: 1.461 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00586/0.7194, allocations: 3.974 MB / 0.7139 GB, free: 13.45 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 7.349e-05/0.7195, allocations: 41.69 kB / 0.7139 GB, free: 13.4 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.7196, allocations: 0 / 0.7139 GB, free: 13.4 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.7196, allocations: 0 / 0.7139 GB, free: 13.4 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.7197, allocations: 4 kB / 0.7139 GB, free: 13.39 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7197, allocations: 0 / 0.7139 GB, free: 13.39 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/0.7239, allocations: 71.94 kB / 0.714 GB, free: 13.32 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009821/0.7249, allocations: 0.8594 MB / 0.7148 GB, free: 12.46 MB / 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.007817/0.7327, allocations: 4.906 MB / 0.7196 GB, free: 7.539 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003524/0.7362, allocations: 2.271 MB / 0.7218 GB, free: 5.238 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005012/0.7413, allocations: 2.561 MB / 0.7243 GB, free: 2.668 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7413, allocations: 0 / 0.7243 GB, free: 2.668 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7413, allocations: 0 / 0.7243 GB, free: 2.668 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.7413, allocations: 4.094 kB / 0.7243 GB, free: 2.664 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.757, allocations: 7.621 MB / 0.7318 GB, free: 10.99 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.7571, allocations: 7.938 kB / 0.7318 GB, free: 10.98 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.7571, allocations: 11.92 kB / 0.7318 GB, free: 10.97 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.7571, allocations: 0 / 0.7318 GB, free: 10.97 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005643/0.7577, allocations: 192 kB / 0.732 GB, free: 10.79 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.7577, allocations: 0 / 0.732 GB, free: 10.79 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7577, allocations: 0 / 0.732 GB, free: 10.79 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00591/0.7637, allocations: 4.158 MB / 0.7361 GB, free: 6.574 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005536/0.7692, allocations: 1.983 MB / 0.738 GB, free: 4.543 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002899/0.7721, allocations: 68 kB / 0.7381 GB, free: 4.477 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/0.7749, allocations: 72 kB / 0.7381 GB, free: 4.406 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.775, allocations: 7.984 kB / 0.7381 GB, free: 4.398 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000675/0.7757, allocations: 0.8555 MB / 0.739 GB, free: 3.543 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03341/0.8091, allocations: 17.24 MB / 0.7558 GB, free: 2.457 MB / 0.592 GB Notification: Performance of sort global known variables: time 6.61e-07/0.8091, allocations: 0 / 0.7558 GB, free: 2.457 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.004029/0.8132, allocations: 0.6406 MB / 0.7564 GB, free: 1.816 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.000638/0.8138, allocations: 194.4 kB / 0.7566 GB, free: 1.621 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.8156, allocations: 0.6908 MB / 0.7573 GB, free: 0.918 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.8156, allocations: 0 / 0.7573 GB, free: 0.918 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.000668/0.8163, allocations: 419.4 kB / 0.7577 GB, free: 0.4961 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4941/1.31, allocations: 1.692 MB / 0.7593 GB, free: 166.1 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0564/1.367, allocations: 35.11 MB / 0.7936 GB, free: 149.2 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/1.379, allocations: 8.917 MB / 0.8023 GB, free: 140.2 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01223/1.391, allocations: 4.704 MB / 0.8069 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/1.393, allocations: 0.9877 MB / 0.8079 GB, free: 134.5 MB / 0.5923 GB Notification: Performance of SimCode: time 6.81e-07/1.393, allocations: 4 kB / 0.8079 GB, free: 134.5 MB / 0.5923 GB Notification: Performance of Templates: time 0.1904/1.583, allocations: 82.65 MB / 0.8886 GB, free: 51.76 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches