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.001218/0.001217, allocations: 110.9 kB / 17.07 MB, free: 6.016 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.00136/0.00136, allocations: 191.7 kB / 18 MB, free: 5.098 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.43/1.43, allocations: 222.9 MB / 241.7 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 1.341/1.341, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 66.09 kB / 0.5709 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2113, allocations: 80.69 MB / 0.6497 GB, free: 13.12 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002763/0.2141, allocations: 1.392 MB / 0.651 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2152, allocations: 0.5636 MB / 0.6516 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.2153, allocations: 0 / 0.6516 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.2156, allocations: 23.91 kB / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.2159, allocations: 59.8 kB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.2162, allocations: 79.8 kB / 0.6518 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.2164, allocations: 95.75 kB / 0.6518 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.2165, allocations: 4 kB / 0.6518 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.2166, allocations: 47.81 kB / 0.6519 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.2167, allocations: 43.91 kB / 0.6519 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.2168, allocations: 4 kB / 0.6519 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.2169, allocations: 79.92 kB / 0.652 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.2171, allocations: 63.81 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.182e-05/0.2171, allocations: 51.59 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.2174, allocations: 151.3 kB / 0.6523 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2174, allocations: 4 kB / 0.6523 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2174, allocations: 0 / 0.6523 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2174, allocations: 0 / 0.6523 GB, free: 10.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000628/0.2181, allocations: 496 kB / 0.6527 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2181, allocations: 19.81 kB / 0.6528 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.2182, allocations: 16.84 kB / 0.6528 GB, free: 9.879 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.2186, allocations: 309 kB / 0.6531 GB, free: 9.535 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2187, allocations: 384 / 0.6531 GB, free: 9.535 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2187, allocations: 4.375 kB / 0.6531 GB, free: 9.531 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.2188, allocations: 54 kB / 0.6531 GB, free: 9.473 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2188, allocations: 0 / 0.6531 GB, free: 9.473 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.2189, allocations: 4 kB / 0.6531 GB, free: 9.469 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2189, allocations: 4 kB / 0.6531 GB, free: 9.465 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.835e-05/0.2189, allocations: 23.92 kB / 0.6532 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.2192, allocations: 209.6 kB / 0.6534 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 7.993e-05/0.2193, allocations: 34.58 kB / 0.6534 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.2193, allocations: 32.89 kB / 0.6534 GB, free: 9.109 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.2194, allocations: 0 / 0.6534 GB, free: 9.109 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.2195, allocations: 109.1 kB / 0.6535 GB, free: 8.984 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.083e-06/0.2195, allocations: 4 kB / 0.6535 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003577/0.2199, allocations: 163.2 kB / 0.6537 GB, free: 8.809 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.22, allocations: 85.11 kB / 0.6538 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.2202, allocations: 232.2 kB / 0.654 GB, free: 8.469 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2203, allocations: 25.7 kB / 0.654 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.2204, allocations: 120.1 kB / 0.6541 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.2204, allocations: 11.91 kB / 0.6541 GB, free: 8.305 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.2205, allocations: 33.7 kB / 0.6542 GB, free: 8.266 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2206, allocations: 330.8 kB / 0.6545 GB, free: 7.934 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.2207, allocations: 15.98 kB / 0.6545 GB, free: 7.918 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.2207, allocations: 23.94 kB / 0.6545 GB, free: 7.895 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.2208, allocations: 104.2 kB / 0.6546 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2208, allocations: 0 / 0.6546 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001907/0.221, allocations: 159.2 kB / 0.6548 GB, free: 7.609 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.2211, allocations: 37.69 kB / 0.6548 GB, free: 7.566 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2211, allocations: 0 / 0.6548 GB, free: 7.566 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2211, allocations: 4 kB / 0.6548 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.2212, allocations: 4 kB / 0.6548 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2212, allocations: 0 / 0.6548 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.2212, allocations: 4 kB / 0.6548 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.2213, allocations: 12 kB / 0.6548 GB, free: 7.543 MB / 0.4983 GB 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.0001456/0.2214, allocations: 172.9 kB / 0.655 GB, free: 7.359 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.2215, allocations: 23.8 kB / 0.655 GB, free: 7.336 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.2215, allocations: 17.41 kB / 0.655 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2215, allocations: 4 kB / 0.655 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.2215, allocations: 7.984 kB / 0.6551 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2215, allocations: 0 / 0.6551 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.2217, allocations: 217.5 kB / 0.6553 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2217, allocations: 0 / 0.6553 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.2218, allocations: 7.938 kB / 0.6553 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2218, allocations: 0 / 0.6553 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2218, allocations: 4 kB / 0.6553 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2218, allocations: 0 / 0.6553 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2218, allocations: 144 / 0.6553 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.2221, allocations: 206.6 kB / 0.6555 GB, free: 6.805 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.2222, allocations: 104.9 kB / 0.6556 GB, free: 6.684 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.2222, allocations: 4 kB / 0.6556 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.2222, allocations: 0 / 0.6556 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.2223, allocations: 15.92 kB / 0.6556 GB, free: 6.664 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2223, allocations: 12 kB / 0.6556 GB, free: 6.652 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001506/0.2224, allocations: 173.6 kB / 0.6558 GB, free: 6.484 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2225, allocations: 0 / 0.6558 GB, free: 6.484 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002324/0.2227, allocations: 35.94 kB / 0.6558 GB, free: 6.449 MB / 0.4983 GB 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.0001841/0.2229, allocations: 130.9 kB / 0.6559 GB, free: 6.316 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.2231, allocations: 139.3 kB / 0.6561 GB, free: 6.168 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2231, allocations: 4 kB / 0.6561 GB, free: 6.164 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.2233, allocations: 107.4 kB / 0.6562 GB, free: 6.047 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.2235, allocations: 24.66 kB / 0.6562 GB, free: 6.02 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.2241, allocations: 295.1 kB / 0.6565 GB, free: 5.707 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.2244, allocations: 0.7316 MB / 0.6572 GB, free: 4.949 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.197e-05/0.2245, allocations: 25.62 kB / 0.6572 GB, free: 4.922 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.2245, allocations: 15.44 kB / 0.6572 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of SimCode: time 2.2e-07/0.2246, allocations: 0 / 0.6572 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of Templates: time 0.004499/0.2291, allocations: 1.361 MB / 0.6585 GB, free: 3.551 MB / 0.4983 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches