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.001089/0.001089, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.001287/0.001287, allocations: 187.8 kB / 17.2 MB, free: 5.91 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.527/1.527, allocations: 223.2 MB / 241.1 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.097/1.097, allocations: 120.5 MB / 412.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003573, allocations: 8 kB / 0.4941 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2137, allocations: 82.84 MB / 0.575 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002244/0.216, allocations: 1.247 MB / 0.5763 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2176, allocations: 0.7997 MB / 0.577 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.2177, allocations: 4 kB / 0.577 GB, free: 6.078 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.2181, allocations: 59.84 kB / 0.5771 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.2185, allocations: 91.7 kB / 0.5772 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.2189, allocations: 87.77 kB / 0.5773 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.2191, allocations: 83.83 kB / 0.5774 GB, free: 5.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.472e-05/0.2192, allocations: 15.97 kB / 0.5774 GB, free: 5.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.2194, allocations: 55.83 kB / 0.5774 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.2195, allocations: 55.75 kB / 0.5775 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.2196, allocations: 4 kB / 0.5775 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.2197, allocations: 23.94 kB / 0.5775 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.2198, allocations: 63.86 kB / 0.5776 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.2199, allocations: 45.58 kB / 0.5776 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.2201, allocations: 119.9 kB / 0.5777 GB, free: 5.379 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.2201, allocations: 0 / 0.5777 GB, free: 5.379 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2202, allocations: 0 / 0.5777 GB, free: 5.379 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.2202, allocations: 0 / 0.5777 GB, free: 5.379 MB / 446.1 MB 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.0007683/0.2209, allocations: 476.4 kB / 0.5782 GB, free: 4.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.221, allocations: 12.03 kB / 0.5782 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.2211, allocations: 19.77 kB / 0.5782 GB, free: 4.836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.2216, allocations: 334.1 kB / 0.5785 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.2217, allocations: 0 / 0.5785 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2217, allocations: 0 / 0.5785 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.2218, allocations: 49.67 kB / 0.5786 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.2219, allocations: 0 / 0.5786 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2219, allocations: 0 / 0.5786 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.2219, allocations: 3.953 kB / 0.5786 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.222, allocations: 15.98 kB / 0.5786 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.2223, allocations: 213.7 kB / 0.5788 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.2224, allocations: 54.56 kB / 0.5789 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.2225, allocations: 0 / 0.5789 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.2227, allocations: 59.48 kB / 0.5789 GB, free: 4.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 4.258e-06/0.2227, allocations: 4 kB / 0.5789 GB, free: 4 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003358/0.2231, allocations: 109.4 kB / 0.579 GB, free: 3.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.2231, allocations: 51.41 kB / 0.5791 GB, free: 3.824 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.2234, allocations: 282.6 kB / 0.5793 GB, free: 3.539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2235, allocations: 29.7 kB / 0.5794 GB, free: 3.504 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2236, allocations: 132.1 kB / 0.5795 GB, free: 3.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.2236, allocations: 11.91 kB / 0.5795 GB, free: 3.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.2236, allocations: 0 / 0.5795 GB, free: 3.359 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2238, allocations: 338.8 kB / 0.5798 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.265e-05/0.2238, allocations: 16 kB / 0.5798 GB, free: 3.004 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.2239, allocations: 29.69 kB / 0.5799 GB, free: 2.969 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.598e-05/0.224, allocations: 12 kB / 0.5799 GB, free: 2.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.224, allocations: 3.938 kB / 0.5799 GB, free: 2.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001941/0.2242, allocations: 101.3 kB / 0.58 GB, free: 2.848 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2242, allocations: 4 kB / 0.58 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2242, allocations: 4.031 kB / 0.58 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2243, allocations: 4 kB / 0.58 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.2243, allocations: 8 kB / 0.58 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2244, allocations: 0 / 0.58 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.656e-05/0.2244, allocations: 15.88 kB / 0.58 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2244, allocations: 0 / 0.58 GB, free: 2.812 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.2246, allocations: 146.1 kB / 0.5802 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.2246, allocations: 19.72 kB / 0.5802 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.2247, allocations: 29.23 kB / 0.5802 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2247, allocations: 4 kB / 0.5802 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2247, allocations: 4 kB / 0.5802 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2247, allocations: 7.969 kB / 0.5802 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.225, allocations: 213.6 kB / 0.5804 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.225, allocations: 3.984 kB / 0.5804 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.225, allocations: 4 kB / 0.5804 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.225, allocations: 0 / 0.5804 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.225, allocations: 0 / 0.5804 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.225, allocations: 160 / 0.5804 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.225, allocations: 0 / 0.5804 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.2253, allocations: 128.8 kB / 0.5805 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.2254, allocations: 100.9 kB / 0.5806 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2254, allocations: 0 / 0.5806 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.86e-05/0.2254, allocations: 4 kB / 0.5806 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.2255, allocations: 7.922 kB / 0.5807 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2255, allocations: 4 kB / 0.5807 GB, free: 2.051 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.2257, allocations: 201.9 kB / 0.5809 GB, free: 1.852 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2257, allocations: 4 kB / 0.5809 GB, free: 1.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.226, allocations: 20 kB / 0.5809 GB, free: 1.828 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.227, allocations: 408.1 kB / 0.5813 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.2271, allocations: 43.97 kB / 0.5813 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2272, allocations: 0 / 0.5813 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.291e-05/0.2272, allocations: 19.94 kB / 0.5813 GB, free: 1.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.2275, allocations: 33.94 kB / 0.5814 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.2281, allocations: 351.1 kB / 0.5817 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.2285, allocations: 0.7401 MB / 0.5824 GB, free: 360 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.2286, allocations: 37.52 kB / 0.5825 GB, free: 324 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.2287, allocations: 31.42 kB / 0.5825 GB, free: 292 kB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2287, allocations: 0 / 0.5825 GB, free: 292 kB / 446.1 MB Notification: Performance of Templates: time 0.6333/0.862, allocations: 1.604 MB / 0.584 GB, free: 15.52 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches