Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001136, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001317/0.001317, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.484/1.484, allocations: 223.2 MB / 241.2 MB, free: 5.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.97/0.97, allocations: 120.5 MB / 412.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 8 kB / 0.4943 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1758, allocations: 82.85 MB / 0.5752 GB, free: 8.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001568/0.1774, allocations: 1.122 MB / 0.5763 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008719/0.1783, allocations: 0.5264 MB / 0.5768 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.1784, allocations: 0 / 0.5768 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.1811, allocations: 3.789 MB / 0.5805 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.5688/0.7499, allocations: 3.832 MB / 0.5842 GB, free: 14.32 MB / 446.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.7504, allocations: 54.34 kB / 0.5843 GB, free: 14.32 MB / 446.3 MB Notification: Performance of NFFlatten.flatten: time 0.01128/0.7617, allocations: 7.253 MB / 0.5914 GB, free: 13.62 MB / 446.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.902e-05/0.7618, allocations: 3.141 kB / 0.5914 GB, free: 13.62 MB / 446.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.7749, allocations: 4.432 MB / 0.5957 GB, free: 11.64 MB / 446.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01846/0.7934, allocations: 8.147 MB / 0.6036 GB, free: 8.387 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 0.005041/0.7985, allocations: 0.4902 MB / 0.6041 GB, free: 8.387 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007743/0.8063, allocations: 0.5536 MB / 0.6047 GB, free: 8.355 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.02178/0.8281, allocations: 19.91 MB / 0.6241 GB, free: 7.371 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.008407/0.8366, allocations: 3.943 MB / 0.628 GB, free: 3.398 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02339/0.86, allocations: 18 MB / 0.6455 GB, free: 1.348 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.8601, allocations: 8 kB / 0.6455 GB, free: 1.34 MB / 478.3 MB Notification: Performance of FrontEnd: time 4.138e-06/0.8601, allocations: 0 / 0.6455 GB, free: 1.34 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.001131/0.8612, allocations: 3.828 kB / 0.6455 GB, free: 1.34 MB / 478.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.05323/0.9144, allocations: 34.58 MB / 0.6793 GB, free: 14.41 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 6.996e-05/0.9145, allocations: 12.03 kB / 0.6793 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.9252, allocations: 4.402 MB / 0.6836 GB, free: 9.934 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1457/1.071, allocations: 49.13 MB / 0.7316 GB, free: 8.508 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/1.071, allocations: 0 / 0.7316 GB, free: 8.508 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006452/1.072, allocations: 132 kB / 0.7317 GB, free: 8.379 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/1.073, allocations: 1.512 MB / 0.7332 GB, free: 6.859 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.073, allocations: 1.312 kB / 0.7332 GB, free: 6.859 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/1.074, allocations: 132 kB / 0.7333 GB, free: 6.73 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.074, allocations: 0 / 0.7333 GB, free: 6.73 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/1.075, allocations: 0.875 MB / 0.7342 GB, free: 5.855 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02722/1.102, allocations: 13.85 MB / 0.7477 GB, free: 7.949 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/1.105, allocations: 0.5338 MB / 0.7482 GB, free: 7.406 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/1.107, allocations: 0.5126 MB / 0.7487 GB, free: 6.891 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/1.107, allocations: 0 / 0.7487 GB, free: 6.891 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/1.109, allocations: 1.327 MB / 0.75 GB, free: 5.547 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/1.109, allocations: 0 / 0.75 GB, free: 5.547 MB / 0.5764 GB Notification: Performance of matching and sorting (n=8): time 0.01614/1.125, allocations: 8.309 MB / 0.7581 GB, free: 13.16 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/1.125, allocations: 89.09 kB / 0.7582 GB, free: 13.06 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1077/1.233, allocations: 49.46 MB / 0.8065 GB, free: 12.01 MB / 0.6389 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/1.234, allocations: 153.7 kB / 0.8067 GB, free: 11.86 MB / 0.6389 GB Notification: Performance of collectInitialEqns (initialization): time 0.03215/1.266, allocations: 22.55 MB / 0.8287 GB, free: 5.297 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.267, allocations: 147.6 kB / 0.8288 GB, free: 5.156 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/1.268, allocations: 131.9 kB / 0.829 GB, free: 5.027 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.269, allocations: 317.9 kB / 0.8293 GB, free: 4.711 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/1.27, allocations: 0.5 MB / 0.8297 GB, free: 4.211 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007965/1.271, allocations: 0.5078 MB / 0.8302 GB, free: 3.703 MB / 0.6545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008612/1.272, allocations: 0.5368 MB / 0.8308 GB, free: 3.16 MB / 0.6545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.272, allocations: 0 / 0.8308 GB, free: 3.16 MB / 0.6545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.6911/1.963, allocations: 7.807 MB / 0.8384 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/1.963, allocations: 35.62 kB / 0.8384 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.963, allocations: 1.391 kB / 0.8384 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.963, allocations: 0 / 0.8384 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.35e-05/1.963, allocations: 5.688 kB / 0.8384 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.963, allocations: 0 / 0.8384 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006491/1.97, allocations: 132.8 kB / 0.8386 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003032/1.973, allocations: 1.712 MB / 0.8402 GB, free: 174.7 MB / 0.6548 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0221/1.995, allocations: 9.676 MB / 0.8497 GB, free: 174.6 MB / 0.6548 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009082/2.004, allocations: 4.527 MB / 0.8541 GB, free: 172.2 MB / 0.6548 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/2.018, allocations: 5.114 MB / 0.8591 GB, free: 171.7 MB / 0.6548 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/2.018, allocations: 1.312 kB / 0.8591 GB, free: 171.7 MB / 0.6548 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/2.018, allocations: 0 / 0.8591 GB, free: 171.7 MB / 0.6548 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/2.018, allocations: 4.688 kB / 0.8591 GB, free: 171.7 MB / 0.6548 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0361/2.054, allocations: 15.08 MB / 0.8738 GB, free: 170.7 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/2.054, allocations: 1.75 kB / 0.8738 GB, free: 170.7 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/2.054, allocations: 4.641 kB / 0.8738 GB, free: 170.7 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/2.054, allocations: 0 / 0.8738 GB, free: 170.7 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001326/2.056, allocations: 379.9 kB / 0.8742 GB, free: 170.7 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/2.056, allocations: 0 / 0.8742 GB, free: 170.7 MB / 0.6548 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/2.056, allocations: 0 / 0.8742 GB, free: 170.7 MB / 0.6548 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/2.068, allocations: 8.164 MB / 0.8822 GB, free: 167.8 MB / 0.6548 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01053/2.078, allocations: 3.87 MB / 0.8859 GB, free: 165.2 MB / 0.6548 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005687/2.084, allocations: 137.3 kB / 0.8861 GB, free: 165.2 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005237/2.089, allocations: 128 kB / 0.8862 GB, free: 165.2 MB / 0.6548 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/2.09, allocations: 2.016 kB / 0.8862 GB, free: 165.2 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002512/2.092, allocations: 1.717 MB / 0.8879 GB, free: 165.2 MB / 0.6548 GB Notification: Performance of sorting global known variables: time 0.0728/2.165, allocations: 34.37 MB / 0.9214 GB, free: 139.3 MB / 0.6548 GB Notification: Performance of sort global known variables: time 1.042e-06/2.165, allocations: 0 / 0.9214 GB, free: 139.3 MB / 0.6548 GB Notification: Performance of remove unused functions: time 0.006923/2.172, allocations: 1.246 MB / 0.9227 GB, free: 138 MB / 0.6548 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006025/2.173, allocations: 253.9 kB / 0.9229 GB, free: 137.8 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.001749/2.174, allocations: 1.238 MB / 0.9241 GB, free: 136.6 MB / 0.6548 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/2.174, allocations: 3 kB / 0.9241 GB, free: 136.6 MB / 0.6548 GB Notification: Performance of simCode: created simulation system equations: time 0.0009516/2.175, allocations: 0.7167 MB / 0.9248 GB, free: 135.9 MB / 0.6548 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01461/2.19, allocations: 3.381 MB / 0.9281 GB, free: 134.4 MB / 0.6548 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1246/2.315, allocations: 74.97 MB / 1.001 GB, free: 60.72 MB / 0.6548 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03711/2.352, allocations: 17.33 MB / 1.018 GB, free: 43.34 MB / 0.6548 GB Notification: Performance of simCode: alias equations: time 0.03145/2.383, allocations: 9.324 MB / 1.027 GB, free: 34 MB / 0.6548 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004936/2.388, allocations: 1.964 MB / 1.029 GB, free: 32.04 MB / 0.6548 GB Notification: Performance of SimCode: time 1.774e-06/2.388, allocations: 0 / 1.029 GB, free: 32.04 MB / 0.6548 GB Notification: Performance of Templates: time 0.8411/3.229, allocations: 164.9 MB / 1.19 GB, free: 146.9 MB / 0.686 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches