Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001751/0.001756, allocations: 106.8 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.001888/0.001889, 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.581/1.581, allocations: 222.9 MB / 241.5 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.409/1.409, allocations: 119.3 MB / 411 MB, free: 9.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 71.89 kB / 0.4909 GB, free: 13.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7574/0.759, allocations: 80.69 MB / 0.5697 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.003133/0.7622, allocations: 1.412 MB / 0.5711 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.7632, allocations: 0.573 MB / 0.5717 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.7633, allocations: 1.406 kB / 0.5717 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.7638, allocations: 447.8 kB / 0.5721 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005929/0.7644, allocations: 489.7 kB / 0.5726 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.7647, allocations: 80.09 kB / 0.5727 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.7658, allocations: 1.129 MB / 0.5738 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.7659, allocations: 3.344 kB / 0.5738 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006329/0.7665, allocations: 0.5632 MB / 0.5743 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009881/0.7675, allocations: 1.037 MB / 0.5753 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.7677, allocations: 64.78 kB / 0.5754 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.768, allocations: 144 kB / 0.5755 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002748/0.7707, allocations: 2.496 MB / 0.578 GB, free: 38.82 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0009887/0.7717, allocations: 1.424 MB / 0.5793 GB, free: 37.6 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.7746, allocations: 3.101 MB / 0.5824 GB, free: 35.64 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.7746, allocations: 0 / 0.5824 GB, free: 35.64 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7746, allocations: 0 / 0.5824 GB, free: 35.64 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.928e-05/0.7747, allocations: 0 / 0.5824 GB, free: 35.64 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.006032/0.7807, allocations: 5.167 MB / 0.5874 GB, free: 31.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7808, allocations: 8.031 kB / 0.5874 GB, free: 31.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005071/0.7813, allocations: 0.5561 MB / 0.588 GB, free: 30.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007828/0.7891, allocations: 6.531 MB / 0.5944 GB, free: 24.3 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.7892, allocations: 8.312 kB / 0.5944 GB, free: 24.29 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.7892, allocations: 16.38 kB / 0.5944 GB, free: 24.28 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.7896, allocations: 245.8 kB / 0.5946 GB, free: 24.03 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.7896, allocations: 0 / 0.5946 GB, free: 24.03 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.7896, allocations: 16 kB / 0.5946 GB, free: 24.02 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.7897, allocations: 4 kB / 0.5946 GB, free: 24.01 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.7898, allocations: 128 kB / 0.5948 GB, free: 23.89 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.7918, allocations: 1.862 MB / 0.5966 GB, free: 21.98 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.7919, allocations: 106.5 kB / 0.5967 GB, free: 21.86 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.7921, allocations: 92.86 kB / 0.5968 GB, free: 21.77 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.7921, allocations: 3.984 kB / 0.5968 GB, free: 21.77 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.7924, allocations: 252.9 kB / 0.597 GB, free: 21.5 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.7924, allocations: 3.938 kB / 0.597 GB, free: 21.5 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001102/0.7935, allocations: 1.168 MB / 0.5981 GB, free: 20.31 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.7936, allocations: 85.05 kB / 0.5982 GB, free: 20.21 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005653/0.7992, allocations: 6.279 MB / 0.6044 GB, free: 13.97 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.7993, allocations: 45.69 kB / 0.6044 GB, free: 13.92 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.801, allocations: 2.52 MB / 0.6069 GB, free: 11.4 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.8011, allocations: 39.89 kB / 0.6069 GB, free: 11.36 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.8012, allocations: 133.7 kB / 0.607 GB, free: 11.22 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.8013, allocations: 309.9 kB / 0.6073 GB, free: 10.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.8014, allocations: 80 kB / 0.6074 GB, free: 10.84 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.8015, allocations: 79.98 kB / 0.6075 GB, free: 10.76 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.8018, allocations: 232.2 kB / 0.6077 GB, free: 10.52 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8018, allocations: 0 / 0.6077 GB, free: 10.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009668/0.8028, allocations: 1.09 MB / 0.6088 GB, free: 9.406 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.8028, allocations: 37.69 kB / 0.6088 GB, free: 9.363 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8028, allocations: 0 / 0.6088 GB, free: 9.363 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8029, allocations: 0 / 0.6088 GB, free: 9.363 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.8029, allocations: 4 kB / 0.6088 GB, free: 9.359 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.803, allocations: 0 / 0.6088 GB, free: 9.359 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.8033, allocations: 20 kB / 0.6088 GB, free: 9.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.8035, allocations: 220 kB / 0.609 GB, free: 9.125 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.001213/0.8047, allocations: 1.338 MB / 0.6103 GB, free: 7.77 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.805, allocations: 0.5784 MB / 0.6109 GB, free: 7.184 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.8055, allocations: 0.6441 MB / 0.6115 GB, free: 6.531 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.8055, allocations: 96 / 0.6115 GB, free: 6.531 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8055, allocations: 3.938 kB / 0.6115 GB, free: 6.527 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.8055, allocations: 3.938 kB / 0.6115 GB, free: 6.523 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.807, allocations: 2.026 MB / 0.6135 GB, free: 4.449 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.807, allocations: 4 kB / 0.6135 GB, free: 4.445 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.8071, allocations: 3.938 kB / 0.6135 GB, free: 4.441 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8071, allocations: 4 kB / 0.6135 GB, free: 4.438 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.8071, allocations: 56 kB / 0.6136 GB, free: 4.383 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.8071, allocations: 0 / 0.6136 GB, free: 4.383 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8071, allocations: 0 / 0.6136 GB, free: 4.383 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.808, allocations: 1.16 MB / 0.6147 GB, free: 3.191 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.8086, allocations: 0.5679 MB / 0.6153 GB, free: 2.598 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.8088, allocations: 16 kB / 0.6153 GB, free: 2.582 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.8091, allocations: 23.98 kB / 0.6153 GB, free: 2.559 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.8092, allocations: 7.938 kB / 0.6153 GB, free: 2.551 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.8093, allocations: 224 kB / 0.6155 GB, free: 2.332 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005008/0.8143, allocations: 4.324 MB / 0.6198 GB, free: 14.05 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8143, allocations: 4 kB / 0.6198 GB, free: 14.04 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.000596/0.8149, allocations: 184 kB / 0.6199 GB, free: 13.86 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.0002579/0.8152, allocations: 147.6 kB / 0.6201 GB, free: 13.71 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004911/0.8157, allocations: 283.4 kB / 0.6203 GB, free: 13.42 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8157, allocations: 4 kB / 0.6203 GB, free: 13.42 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.8159, allocations: 187.4 kB / 0.6205 GB, free: 13.22 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.8172, allocations: 437.2 kB / 0.6209 GB, free: 12.79 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.8286, allocations: 8.505 MB / 0.6293 GB, free: 4.258 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/0.8315, allocations: 2.724 MB / 0.6319 GB, free: 1.508 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.003113/0.8346, allocations: 1.188 MB / 0.6331 GB, free: 320 kB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.835, allocations: 259.4 kB / 0.6333 GB, free: 60 kB / 478.3 MB Notification: Performance of SimCode: time 1.333e-06/0.835, allocations: 0 / 0.6333 GB, free: 60 kB / 478.3 MB Notification: Performance of Templates: time 0.05185/0.8869, allocations: 20.69 MB / 0.6535 GB, free: 11.25 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches