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.001122/0.001122, allocations: 112.1 kB / 17.06 MB, free: 5.824 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.001221/0.001221, allocations: 191.8 kB / 18 MB, free: 4.977 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.512/1.512, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.091/1.091, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 66.62 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2018, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125): time 0.003458/0.2053, allocations: 1.581 MB / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2072, allocations: 0.8885 MB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.2074, allocations: 4 kB / 0.6521 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.2079, allocations: 255.5 kB / 0.6524 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005486/0.2085, allocations: 207.5 kB / 0.6526 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.2089, allocations: 111.3 kB / 0.6527 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000547/0.2095, allocations: 377.4 kB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.29e-05/0.2096, allocations: 11.97 kB / 0.653 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.21, allocations: 193.6 kB / 0.6532 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.2104, allocations: 295.5 kB / 0.6535 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.2105, allocations: 20 kB / 0.6535 GB, free: 9.141 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.2106, allocations: 51.98 kB / 0.6536 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0008478/0.2115, allocations: 0.6332 MB / 0.6542 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000502/0.212, allocations: 388.2 kB / 0.6546 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2131, allocations: 0.8626 MB / 0.6554 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2131, allocations: 0 / 0.6554 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2131, allocations: 0 / 0.6554 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.759e-05/0.2132, allocations: 4 kB / 0.6554 GB, free: 7.203 MB / 0.4983 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.002663/0.2158, allocations: 1.587 MB / 0.657 GB, free: 5.555 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.2159, allocations: 11.89 kB / 0.657 GB, free: 5.543 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.2162, allocations: 151 kB / 0.6571 GB, free: 5.395 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.2193, allocations: 1.773 MB / 0.6588 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2193, allocations: 384 / 0.6588 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.2193, allocations: 4.125 kB / 0.6588 GB, free: 3.543 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.2196, allocations: 53.67 kB / 0.6589 GB, free: 3.484 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2196, allocations: 4 kB / 0.6589 GB, free: 3.48 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2196, allocations: 0 / 0.6589 GB, free: 3.48 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2196, allocations: 0 / 0.6589 GB, free: 3.48 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.351e-05/0.2197, allocations: 23.91 kB / 0.6589 GB, free: 3.457 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005678/0.2203, allocations: 0.5861 MB / 0.6595 GB, free: 2.812 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.2205, allocations: 50.62 kB / 0.6595 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.2205, allocations: 32.72 kB / 0.6596 GB, free: 2.719 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2206, allocations: 0 / 0.6596 GB, free: 2.719 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.2207, allocations: 63.39 kB / 0.6596 GB, free: 2.645 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.2207, allocations: 4 kB / 0.6596 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.000411/0.2211, allocations: 235.6 kB / 0.6599 GB, free: 2.402 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.2212, allocations: 59.39 kB / 0.6599 GB, free: 2.332 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.2232, allocations: 1.716 MB / 0.6616 GB, free: 0.5664 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.2232, allocations: 25.7 kB / 0.6616 GB, free: 0.5352 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006335/0.2238, allocations: 0.6728 MB / 0.6623 GB, free: 15.85 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.2239, allocations: 7.906 kB / 0.6623 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.2239, allocations: 21.7 kB / 0.6623 GB, free: 15.82 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0002241/0.2242, allocations: 310 kB / 0.6626 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.998e-05/0.2242, allocations: 15.98 kB / 0.6626 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.2243, allocations: 33.62 kB / 0.6627 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.057e-05/0.2244, allocations: 45.64 kB / 0.6627 GB, free: 15.41 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2244, allocations: 0 / 0.6627 GB, free: 15.41 MB / 0.5139 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002557/0.2247, allocations: 227.6 kB / 0.6629 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2247, allocations: 4 kB / 0.6629 GB, free: 15.17 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2247, allocations: 7.938 kB / 0.6629 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2247, allocations: 3.984 kB / 0.6629 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.2248, allocations: 8 kB / 0.6629 GB, free: 15.15 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.2248, allocations: 4.031 kB / 0.6629 GB, free: 15.15 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.2249, allocations: 11.91 kB / 0.6629 GB, free: 15.14 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.225, allocations: 0 / 0.6629 GB, free: 15.14 MB / 0.5139 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.0004027/0.2254, allocations: 426.3 kB / 0.6634 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.2255, allocations: 154 kB / 0.6635 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.2257, allocations: 178.9 kB / 0.6637 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2257, allocations: 4.312 kB / 0.6637 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2257, allocations: 0 / 0.6637 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2257, allocations: 0 / 0.6637 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.2263, allocations: 0.6368 MB / 0.6643 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.2264, allocations: 3.984 kB / 0.6643 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.2264, allocations: 0 / 0.6643 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.2264, allocations: 4 kB / 0.6643 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.2264, allocations: 3.938 kB / 0.6643 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2264, allocations: 0 / 0.6643 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2264, allocations: 0 / 0.6643 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.2268, allocations: 264 kB / 0.6646 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.227, allocations: 199.1 kB / 0.6648 GB, free: 13.17 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/0.2271, allocations: 11.98 kB / 0.6648 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.2272, allocations: 4 kB / 0.6648 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.2272, allocations: 4 kB / 0.6648 GB, free: 13.15 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2272, allocations: 7.938 kB / 0.6648 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001528/0.2288, allocations: 1.187 MB / 0.6659 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2288, allocations: 4 kB / 0.6659 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002824/0.2291, allocations: 56 kB / 0.666 GB, free: 11.88 MB / 0.5139 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.001002/0.2301, allocations: 406.6 kB / 0.6664 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001668/0.2302, allocations: 47.92 kB / 0.6664 GB, free: 11.58 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2303, allocations: 0 / 0.6664 GB, free: 11.58 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 5.682e-05/0.2303, allocations: 16 kB / 0.6664 GB, free: 11.56 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.2308, allocations: 146.4 kB / 0.6666 GB, free: 11.41 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.2337, allocations: 2.12 MB / 0.6687 GB, free: 9.262 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/0.2346, allocations: 1.199 MB / 0.6698 GB, free: 8.035 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0006653/0.2352, allocations: 369.9 kB / 0.6702 GB, free: 7.668 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.2355, allocations: 155.3 kB / 0.6703 GB, free: 7.516 MB / 0.5139 GB Notification: Performance of SimCode: time 3.11e-07/0.2355, allocations: 4 kB / 0.6703 GB, free: 7.512 MB / 0.5139 GB Notification: Performance of Templates: time 0.01382/0.2494, allocations: 4.835 MB / 0.6751 GB, free: 2.699 MB / 0.5139 GB 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_125_res.mat","/var/lib/jenkins/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