Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.00131/0.00131, allocations: 107 kB / 17.06 MB, free: 6.023 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.00127/0.00127, allocations: 191 kB / 18 MB, free: 5.105 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.051/1.051, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 73.7 kB / 0.5709 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1937, allocations: 80.69 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003268/0.197, allocations: 1.554 MB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1986, allocations: 0.8924 MB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.1987, allocations: 3.938 kB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.199, allocations: 55.73 kB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.1994, allocations: 107.6 kB / 0.6522 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1997, allocations: 111.6 kB / 0.6523 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.1999, allocations: 127.6 kB / 0.6525 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.698e-05/0.2, allocations: 15.97 kB / 0.6525 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.2002, allocations: 63.75 kB / 0.6525 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2003, allocations: 63.7 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.2003, allocations: 7.984 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.2004, allocations: 28 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.2006, allocations: 71.8 kB / 0.6527 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.2007, allocations: 55.55 kB / 0.6528 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.2009, allocations: 151.4 kB / 0.6529 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2009, allocations: 0 / 0.6529 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.92e-06/0.2009, allocations: 0 / 0.6529 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.2009, allocations: 7.938 kB / 0.6529 GB, free: 9.797 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.0006553/0.2016, allocations: 490.2 kB / 0.6534 GB, free: 9.27 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2016, allocations: 12.03 kB / 0.6534 GB, free: 9.258 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.2017, allocations: 20.75 kB / 0.6534 GB, free: 9.238 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.2022, allocations: 339.3 kB / 0.6537 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2022, allocations: 384 / 0.6537 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.2022, allocations: 8.125 kB / 0.6537 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.2024, allocations: 57.61 kB / 0.6538 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2024, allocations: 0 / 0.6538 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2024, allocations: 0 / 0.6538 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2024, allocations: 0 / 0.6538 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.754e-05/0.2025, allocations: 19.92 kB / 0.6538 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.2027, allocations: 213.7 kB / 0.654 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.2029, allocations: 50.62 kB / 0.6541 GB, free: 8.461 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.203, allocations: 24.78 kB / 0.6541 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.203, allocations: 0 / 0.6541 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.2032, allocations: 71.33 kB / 0.6542 GB, free: 8.352 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.2032, allocations: 0 / 0.6542 GB, free: 8.352 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0002778/0.2034, allocations: 105.4 kB / 0.6543 GB, free: 8.242 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.2035, allocations: 55.34 kB / 0.6543 GB, free: 8.176 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.2038, allocations: 278.7 kB / 0.6546 GB, free: 7.891 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2038, allocations: 25.7 kB / 0.6546 GB, free: 7.859 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.2039, allocations: 136.1 kB / 0.6547 GB, free: 7.723 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.2039, allocations: 19.8 kB / 0.6548 GB, free: 7.703 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.204, allocations: 21.72 kB / 0.6548 GB, free: 7.676 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2041, allocations: 334.8 kB / 0.6551 GB, free: 7.34 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.2041, allocations: 12 kB / 0.6551 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.2042, allocations: 29.64 kB / 0.6551 GB, free: 7.293 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.2043, allocations: 45.95 kB / 0.6552 GB, free: 7.242 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2043, allocations: 4 kB / 0.6552 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000154/0.2045, allocations: 93.38 kB / 0.6553 GB, free: 7.141 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2045, allocations: 8 kB / 0.6553 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2045, allocations: 0 / 0.6553 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2045, allocations: 0 / 0.6553 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.2046, allocations: 12 kB / 0.6553 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2046, allocations: 8.125 kB / 0.6553 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.867e-05/0.2047, allocations: 11.84 kB / 0.6553 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.2047, allocations: 4 kB / 0.6553 GB, free: 7.098 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.0001249/0.2048, allocations: 150.7 kB / 0.6555 GB, free: 6.941 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2049, allocations: 15.81 kB / 0.6555 GB, free: 6.926 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.2049, allocations: 25.3 kB / 0.6555 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2049, allocations: 0 / 0.6555 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2049, allocations: 3.938 kB / 0.6555 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2049, allocations: 0 / 0.6555 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.2051, allocations: 221.5 kB / 0.6557 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2051, allocations: 0 / 0.6557 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.2051, allocations: 4 kB / 0.6557 GB, free: 6.625 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2052, allocations: 0 / 0.6557 GB, free: 6.625 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2052, allocations: 3.984 kB / 0.6557 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2052, allocations: 8 kB / 0.6557 GB, free: 6.613 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2052, allocations: 0 / 0.6557 GB, free: 6.613 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.2054, allocations: 120.8 kB / 0.6558 GB, free: 6.477 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.2054, allocations: 100.8 kB / 0.6559 GB, free: 6.359 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.2055, allocations: 4 kB / 0.6559 GB, free: 6.355 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.2055, allocations: 4.125 kB / 0.6559 GB, free: 6.352 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.2056, allocations: 4 kB / 0.6559 GB, free: 6.348 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.2056, allocations: 11.98 kB / 0.656 GB, free: 6.336 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001726/0.2058, allocations: 201.9 kB / 0.6562 GB, free: 6.141 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2058, allocations: 0 / 0.6562 GB, free: 6.141 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002098/0.206, allocations: 20 kB / 0.6562 GB, free: 6.121 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.0009/0.2069, allocations: 404.8 kB / 0.6566 GB, free: 5.875 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.2071, allocations: 39.98 kB / 0.6566 GB, free: 5.836 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2071, allocations: 0 / 0.6566 GB, free: 5.836 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.461e-05/0.2071, allocations: 27.98 kB / 0.6566 GB, free: 5.809 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.2074, allocations: 41 kB / 0.6567 GB, free: 5.766 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.208, allocations: 328 kB / 0.657 GB, free: 5.418 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.2083, allocations: 0.7397 MB / 0.6577 GB, free: 4.648 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 9.395e-05/0.2084, allocations: 37.52 kB / 0.6577 GB, free: 4.609 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.2084, allocations: 23.42 kB / 0.6578 GB, free: 4.586 MB / 0.4983 GB Notification: Performance of SimCode: time 2.51e-07/0.2084, allocations: 0 / 0.6578 GB, free: 4.586 MB / 0.4983 GB Notification: Performance of Templates: time 0.004638/0.2131, allocations: 1.713 MB / 0.6594 GB, free: 2.887 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches