Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 111.4 kB / 17.29 MB, free: 6.219 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.001888, allocations: 193.9 kB / 18.21 MB, free: 5.293 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.358/1.358, allocations: 222.9 MB / 241.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.045/1.045, allocations: 119.3 MB / 411.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 55.91 kB / 0.4911 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6175/0.619, allocations: 80.69 MB / 0.5699 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002552/0.6216, allocations: 1.456 MB / 0.5713 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.6226, allocations: 0.5666 MB / 0.5718 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.6226, allocations: 1.406 kB / 0.5718 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.6228, allocations: 19.09 kB / 0.5719 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.6231, allocations: 60.08 kB / 0.5719 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.6234, allocations: 73.81 kB / 0.572 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.6235, allocations: 86.45 kB / 0.5721 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.6236, allocations: 2.812 kB / 0.5721 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.6237, allocations: 45.69 kB / 0.5721 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.6238, allocations: 48.31 kB / 0.5722 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.6239, allocations: 4.375 kB / 0.5722 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.624, allocations: 80.75 kB / 0.5722 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.6241, allocations: 56.58 kB / 0.5723 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.6242, allocations: 50.78 kB / 0.5723 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.6244, allocations: 101.5 kB / 0.5724 GB, free: 41.49 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6244, allocations: 0 / 0.5724 GB, free: 41.49 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6244, allocations: 1.375 kB / 0.5724 GB, free: 41.49 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.6244, allocations: 4 kB / 0.5725 GB, free: 41.49 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.0005256/0.6249, allocations: 485.5 kB / 0.5729 GB, free: 41 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.625, allocations: 13.48 kB / 0.5729 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.625, allocations: 17 kB / 0.5729 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.6255, allocations: 314.8 kB / 0.5732 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.6255, allocations: 1.875 kB / 0.5732 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.6255, allocations: 1.844 kB / 0.5732 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.6256, allocations: 51.84 kB / 0.5733 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.6256, allocations: 4 kB / 0.5733 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.6257, allocations: 6.016 kB / 0.5733 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6257, allocations: 0 / 0.5733 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.27e-05/0.6257, allocations: 24.86 kB / 0.5733 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.6259, allocations: 201.6 kB / 0.5735 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.75e-05/0.626, allocations: 45.34 kB / 0.5736 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.6261, allocations: 33.56 kB / 0.5736 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.6261, allocations: 1.656 kB / 0.5736 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.6263, allocations: 110.2 kB / 0.5737 GB, free: 40.24 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.6263, allocations: 0 / 0.5737 GB, free: 40.24 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003085/0.6266, allocations: 162.3 kB / 0.5739 GB, free: 40.14 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.6266, allocations: 83.38 kB / 0.5739 GB, free: 40.04 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.6268, allocations: 228.1 kB / 0.5742 GB, free: 39.89 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.6269, allocations: 31.14 kB / 0.5742 GB, free: 39.86 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.6269, allocations: 116.3 kB / 0.5743 GB, free: 39.75 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.627, allocations: 32.36 kB / 0.5743 GB, free: 39.72 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.627, allocations: 22.22 kB / 0.5743 GB, free: 39.7 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.6271, allocations: 325.8 kB / 0.5747 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.6271, allocations: 24.33 kB / 0.5747 GB, free: 39.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.851e-05/0.6272, allocations: 13.38 kB / 0.5747 GB, free: 39.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.608e-05/0.6273, allocations: 110.6 kB / 0.5748 GB, free: 39.26 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6273, allocations: 0 / 0.5748 GB, free: 39.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001797/0.6275, allocations: 152.7 kB / 0.5749 GB, free: 39.16 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.6275, allocations: 38.08 kB / 0.575 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6275, allocations: 4 kB / 0.575 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.6275, allocations: 0 / 0.575 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/0.6276, allocations: 4.469 kB / 0.575 GB, free: 39.12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.6276, allocations: 3.984 kB / 0.575 GB, free: 39.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.6277, allocations: 7.938 kB / 0.575 GB, free: 39.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.6277, allocations: 5.812 kB / 0.575 GB, free: 39.11 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.0001091/0.6278, allocations: 172.5 kB / 0.5752 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.6278, allocations: 26 kB / 0.5752 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.6279, allocations: 28.95 kB / 0.5752 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.6279, allocations: 1.125 kB / 0.5752 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.6279, allocations: 0 / 0.5752 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.6279, allocations: 1.188 kB / 0.5752 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.628, allocations: 210 kB / 0.5754 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.628, allocations: 1.344 kB / 0.5754 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.98e-05/0.6281, allocations: 6.812 kB / 0.5754 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.6281, allocations: 0 / 0.5754 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.6281, allocations: 7.969 kB / 0.5754 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.6281, allocations: 0 / 0.5754 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6281, allocations: 96 / 0.5754 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.6283, allocations: 201.2 kB / 0.5756 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.6284, allocations: 105.7 kB / 0.5757 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.6284, allocations: 6.516 kB / 0.5757 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.6285, allocations: 2.812 kB / 0.5757 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.6285, allocations: 2.688 kB / 0.5757 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.6286, allocations: 11.22 kB / 0.5758 GB, free: 38.4 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001323/0.6287, allocations: 179.2 kB / 0.5759 GB, free: 38.28 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6287, allocations: 4 kB / 0.5759 GB, free: 38.28 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002346/0.6289, allocations: 34.38 kB / 0.576 GB, free: 38.27 MB / 462.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.0001646/0.6291, allocations: 121.7 kB / 0.5761 GB, free: 38.18 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.6293, allocations: 151.9 kB / 0.5762 GB, free: 38.06 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6293, allocations: 0 / 0.5762 GB, free: 38.06 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.588e-05/0.6294, allocations: 111.2 kB / 0.5763 GB, free: 37.97 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.6296, allocations: 12.52 kB / 0.5763 GB, free: 37.96 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.6302, allocations: 370.6 kB / 0.5767 GB, free: 37.67 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.6304, allocations: 0.7204 MB / 0.5774 GB, free: 36.95 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.6304, allocations: 13.72 kB / 0.5774 GB, free: 36.95 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.6304, allocations: 1.406 kB / 0.5774 GB, free: 36.95 MB / 462.3 MB Notification: Performance of Templates: time 0.004188/0.6346, allocations: 2.051 MB / 0.5794 GB, free: 35.88 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches