Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001424, allocations: 115.4 kB / 17.69 MB, free: 5.098 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.001466/0.001466, allocations: 191 kB / 18.63 MB, free: 4.25 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.343/1.343, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9399/0.9399, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001594, allocations: 63.91 kB / 0.4924 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/0.5981, allocations: 80.69 MB / 0.5712 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125): time 0.003475/0.6017, allocations: 1.57 MB / 0.5727 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.6032, allocations: 0.8902 MB / 0.5736 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.6034, allocations: 3.938 kB / 0.5736 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.6039, allocations: 261.5 kB / 0.5738 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.6044, allocations: 205.8 kB / 0.574 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.6048, allocations: 106.3 kB / 0.5741 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.6053, allocations: 380.4 kB / 0.5745 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.76e-05/0.6054, allocations: 17.69 kB / 0.5745 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.6057, allocations: 188.9 kB / 0.5747 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004148/0.6062, allocations: 288.3 kB / 0.5749 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.6062, allocations: 18.91 kB / 0.575 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.6064, allocations: 47.67 kB / 0.575 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0006454/0.607, allocations: 0.6421 MB / 0.5756 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.6073, allocations: 390.1 kB / 0.576 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006883/0.608, allocations: 0.8615 MB / 0.5769 GB, free: 39.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.608, allocations: 5.312 kB / 0.5769 GB, free: 39.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.883e-06/0.608, allocations: 0 / 0.5769 GB, free: 39.67 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.6081, allocations: 0 / 0.5769 GB, free: 39.67 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00161/0.6097, allocations: 1.579 MB / 0.5784 GB, free: 38.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6097, allocations: 13.08 kB / 0.5784 GB, free: 38.37 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.6099, allocations: 150.2 kB / 0.5786 GB, free: 38.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.6125, allocations: 1.768 MB / 0.5803 GB, free: 37.13 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.6125, allocations: 1.312 kB / 0.5803 GB, free: 37.13 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.6125, allocations: 5.938 kB / 0.5803 GB, free: 37.13 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.6127, allocations: 54.86 kB / 0.5803 GB, free: 37.08 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.6127, allocations: 0.9062 kB / 0.5803 GB, free: 37.08 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.6127, allocations: 4 kB / 0.5803 GB, free: 37.07 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6128, allocations: 0.9062 kB / 0.5803 GB, free: 37.07 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/0.6128, allocations: 16.3 kB / 0.5804 GB, free: 37.07 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.6134, allocations: 0.5847 MB / 0.5809 GB, free: 36.62 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.6135, allocations: 50.73 kB / 0.581 GB, free: 36.58 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.6136, allocations: 25.62 kB / 0.581 GB, free: 36.56 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.6136, allocations: 15.86 kB / 0.581 GB, free: 36.54 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.6138, allocations: 65.27 kB / 0.5811 GB, free: 36.48 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.6138, allocations: 0 / 0.5811 GB, free: 36.48 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0003899/0.6142, allocations: 239.4 kB / 0.5813 GB, free: 36.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.6142, allocations: 52.69 kB / 0.5814 GB, free: 36.28 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.616, allocations: 1.708 MB / 0.583 GB, free: 35.45 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.616, allocations: 26.61 kB / 0.5831 GB, free: 35.41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/0.6164, allocations: 0.6847 MB / 0.5837 GB, free: 34.82 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.6165, allocations: 6.094 kB / 0.5837 GB, free: 34.81 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.6165, allocations: 23.19 kB / 0.5838 GB, free: 34.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.6166, allocations: 311.3 kB / 0.584 GB, free: 34.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.6166, allocations: 15.27 kB / 0.5841 GB, free: 34.47 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.473e-05/0.6167, allocations: 27.98 kB / 0.5841 GB, free: 34.45 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.6168, allocations: 42.78 kB / 0.5841 GB, free: 34.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6168, allocations: 5.172 kB / 0.5841 GB, free: 34.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002612/0.6171, allocations: 230.4 kB / 0.5844 GB, free: 34.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.6171, allocations: 5.5 kB / 0.5844 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6171, allocations: 0 / 0.5844 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6171, allocations: 1.094 kB / 0.5844 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.6172, allocations: 9.625 kB / 0.5844 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6172, allocations: 1 kB / 0.5844 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.6174, allocations: 21.45 kB / 0.5844 GB, free: 34.26 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.6174, allocations: 2.156 kB / 0.5844 GB, free: 34.26 MB / 462.3 MB 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.0004028/0.6178, allocations: 422.8 kB / 0.5848 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.6179, allocations: 156.3 kB / 0.5849 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.6181, allocations: 172.2 kB / 0.5851 GB, free: 33.88 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6181, allocations: 0 / 0.5851 GB, free: 33.88 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6181, allocations: 1.062 kB / 0.5851 GB, free: 33.88 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6181, allocations: 0 / 0.5851 GB, free: 33.88 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.6187, allocations: 0.6353 MB / 0.5857 GB, free: 33.42 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6187, allocations: 5.094 kB / 0.5857 GB, free: 33.41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.6187, allocations: 3.531 kB / 0.5857 GB, free: 33.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6187, allocations: 0 / 0.5857 GB, free: 33.41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.6187, allocations: 1.375 kB / 0.5857 GB, free: 33.41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6187, allocations: 128 / 0.5857 GB, free: 33.41 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6188, allocations: 9.375 kB / 0.5858 GB, free: 33.41 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.619, allocations: 261.8 kB / 0.586 GB, free: 33.23 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.6193, allocations: 201.1 kB / 0.5862 GB, free: 33.04 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.008e-05/0.6193, allocations: 9.719 kB / 0.5862 GB, free: 33.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.6195, allocations: 9.625 kB / 0.5862 GB, free: 33.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.6195, allocations: 6.359 kB / 0.5862 GB, free: 33.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.6195, allocations: 1.219 kB / 0.5862 GB, free: 33.03 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001305/0.6208, allocations: 1.19 MB / 0.5874 GB, free: 32.43 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6208, allocations: 0 / 0.5874 GB, free: 32.43 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002869/0.6211, allocations: 60 kB / 0.5874 GB, free: 32.37 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: 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.0008678/0.622, allocations: 411.1 kB / 0.5878 GB, free: 32.12 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.6222, allocations: 43.98 kB / 0.5879 GB, free: 32.08 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6222, allocations: 3.938 kB / 0.5879 GB, free: 32.07 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.6222, allocations: 19.98 kB / 0.5879 GB, free: 32.05 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.6227, allocations: 139.3 kB / 0.588 GB, free: 31.92 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.6248, allocations: 2.132 MB / 0.5901 GB, free: 29.75 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.6253, allocations: 1.188 MB / 0.5913 GB, free: 28.54 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005733/0.6259, allocations: 377.9 kB / 0.5916 GB, free: 28.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.6261, allocations: 155.3 kB / 0.5918 GB, free: 28.01 MB / 462.3 MB Notification: Performance of SimCode: time 3.8e-07/0.6261, allocations: 0 / 0.5918 GB, free: 28.01 MB / 462.3 MB Notification: Performance of Templates: time 0.01101/0.6371, allocations: 4.828 MB / 0.5965 GB, free: 23.21 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches