Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001208/0.001208, allocations: 106.9 kB / 16.92 MB, free: 5.777 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.001276/0.001276, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.519/1.519, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.214/1.214, allocations: 119.3 MB / 411 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 0.491 GB, free: 13.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.63/0.6314, allocations: 80.68 MB / 0.5697 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002954/0.6344, allocations: 1.413 MB / 0.5711 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.6355, allocations: 0.5657 MB / 0.5717 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.6356, allocations: 1.25 kB / 0.5717 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.6375, allocations: 1.725 MB / 0.5734 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.6394, allocations: 1.768 MB / 0.5751 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.6398, allocations: 76.42 kB / 0.5752 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.005475/0.6453, allocations: 4.307 MB / 0.5794 GB, free: 37.89 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.6454, allocations: 3.781 kB / 0.5794 GB, free: 37.89 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00478/0.6501, allocations: 2.145 MB / 0.5815 GB, free: 36.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005229/0.6554, allocations: 4.06 MB / 0.5854 GB, free: 33.56 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000477/0.6559, allocations: 252 kB / 0.5857 GB, free: 33.32 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.6564, allocations: 331.9 kB / 0.586 GB, free: 32.99 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007797/0.6642, allocations: 9.954 MB / 0.5957 GB, free: 23.01 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.006995/0.6712, allocations: 5.636 MB / 0.6012 GB, free: 17.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.008788/0.6801, allocations: 12.17 MB / 0.6131 GB, free: 5.086 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.6801, allocations: 4 kB / 0.6131 GB, free: 5.082 MB / 462.3 MB Notification: Performance of FrontEnd: time 4.128e-06/0.6801, allocations: 0 / 0.6131 GB, free: 5.082 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0005182/0.6807, allocations: 0 / 0.6131 GB, free: 5.082 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.0305/0.7112, allocations: 19.56 MB / 0.6322 GB, free: 1.297 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.7113, allocations: 12.02 kB / 0.6322 GB, free: 1.285 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.7149, allocations: 2.202 MB / 0.6344 GB, free: 15.05 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06235/0.7773, allocations: 25.83 MB / 0.6596 GB, free: 5.027 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.7774, allocations: 4.359 kB / 0.6596 GB, free: 5.023 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.7776, allocations: 68.38 kB / 0.6597 GB, free: 4.957 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.7787, allocations: 0.7825 MB / 0.6604 GB, free: 4.168 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.7787, allocations: 0 / 0.6604 GB, free: 4.168 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.7788, allocations: 60 kB / 0.6605 GB, free: 4.109 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.7788, allocations: 4 kB / 0.6605 GB, free: 4.105 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006446/0.7795, allocations: 459.9 kB / 0.6609 GB, free: 3.656 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01911/0.7986, allocations: 6.992 MB / 0.6677 GB, free: 12.61 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.7998, allocations: 298.5 kB / 0.668 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/0.8003, allocations: 284.9 kB / 0.6683 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.8004, allocations: 0 / 0.6683 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009385/0.8013, allocations: 0.7112 MB / 0.669 GB, free: 11.3 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.785e-06/0.8013, allocations: 0 / 0.669 GB, free: 11.3 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.007495/0.8088, allocations: 4.236 MB / 0.6731 GB, free: 7.027 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.8089, allocations: 85.09 kB / 0.6732 GB, free: 6.926 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04609/0.855, allocations: 24.83 MB / 0.6975 GB, free: 14.3 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0004449/0.8555, allocations: 93.7 kB / 0.6976 GB, free: 14.2 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01419/0.8697, allocations: 10.82 MB / 0.7081 GB, free: 3.375 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006498/0.8704, allocations: 83.8 kB / 0.7082 GB, free: 3.293 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005717/0.871, allocations: 457.7 kB / 0.7086 GB, free: 2.84 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8712, allocations: 306 kB / 0.7089 GB, free: 2.535 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.8717, allocations: 268 kB / 0.7092 GB, free: 2.273 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.8721, allocations: 268 kB / 0.7094 GB, free: 2.012 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009687/0.8731, allocations: 0.5939 MB / 0.71 GB, free: 1.402 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.8731, allocations: 0 / 0.71 GB, free: 1.402 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006293/0.8794, allocations: 3.974 MB / 0.7139 GB, free: 13.39 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.8795, allocations: 33.7 kB / 0.7139 GB, free: 13.35 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.8795, allocations: 0 / 0.7139 GB, free: 13.35 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.8795, allocations: 0 / 0.7139 GB, free: 13.35 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.8796, allocations: 4 kB / 0.7139 GB, free: 13.34 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.8796, allocations: 4.078 kB / 0.7139 GB, free: 13.34 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/0.8827, allocations: 79.86 kB / 0.714 GB, free: 13.26 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008273/0.8836, allocations: 0.8671 MB / 0.7149 GB, free: 12.39 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.009186/0.8928, allocations: 4.908 MB / 0.7197 GB, free: 7.469 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004892/0.8977, allocations: 2.275 MB / 0.7219 GB, free: 5.164 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006375/0.9041, allocations: 2.557 MB / 0.7244 GB, free: 2.598 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.9041, allocations: 4 kB / 0.7244 GB, free: 2.594 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9041, allocations: 0 / 0.7244 GB, free: 2.594 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.9042, allocations: 0 / 0.7244 GB, free: 2.594 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02141/0.9256, allocations: 7.617 MB / 0.7318 GB, free: 10.93 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.9256, allocations: 0 / 0.7318 GB, free: 10.93 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/0.9257, allocations: 15.88 kB / 0.7318 GB, free: 10.91 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.9257, allocations: 0 / 0.7318 GB, free: 10.91 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000826/0.9266, allocations: 192 kB / 0.732 GB, free: 10.72 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.9266, allocations: 0 / 0.732 GB, free: 10.72 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9266, allocations: 0 / 0.732 GB, free: 10.72 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007711/0.9343, allocations: 4.162 MB / 0.7361 GB, free: 6.508 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005391/0.9397, allocations: 1.983 MB / 0.738 GB, free: 4.477 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002133/0.9419, allocations: 72 kB / 0.7381 GB, free: 4.406 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/0.9435, allocations: 68 kB / 0.7382 GB, free: 4.34 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.9436, allocations: 0 / 0.7382 GB, free: 4.34 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007119/0.9443, allocations: 0.8633 MB / 0.739 GB, free: 3.477 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03282/0.9771, allocations: 17.24 MB / 0.7558 GB, free: 2.391 MB / 0.592 GB Notification: Performance of sort global known variables: time 6.11e-07/0.9772, allocations: 0 / 0.7558 GB, free: 2.391 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003661/0.9809, allocations: 0.6367 MB / 0.7564 GB, free: 1.754 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.0005052/0.9814, allocations: 191.7 kB / 0.7566 GB, free: 1.559 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.9827, allocations: 0.683 MB / 0.7573 GB, free: 0.8633 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9827, allocations: 8 kB / 0.7573 GB, free: 0.8555 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0005944/0.9833, allocations: 423.3 kB / 0.7577 GB, free: 440 kB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5585/1.542, allocations: 1.689 MB / 0.7594 GB, free: 166 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06006/1.602, allocations: 35.1 MB / 0.7936 GB, free: 149.1 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/1.613, allocations: 8.917 MB / 0.8023 GB, free: 140.1 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01109/1.624, allocations: 4.705 MB / 0.8069 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009611/1.625, allocations: 0.9838 MB / 0.8079 GB, free: 134.4 MB / 0.5923 GB Notification: Performance of SimCode: time 8.42e-07/1.625, allocations: 0 / 0.8079 GB, free: 134.4 MB / 0.5923 GB Notification: Performance of Templates: time 0.2/1.825, allocations: 82.66 MB / 0.8886 GB, free: 51.68 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches