Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 112.8 kB / 17.07 MB, free: 5.992 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.002147/0.002147, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.715/1.715, 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.411/1.411, allocations: 119.3 MB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 61.36 kB / 0.5709 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2077, allocations: 80.7 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003113/0.2109, allocations: 1.55 MB / 0.6512 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.2124, allocations: 0.8924 MB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.2125, allocations: 0 / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.2128, allocations: 63.67 kB / 0.6521 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.2132, allocations: 107.6 kB / 0.6523 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.2135, allocations: 107.6 kB / 0.6524 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.2137, allocations: 119.7 kB / 0.6525 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.529e-05/0.2138, allocations: 19.97 kB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.2139, allocations: 71.69 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.2141, allocations: 59.75 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.2141, allocations: 4 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-05/0.2142, allocations: 31.94 kB / 0.6526 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.2143, allocations: 67.8 kB / 0.6527 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.109e-05/0.2144, allocations: 59.55 kB / 0.6528 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.2147, allocations: 151.2 kB / 0.6529 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2147, allocations: 4 kB / 0.6529 GB, free: 9.77 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2147, allocations: 0 / 0.6529 GB, free: 9.77 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.2147, allocations: 0 / 0.6529 GB, free: 9.77 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.000683/0.2154, allocations: 0.4941 MB / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2154, allocations: 11.97 kB / 0.6534 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.2155, allocations: 20.8 kB / 0.6534 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.216, allocations: 339.6 kB / 0.6538 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.216, allocations: 4.375 kB / 0.6538 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.216, allocations: 4.125 kB / 0.6538 GB, free: 8.816 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.2162, allocations: 57.67 kB / 0.6538 GB, free: 8.754 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2162, allocations: 0 / 0.6538 GB, free: 8.754 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2162, allocations: 4 kB / 0.6538 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2162, allocations: 0 / 0.6538 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.882e-05/0.2163, allocations: 15.92 kB / 0.6538 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.2166, allocations: 217.6 kB / 0.654 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.2167, allocations: 58.56 kB / 0.6541 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.2168, allocations: 24.78 kB / 0.6541 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.2168, allocations: 0 / 0.6541 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.217, allocations: 63.39 kB / 0.6542 GB, free: 8.305 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.217, allocations: 0 / 0.6542 GB, free: 8.305 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0002924/0.2173, allocations: 113.5 kB / 0.6543 GB, free: 8.188 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.2173, allocations: 51.41 kB / 0.6543 GB, free: 8.125 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.2176, allocations: 278.7 kB / 0.6546 GB, free: 7.84 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.2176, allocations: 29.7 kB / 0.6546 GB, free: 7.805 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.2177, allocations: 132.1 kB / 0.6548 GB, free: 7.672 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.2178, allocations: 11.94 kB / 0.6548 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.2178, allocations: 17.72 kB / 0.6548 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2179, allocations: 342.8 kB / 0.6551 GB, free: 7.293 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.218, allocations: 12 kB / 0.6551 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.2181, allocations: 25.7 kB / 0.6552 GB, free: 7.25 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.505e-05/0.2182, allocations: 49.64 kB / 0.6552 GB, free: 7.195 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2182, allocations: 0 / 0.6552 GB, free: 7.195 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001635/0.2183, allocations: 93.42 kB / 0.6553 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2184, allocations: 15.16 kB / 0.6553 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2184, allocations: 0 / 0.6553 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2184, allocations: 3.938 kB / 0.6553 GB, free: 7.082 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.2185, allocations: 8 kB / 0.6553 GB, free: 7.074 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.2185, allocations: 7.984 kB / 0.6553 GB, free: 7.066 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.2185, allocations: 7.891 kB / 0.6553 GB, free: 7.059 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.2186, allocations: 8.312 kB / 0.6553 GB, free: 7.051 MB / 0.4983 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.0001264/0.2187, allocations: 142.6 kB / 0.6555 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.2187, allocations: 31.84 kB / 0.6555 GB, free: 6.871 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.2188, allocations: 29.3 kB / 0.6555 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2188, allocations: 0 / 0.6555 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2188, allocations: 4 kB / 0.6555 GB, free: 6.836 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2188, allocations: 0 / 0.6555 GB, free: 6.836 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.219, allocations: 213.5 kB / 0.6557 GB, free: 6.578 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.219, allocations: 0 / 0.6557 GB, free: 6.578 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.219, allocations: 4 kB / 0.6557 GB, free: 6.574 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.219, allocations: 0 / 0.6557 GB, free: 6.574 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.2191, allocations: 7.938 kB / 0.6558 GB, free: 6.566 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2191, allocations: 0 / 0.6558 GB, free: 6.566 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2191, allocations: 0 / 0.6558 GB, free: 6.566 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.2193, allocations: 124.9 kB / 0.6559 GB, free: 6.426 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.566e-05/0.2193, allocations: 101 kB / 0.656 GB, free: 6.309 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.2194, allocations: 0 / 0.656 GB, free: 6.309 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.933e-05/0.2194, allocations: 4 kB / 0.656 GB, free: 6.305 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.2195, allocations: 7.938 kB / 0.656 GB, free: 6.297 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.2195, allocations: 7.984 kB / 0.656 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001859/0.2197, allocations: 201.9 kB / 0.6562 GB, free: 6.094 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2197, allocations: 4 kB / 0.6562 GB, free: 6.09 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002274/0.2199, allocations: 19.94 kB / 0.6562 GB, free: 6.07 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: 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.0009491/0.2209, allocations: 410.5 kB / 0.6566 GB, free: 5.82 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.221, allocations: 43.92 kB / 0.6566 GB, free: 5.777 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2211, allocations: 0 / 0.6566 GB, free: 5.777 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.077e-05/0.2211, allocations: 23.92 kB / 0.6567 GB, free: 5.754 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.2214, allocations: 32.88 kB / 0.6567 GB, free: 5.719 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.222, allocations: 327.6 kB / 0.657 GB, free: 5.371 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.2223, allocations: 0.7397 MB / 0.6577 GB, free: 4.602 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 9.515e-05/0.2224, allocations: 41.5 kB / 0.6578 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.2225, allocations: 27.42 kB / 0.6578 GB, free: 4.531 MB / 0.4983 GB Notification: Performance of SimCode: time 2.51e-07/0.2225, allocations: 0 / 0.6578 GB, free: 4.531 MB / 0.4983 GB Notification: Performance of Templates: time 0.004907/0.2274, allocations: 1.72 MB / 0.6595 GB, free: 2.824 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches