Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 112.3 kB / 17.74 MB, free: 5.34 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.001205/0.001205, allocations: 187 kB / 18.67 MB, free: 4.414 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.521/1.521, allocations: 222.9 MB / 242.4 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.221/1.221, allocations: 119.3 MB / 411.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 62.77 kB / 0.5716 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1933, allocations: 80.7 MB / 0.6504 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.003242/0.1966, allocations: 1.581 MB / 0.6519 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1982, allocations: 0.8885 MB / 0.6528 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.1982, allocations: 0 / 0.6528 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0008911/0.1991, allocations: 0.9004 MB / 0.6537 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0006358/0.1998, allocations: 0.5261 MB / 0.6542 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.2001, allocations: 103.4 kB / 0.6543 GB, free: 9.062 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009162/0.201, allocations: 1.166 MB / 0.6554 GB, free: 7.895 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.2011, allocations: 11.97 kB / 0.6554 GB, free: 7.883 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.2017, allocations: 0.5809 MB / 0.656 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008604/0.2025, allocations: 1.041 MB / 0.657 GB, free: 6.258 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.2027, allocations: 64 kB / 0.6571 GB, free: 6.195 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.2029, allocations: 107.9 kB / 0.6572 GB, free: 6.09 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002352/0.2053, allocations: 2.501 MB / 0.6596 GB, free: 3.582 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.2064, allocations: 1.431 MB / 0.661 GB, free: 2.137 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.2089, allocations: 3.17 MB / 0.6641 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2089, allocations: 4 kB / 0.6641 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2089, allocations: 0 / 0.6641 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.148e-05/0.209, allocations: 0 / 0.6641 GB, free: 14.95 MB / 0.5139 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.005975/0.215, allocations: 5.187 MB / 0.6692 GB, free: 9.668 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.215, allocations: 11.89 kB / 0.6692 GB, free: 9.656 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006365/0.2157, allocations: 0.5599 MB / 0.6697 GB, free: 9.09 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.2265, allocations: 6.559 MB / 0.6761 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.2266, allocations: 384 / 0.6761 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.2266, allocations: 8.125 kB / 0.6761 GB, free: 2.441 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.2268, allocations: 49.66 kB / 0.6762 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2269, allocations: 0 / 0.6762 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2269, allocations: 0 / 0.6762 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2269, allocations: 4 kB / 0.6762 GB, free: 2.383 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.227, allocations: 12 kB / 0.6762 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.2298, allocations: 1.859 MB / 0.678 GB, free: 476 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.23, allocations: 54.55 kB / 0.6781 GB, free: 412 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.79e-05/0.2301, allocations: 24.78 kB / 0.6781 GB, free: 384 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.2301, allocations: 0 / 0.6781 GB, free: 384 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.2303, allocations: 67.39 kB / 0.6782 GB, free: 304 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.2304, allocations: 0 / 0.6782 GB, free: 304 kB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.001337/0.2317, allocations: 0.6584 MB / 0.6788 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.2318, allocations: 51.41 kB / 0.6789 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008024/0.2398, allocations: 6.439 MB / 0.6851 GB, free: 9.164 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2399, allocations: 25.7 kB / 0.6852 GB, free: 9.133 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002492/0.2424, allocations: 2.676 MB / 0.6878 GB, free: 6.453 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.2425, allocations: 15.75 kB / 0.6878 GB, free: 6.438 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.2425, allocations: 17.72 kB / 0.6878 GB, free: 6.414 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2427, allocations: 314 kB / 0.6881 GB, free: 6.102 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/0.2428, allocations: 12 kB / 0.6881 GB, free: 6.09 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.2429, allocations: 25.7 kB / 0.6881 GB, free: 6.059 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.243, allocations: 53.89 kB / 0.6882 GB, free: 6 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.243, allocations: 0 / 0.6882 GB, free: 6 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001016/0.244, allocations: 0.6426 MB / 0.6888 GB, free: 5.344 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2441, allocations: 8 kB / 0.6888 GB, free: 5.336 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2441, allocations: 0 / 0.6888 GB, free: 5.336 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.2441, allocations: 0 / 0.6888 GB, free: 5.336 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.2442, allocations: 11.94 kB / 0.6888 GB, free: 5.324 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.2442, allocations: 11.92 kB / 0.6889 GB, free: 5.312 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.2447, allocations: 23.91 kB / 0.6889 GB, free: 5.289 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2447, allocations: 8.031 kB / 0.6889 GB, free: 5.281 MB / 0.5295 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.00156/0.2463, allocations: 1.279 MB / 0.6901 GB, free: 3.992 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005606/0.2469, allocations: 0.5902 MB / 0.6907 GB, free: 3.395 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006615/0.2475, allocations: 0.6481 MB / 0.6913 GB, free: 2.742 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2475, allocations: 0 / 0.6913 GB, free: 2.742 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2475, allocations: 0 / 0.6913 GB, free: 2.742 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2476, allocations: 4 kB / 0.6913 GB, free: 2.738 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.2494, allocations: 2.031 MB / 0.6933 GB, free: 0.6602 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2495, allocations: 0 / 0.6933 GB, free: 0.6602 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.2495, allocations: 4 kB / 0.6933 GB, free: 0.6562 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2495, allocations: 4 kB / 0.6933 GB, free: 0.6523 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2495, allocations: 3.984 kB / 0.6933 GB, free: 0.6484 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2495, allocations: 4 kB / 0.6933 GB, free: 0.6445 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2495, allocations: 0 / 0.6933 GB, free: 0.6445 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/0.2503, allocations: 0.7218 MB / 0.6941 GB, free: 15.9 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007577/0.2511, allocations: 0.5093 MB / 0.6945 GB, free: 15.36 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.2513, allocations: 16 kB / 0.6946 GB, free: 15.35 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.2516, allocations: 28.11 kB / 0.6946 GB, free: 15.32 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.2517, allocations: 4 kB / 0.6946 GB, free: 15.32 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.2517, allocations: 8 kB / 0.6946 GB, free: 15.31 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005372/0.2571, allocations: 4.42 MB / 0.6989 GB, free: 10.93 MB / 0.5452 GB Notification: Performance of sort global known variables: time 6.01e-07/0.2571, allocations: 0 / 0.6989 GB, free: 10.93 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0006141/0.2577, allocations: 172 kB / 0.6991 GB, free: 10.76 MB / 0.5452 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.001037/0.2588, allocations: 398.4 kB / 0.6995 GB, free: 10.52 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.259, allocations: 47.92 kB / 0.6995 GB, free: 10.47 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.259, allocations: 0 / 0.6995 GB, free: 10.47 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.2591, allocations: 19.98 kB / 0.6995 GB, free: 10.45 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.2603, allocations: 467.7 kB / 0.7 GB, free: 9.996 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.2725, allocations: 8.652 MB / 0.7084 GB, free: 1.309 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002512/0.2751, allocations: 2.744 MB / 0.7111 GB, free: 14.54 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.2761, allocations: 0.5577 MB / 0.7116 GB, free: 13.98 MB / 0.5608 GB Notification: Performance of SimCode: time 8.11e-07/0.2761, allocations: 0 / 0.7116 GB, free: 13.98 MB / 0.5608 GB Notification: Performance of Templates: time 0.9508/1.227, allocations: 138.1 MB / 0.8465 GB, free: 53.05 MB / 0.6079 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches