Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001545, allocations: 112.7 kB / 17.74 MB, free: 5.227 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.001492/0.001492, allocations: 184.5 kB / 18.67 MB, free: 4.309 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.416/1.416, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.007/1.007, allocations: 119.3 MB / 411.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001296, allocations: 58.22 kB / 0.5716 GB, free: 39.96 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1563, allocations: 80.71 MB / 0.6504 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.002734/0.1591, allocations: 1.573 MB / 0.6519 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1605, allocations: 0.8808 MB / 0.6528 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.1605, allocations: 7.938 kB / 0.6528 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.1627, allocations: 3.457 MB / 0.6562 GB, free: 7.219 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.1639, allocations: 1.809 MB / 0.6579 GB, free: 5.406 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.1643, allocations: 99.56 kB / 0.658 GB, free: 5.312 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.002933/0.1672, allocations: 4.349 MB / 0.6623 GB, free: 0.957 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/0.1673, allocations: 11.97 kB / 0.6623 GB, free: 0.9453 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.1696, allocations: 2.164 MB / 0.6644 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003432/0.173, allocations: 4.068 MB / 0.6684 GB, free: 10.7 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005415/0.1736, allocations: 252 kB / 0.6686 GB, free: 10.46 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005516/0.1741, allocations: 283.9 kB / 0.6689 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.009626/0.1838, allocations: 9.974 MB / 0.6786 GB, free: 184 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.006588/0.1904, allocations: 5.644 MB / 0.6841 GB, free: 10.48 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.201, allocations: 12.42 MB / 0.6963 GB, free: 13.98 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.201, allocations: 0 / 0.6963 GB, free: 13.98 MB / 0.5452 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2011, allocations: 0 / 0.6963 GB, free: 13.98 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0003583/0.2014, allocations: 0 / 0.6963 GB, free: 13.98 MB / 0.5452 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02388/0.2253, allocations: 19.57 MB / 0.7154 GB, free: 10.2 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2254, allocations: 11.89 kB / 0.7154 GB, free: 10.19 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.228, allocations: 2.206 MB / 0.7175 GB, free: 7.953 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04865/0.2767, allocations: 25.86 MB / 0.7428 GB, free: 13.9 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.2767, allocations: 384 / 0.7428 GB, free: 13.9 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2768, allocations: 8.125 kB / 0.7428 GB, free: 13.89 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.277, allocations: 49.67 kB / 0.7428 GB, free: 13.84 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.277, allocations: 0 / 0.7428 GB, free: 13.84 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.277, allocations: 0 / 0.7428 GB, free: 13.84 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.277, allocations: 3.938 kB / 0.7429 GB, free: 13.83 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.2771, allocations: 15.98 kB / 0.7429 GB, free: 13.82 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.2884, allocations: 6.946 MB / 0.7497 GB, free: 6.82 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.2887, allocations: 58.55 kB / 0.7497 GB, free: 6.754 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.2887, allocations: 24.78 kB / 0.7497 GB, free: 6.727 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.2888, allocations: 4 kB / 0.7497 GB, free: 6.723 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.2889, allocations: 67.39 kB / 0.7498 GB, free: 6.645 MB / 0.592 GB Notification: Performance of pre-optimization done (n=5): time 2.344e-06/0.289, allocations: 0 / 0.7498 GB, free: 6.645 MB / 0.592 GB Notification: Performance of matching and sorting (n=5): time 0.004199/0.2932, allocations: 2.351 MB / 0.7521 GB, free: 4.258 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.2932, allocations: 55.41 kB / 0.7521 GB, free: 4.191 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6723/0.9655, allocations: 25.35 MB / 0.7769 GB, free: 89.32 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.9656, allocations: 26.64 kB / 0.7769 GB, free: 89.29 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.01095/0.9766, allocations: 11.35 MB / 0.788 GB, free: 80.12 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/0.9767, allocations: 8.047 kB / 0.788 GB, free: 80.12 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.9767, allocations: 24.06 kB / 0.788 GB, free: 80.1 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.9768, allocations: 312.1 kB / 0.7883 GB, free: 79.79 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.97e-05/0.9769, allocations: 14.5 kB / 0.7884 GB, free: 79.79 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.977, allocations: 26.34 kB / 0.7884 GB, free: 79.77 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.9771, allocations: 42.5 kB / 0.7884 GB, free: 79.74 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9771, allocations: 5.219 kB / 0.7884 GB, free: 79.74 MB / 0.6079 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.004982/0.9821, allocations: 2.34 MB / 0.7907 GB, free: 79.7 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.9821, allocations: 4.906 kB / 0.7907 GB, free: 79.7 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.9821, allocations: 1.828 kB / 0.7907 GB, free: 79.7 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.9822, allocations: 1.062 kB / 0.7907 GB, free: 79.7 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.9823, allocations: 10.89 kB / 0.7907 GB, free: 79.7 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.9823, allocations: 1.938 kB / 0.7907 GB, free: 79.7 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/0.9848, allocations: 68.42 kB / 0.7908 GB, free: 79.7 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.9848, allocations: 2.156 kB / 0.7908 GB, free: 79.7 MB / 0.6079 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.007403/0.9923, allocations: 4.766 MB / 0.7955 GB, free: 79.08 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003744/0.996, allocations: 2.33 MB / 0.7977 GB, free: 79.08 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/1, allocations: 2.567 MB / 0.8002 GB, free: 78.35 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1, allocations: 0 / 0.8002 GB, free: 78.35 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/1, allocations: 3.281 kB / 0.8002 GB, free: 78.35 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1, allocations: 6 kB / 0.8002 GB, free: 78.35 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00839/1.009, allocations: 7.626 MB / 0.8077 GB, free: 75.78 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.009, allocations: 4.453 kB / 0.8077 GB, free: 75.78 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/1.009, allocations: 3.406 kB / 0.8077 GB, free: 75.78 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.009, allocations: 0.8438 kB / 0.8077 GB, free: 75.78 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/1.009, allocations: 8.25 kB / 0.8077 GB, free: 75.77 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.009, allocations: 1.969 kB / 0.8077 GB, free: 75.77 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.009, allocations: 0 / 0.8077 GB, free: 75.77 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/1.012, allocations: 2.569 MB / 0.8102 GB, free: 74.3 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/1.014, allocations: 1.795 MB / 0.812 GB, free: 72.95 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/1.015, allocations: 66.34 kB / 0.812 GB, free: 72.95 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.016, allocations: 69.84 kB / 0.8121 GB, free: 72.95 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/1.016, allocations: 1.969 kB / 0.8121 GB, free: 72.95 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/1.016, allocations: 6.922 kB / 0.8121 GB, free: 72.95 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.0228/1.039, allocations: 17.52 MB / 0.8292 GB, free: 64.24 MB / 0.6079 GB Notification: Performance of sort global known variables: time 6.71e-07/1.039, allocations: 0 / 0.8292 GB, free: 64.24 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.002513/1.042, allocations: 0.625 MB / 0.8298 GB, free: 63.62 MB / 0.6079 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009426/1.043, allocations: 391.4 kB / 0.8302 GB, free: 63.44 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0002135/1.043, allocations: 47.25 kB / 0.8302 GB, free: 63.4 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.043, allocations: 0 / 0.8302 GB, free: 63.4 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 5.629e-05/1.043, allocations: 19.83 kB / 0.8303 GB, free: 63.38 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00453/1.047, allocations: 1.728 MB / 0.8319 GB, free: 61.66 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04051/1.088, allocations: 35.52 MB / 0.8666 GB, free: 26.33 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01044/1.098, allocations: 8.929 MB / 0.8754 GB, free: 17.36 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00421/1.103, allocations: 2.213 MB / 0.8775 GB, free: 15.15 MB / 0.6079 GB Notification: Performance of SimCode: time 1.232e-06/1.103, allocations: 0 / 0.8775 GB, free: 15.15 MB / 0.6079 GB Notification: Performance of Templates: time 4.595/5.698, allocations: 1.608 GB / 2.485 GB, free: 98.1 MB / 0.811 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches