Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001049/0.001049, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.341/1.341, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.896/0.896, allocations: 119.3 MB / 411.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 0.4909 GB, free: 14.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4849/0.4861, allocations: 80.69 MB / 0.5697 GB, free: 43.45 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002319/0.4885, allocations: 1.482 MB / 0.5711 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.4894, allocations: 0.5806 MB / 0.5717 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.4895, allocations: 5.375 kB / 0.5717 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.4899, allocations: 448 kB / 0.5721 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004576/0.4904, allocations: 481.6 kB / 0.5726 GB, free: 41.37 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.4906, allocations: 63.89 kB / 0.5727 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007391/0.4914, allocations: 1.114 MB / 0.5737 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.4914, allocations: 6.953 kB / 0.5737 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005255/0.4919, allocations: 0.5577 MB / 0.5743 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007979/0.4927, allocations: 0.9761 MB / 0.5752 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.4929, allocations: 68.19 kB / 0.5753 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.4932, allocations: 132.2 kB / 0.5754 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00248/0.4957, allocations: 2.493 MB / 0.5779 GB, free: 38.86 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0009738/0.4967, allocations: 1.42 MB / 0.5793 GB, free: 37.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.4988, allocations: 2.316 MB / 0.5815 GB, free: 36.34 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4988, allocations: 5.344 kB / 0.5815 GB, free: 36.34 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4988, allocations: 3.938 kB / 0.5815 GB, free: 36.33 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001137/0.4989, allocations: 0 / 0.5815 GB, free: 36.33 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.006581/0.5055, allocations: 5.164 MB / 0.5866 GB, free: 32.4 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.5056, allocations: 9.375 kB / 0.5866 GB, free: 32.4 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.5067, allocations: 0.5541 MB / 0.5871 GB, free: 31.93 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008581/0.5152, allocations: 6.535 MB / 0.5935 GB, free: 25.31 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.5153, allocations: 384 / 0.5935 GB, free: 25.31 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.5154, allocations: 16.38 kB / 0.5935 GB, free: 25.29 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.5157, allocations: 245.8 kB / 0.5938 GB, free: 25.05 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5157, allocations: 0 / 0.5938 GB, free: 25.05 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.5157, allocations: 16 kB / 0.5938 GB, free: 25.03 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5157, allocations: 4 kB / 0.5938 GB, free: 25.03 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.5159, allocations: 128 kB / 0.5939 GB, free: 24.9 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.518, allocations: 1.858 MB / 0.5957 GB, free: 23 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.5181, allocations: 110.5 kB / 0.5958 GB, free: 22.88 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.5183, allocations: 96.86 kB / 0.5959 GB, free: 22.78 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.5183, allocations: 0 / 0.5959 GB, free: 22.78 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.5186, allocations: 257 kB / 0.5962 GB, free: 22.51 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/0.5187, allocations: 0 / 0.5962 GB, free: 22.51 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001243/0.5199, allocations: 1.164 MB / 0.5973 GB, free: 21.33 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.52, allocations: 81.05 kB / 0.5974 GB, free: 21.23 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006343/0.5263, allocations: 6.283 MB / 0.6035 GB, free: 14.99 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.825e-05/0.5264, allocations: 41.7 kB / 0.6035 GB, free: 14.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.5281, allocations: 2.531 MB / 0.606 GB, free: 12.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.5282, allocations: 31.75 kB / 0.606 GB, free: 12.38 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.5284, allocations: 129.7 kB / 0.6062 GB, free: 12.25 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.5284, allocations: 314 kB / 0.6065 GB, free: 11.93 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.5285, allocations: 76 kB / 0.6065 GB, free: 11.86 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.5286, allocations: 83.98 kB / 0.6066 GB, free: 11.78 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.5289, allocations: 224.2 kB / 0.6068 GB, free: 11.54 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5289, allocations: 0 / 0.6068 GB, free: 11.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001183/0.5301, allocations: 1.093 MB / 0.6079 GB, free: 10.43 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.5301, allocations: 40.2 kB / 0.6079 GB, free: 10.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5302, allocations: 3.984 kB / 0.6079 GB, free: 10.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5302, allocations: 0 / 0.6079 GB, free: 10.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.5303, allocations: 4 kB / 0.6079 GB, free: 10.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5303, allocations: 0 / 0.6079 GB, free: 10.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.5308, allocations: 20 kB / 0.608 GB, free: 10.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.5309, allocations: 220 kB / 0.6082 GB, free: 10.14 MB / 462.3 MB 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.001801/0.5327, allocations: 1.334 MB / 0.6095 GB, free: 8.793 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/0.5332, allocations: 0.5785 MB / 0.61 GB, free: 8.207 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008273/0.534, allocations: 0.648 MB / 0.6107 GB, free: 7.551 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.534, allocations: 3.938 kB / 0.6107 GB, free: 7.547 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.534, allocations: 4 kB / 0.6107 GB, free: 7.543 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.534, allocations: 0 / 0.6107 GB, free: 7.543 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.5355, allocations: 2.03 MB / 0.6127 GB, free: 5.465 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5356, allocations: 3.938 kB / 0.6127 GB, free: 5.461 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.5356, allocations: 3.938 kB / 0.6127 GB, free: 5.457 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5356, allocations: 4 kB / 0.6127 GB, free: 5.453 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.5357, allocations: 48 kB / 0.6127 GB, free: 5.406 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5357, allocations: 4.234 kB / 0.6127 GB, free: 5.402 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5357, allocations: 0 / 0.6127 GB, free: 5.402 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.5366, allocations: 1.168 MB / 0.6139 GB, free: 4.203 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/0.5372, allocations: 0.5678 MB / 0.6144 GB, free: 3.609 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.5374, allocations: 16 kB / 0.6144 GB, free: 3.594 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.5377, allocations: 27.98 kB / 0.6145 GB, free: 3.566 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.5378, allocations: 0 / 0.6145 GB, free: 3.566 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.5379, allocations: 224 kB / 0.6147 GB, free: 3.348 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004964/0.5429, allocations: 4.328 MB / 0.6189 GB, free: 15.06 MB / 478.3 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5429, allocations: 3.938 kB / 0.6189 GB, free: 15.05 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0007731/0.5437, allocations: 192 kB / 0.6191 GB, free: 14.87 MB / 478.3 MB 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.0002348/0.5439, allocations: 139.1 kB / 0.6192 GB, free: 14.72 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004323/0.5444, allocations: 283.4 kB / 0.6195 GB, free: 14.43 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5444, allocations: 0 / 0.6195 GB, free: 14.43 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.5446, allocations: 187.4 kB / 0.6197 GB, free: 14.24 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.5459, allocations: 445.1 kB / 0.6201 GB, free: 13.8 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.5592, allocations: 9.73 MB / 0.6296 GB, free: 4.031 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002281/0.5615, allocations: 2.721 MB / 0.6323 GB, free: 1.285 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/0.5619, allocations: 259.4 kB / 0.6325 GB, free: 1.027 MB / 478.3 MB Notification: Performance of SimCode: time 2.444e-06/0.562, allocations: 0 / 0.6325 GB, free: 1.027 MB / 478.3 MB Notification: Performance of Templates: time 0.6927/1.255, allocations: 140 MB / 0.7692 GB, free: 158.2 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches