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.001216/0.001216, allocations: 103.2 kB / 17.06 MB, free: 6.117 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.001267/0.001267, allocations: 198.9 kB / 18 MB, free: 5.195 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.452/1.452, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.134/1.134, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 65.97 kB / 0.5709 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1934, allocations: 80.7 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003336/0.1968, allocations: 1.558 MB / 0.6512 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1985, allocations: 0.8885 MB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.073e-05/0.1986, allocations: 3.938 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.199, allocations: 59.73 kB / 0.6521 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.1994, allocations: 107.6 kB / 0.6522 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.1997, allocations: 103.6 kB / 0.6523 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1999, allocations: 127.6 kB / 0.6525 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.2, allocations: 11.98 kB / 0.6525 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.2001, allocations: 63.75 kB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.2003, allocations: 59.7 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.2003, allocations: 4 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.2004, allocations: 39.98 kB / 0.6526 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.2005, allocations: 71.8 kB / 0.6527 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.2006, allocations: 51.55 kB / 0.6528 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.2009, allocations: 163.3 kB / 0.6529 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2009, allocations: 0 / 0.6529 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2009, allocations: 0 / 0.6529 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.2009, allocations: 4 kB / 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.0007118/0.2016, allocations: 490.2 kB / 0.6534 GB, free: 9.242 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2017, allocations: 8.031 kB / 0.6534 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.2017, allocations: 16.75 kB / 0.6534 GB, free: 9.219 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.2023, allocations: 343.3 kB / 0.6537 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2023, allocations: 384 / 0.6537 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.2023, allocations: 8.125 kB / 0.6537 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.2025, allocations: 53.61 kB / 0.6538 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2025, allocations: 7.938 kB / 0.6538 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2025, allocations: 0 / 0.6538 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2025, allocations: 0 / 0.6538 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.89e-05/0.2026, allocations: 15.98 kB / 0.6538 GB, free: 8.754 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.2029, allocations: 209.6 kB / 0.654 GB, free: 8.5 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.2031, allocations: 62.59 kB / 0.6541 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.2031, allocations: 24.8 kB / 0.6541 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2032, allocations: 3.984 kB / 0.6541 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.2033, allocations: 71.33 kB / 0.6542 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.2033, allocations: 0 / 0.6542 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0003222/0.2037, allocations: 101.4 kB / 0.6543 GB, free: 8.211 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.2037, allocations: 51.41 kB / 0.6543 GB, free: 8.148 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.204, allocations: 282.7 kB / 0.6546 GB, free: 7.859 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.204, allocations: 25.7 kB / 0.6546 GB, free: 7.828 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2042, allocations: 136.1 kB / 0.6547 GB, free: 7.691 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.2042, allocations: 11.81 kB / 0.6547 GB, free: 7.68 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.2042, allocations: 17.72 kB / 0.6548 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2044, allocations: 338.8 kB / 0.6551 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.2044, allocations: 19.92 kB / 0.6551 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.2045, allocations: 21.72 kB / 0.6551 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.2046, allocations: 49.7 kB / 0.6552 GB, free: 7.215 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2046, allocations: 0 / 0.6552 GB, free: 7.215 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001638/0.2048, allocations: 93.38 kB / 0.6553 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2048, allocations: 4 kB / 0.6553 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.2048, allocations: 3.984 kB / 0.6553 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2049, allocations: 0 / 0.6553 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.2049, allocations: 12 kB / 0.6553 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.205, allocations: 4.031 kB / 0.6553 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.852e-05/0.205, allocations: 8.156 kB / 0.6553 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.205, allocations: 4 kB / 0.6553 GB, free: 7.082 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.0001373/0.2052, allocations: 154.6 kB / 0.6554 GB, free: 6.922 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.2052, allocations: 19.81 kB / 0.6555 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.297e-05/0.2053, allocations: 25.3 kB / 0.6555 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2053, allocations: 4 kB / 0.6555 GB, free: 6.871 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2053, allocations: 0 / 0.6555 GB, free: 6.871 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2053, allocations: 3.938 kB / 0.6555 GB, free: 6.867 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.2055, allocations: 221.5 kB / 0.6557 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2055, allocations: 4 kB / 0.6557 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.2055, allocations: 0 / 0.6557 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2055, allocations: 4 kB / 0.6557 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2056, allocations: 3.984 kB / 0.6557 GB, free: 6.59 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2056, allocations: 0 / 0.6557 GB, free: 6.59 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2056, allocations: 0 / 0.6557 GB, free: 6.59 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.2058, allocations: 116.8 kB / 0.6558 GB, free: 6.457 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.2058, allocations: 104.8 kB / 0.6559 GB, free: 6.336 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.2059, allocations: 0 / 0.6559 GB, free: 6.336 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.2059, allocations: 11.92 kB / 0.6559 GB, free: 6.324 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.206, allocations: 3.938 kB / 0.6559 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.206, allocations: 8 kB / 0.656 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0002037/0.2062, allocations: 205.9 kB / 0.6561 GB, free: 6.113 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2062, allocations: 0 / 0.6561 GB, free: 6.113 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002166/0.2064, allocations: 15.98 kB / 0.6562 GB, free: 6.098 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.0009466/0.2074, allocations: 407.2 kB / 0.6566 GB, free: 5.852 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.2076, allocations: 39.92 kB / 0.6566 GB, free: 5.812 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2076, allocations: 3.938 kB / 0.6566 GB, free: 5.809 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.362e-05/0.2076, allocations: 23.92 kB / 0.6566 GB, free: 5.785 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.2079, allocations: 44.73 kB / 0.6567 GB, free: 5.738 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/0.2085, allocations: 316.1 kB / 0.657 GB, free: 5.402 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.2088, allocations: 0.7397 MB / 0.6577 GB, free: 4.633 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 9.092e-05/0.2089, allocations: 37.5 kB / 0.6577 GB, free: 4.594 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.209, allocations: 35.42 kB / 0.6578 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of SimCode: time 2.7e-07/0.209, allocations: 0 / 0.6578 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of Templates: time 0.004951/0.214, allocations: 1.709 MB / 0.6594 GB, free: 2.863 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches