Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001259/0.001259, allocations: 108.3 kB / 17.06 MB, free: 5.824 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.001395/0.001395, allocations: 192.7 kB / 18 MB, free: 4.977 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.117/1.117, allocations: 119.3 MB / 411.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 66.8 kB / 0.5709 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1929, allocations: 80.7 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.003897/0.1968, allocations: 1.573 MB / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1985, allocations: 0.8924 MB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.171e-05/0.1986, allocations: 0 / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0009523/0.1997, allocations: 0.8965 MB / 0.653 GB, free: 9.711 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007677/0.2005, allocations: 0.5262 MB / 0.6535 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.2009, allocations: 107.4 kB / 0.6536 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001149/0.202, allocations: 1.166 MB / 0.6547 GB, free: 7.914 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.134e-05/0.2021, allocations: 11.98 kB / 0.6548 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007379/0.2028, allocations: 0.5848 MB / 0.6553 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009746/0.2038, allocations: 1.037 MB / 0.6563 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.204, allocations: 68 kB / 0.6564 GB, free: 6.211 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.2042, allocations: 91.98 kB / 0.6565 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002635/0.2068, allocations: 2.505 MB / 0.6589 GB, free: 3.609 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.208, allocations: 1.431 MB / 0.6603 GB, free: 2.164 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.2106, allocations: 3.178 MB / 0.6634 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2106, allocations: 0 / 0.6634 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2106, allocations: 0 / 0.6634 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.301e-05/0.2107, allocations: 0 / 0.6634 GB, free: 14.97 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.005646/0.2163, allocations: 5.179 MB / 0.6685 GB, free: 9.699 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.2164, allocations: 15.89 kB / 0.6685 GB, free: 9.684 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006563/0.2171, allocations: 0.556 MB / 0.6691 GB, free: 9.121 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.2277, allocations: 6.559 MB / 0.6755 GB, free: 2.48 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.2278, allocations: 8.375 kB / 0.6755 GB, free: 2.473 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.2278, allocations: 12.11 kB / 0.6755 GB, free: 2.461 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.228, allocations: 53.61 kB / 0.6755 GB, free: 2.402 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.228, allocations: 0 / 0.6755 GB, free: 2.402 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.228, allocations: 0 / 0.6755 GB, free: 2.402 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.228, allocations: 0 / 0.6755 GB, free: 2.402 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.2281, allocations: 15.98 kB / 0.6755 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.2313, allocations: 1.855 MB / 0.6774 GB, free: 496 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.2315, allocations: 50.62 kB / 0.6774 GB, free: 436 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.2316, allocations: 24.78 kB / 0.6774 GB, free: 408 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.733e-05/0.2316, allocations: 4 kB / 0.6774 GB, free: 404 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.2319, allocations: 67.33 kB / 0.6775 GB, free: 324 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 4.308e-06/0.2319, allocations: 4 kB / 0.6775 GB, free: 320 kB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.001634/0.2335, allocations: 0.6545 MB / 0.6781 GB, free: 15.64 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.2336, allocations: 51.41 kB / 0.6782 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008245/0.2419, allocations: 6.442 MB / 0.6845 GB, free: 9.18 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.242, allocations: 25.7 kB / 0.6845 GB, free: 9.148 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002396/0.2444, allocations: 2.665 MB / 0.6871 GB, free: 6.48 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/0.2445, allocations: 15.75 kB / 0.6871 GB, free: 6.465 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.2445, allocations: 21.66 kB / 0.6871 GB, free: 6.438 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2447, allocations: 318 kB / 0.6874 GB, free: 6.121 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.2448, allocations: 15.94 kB / 0.6875 GB, free: 6.105 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.291e-05/0.2449, allocations: 33.69 kB / 0.6875 GB, free: 6.066 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.245, allocations: 41.7 kB / 0.6875 GB, free: 6.02 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.245, allocations: 0 / 0.6875 GB, free: 6.02 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001174/0.2462, allocations: 0.6465 MB / 0.6882 GB, free: 5.359 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.2462, allocations: 8.031 kB / 0.6882 GB, free: 5.352 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.2462, allocations: 0 / 0.6882 GB, free: 5.352 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.2463, allocations: 4 kB / 0.6882 GB, free: 5.348 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.2464, allocations: 11.98 kB / 0.6882 GB, free: 5.336 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.2464, allocations: 0 / 0.6882 GB, free: 5.336 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.2469, allocations: 27.91 kB / 0.6882 GB, free: 5.309 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2469, allocations: 480 / 0.6882 GB, free: 5.309 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.001696/0.2486, allocations: 1.29 MB / 0.6895 GB, free: 4.008 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005582/0.2491, allocations: 0.5863 MB / 0.6901 GB, free: 3.414 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000703/0.2499, allocations: 0.6559 MB / 0.6907 GB, free: 2.754 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2499, allocations: 0 / 0.6907 GB, free: 2.754 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2499, allocations: 0 / 0.6907 GB, free: 2.754 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2499, allocations: 0 / 0.6907 GB, free: 2.754 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.2518, allocations: 2.031 MB / 0.6927 GB, free: 0.6758 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2518, allocations: 0 / 0.6927 GB, free: 0.6758 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.2519, allocations: 4 kB / 0.6927 GB, free: 0.6719 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.2519, allocations: 3.984 kB / 0.6927 GB, free: 0.668 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2519, allocations: 0 / 0.6927 GB, free: 0.668 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2519, allocations: 3.984 kB / 0.6927 GB, free: 0.6641 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2519, allocations: 4 kB / 0.6927 GB, free: 0.6602 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.2527, allocations: 0.7134 MB / 0.6934 GB, free: 15.92 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.2533, allocations: 0.5171 MB / 0.6939 GB, free: 15.38 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.2535, allocations: 16 kB / 0.6939 GB, free: 15.36 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.2538, allocations: 19.98 kB / 0.6939 GB, free: 15.34 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.2539, allocations: 11.88 kB / 0.6939 GB, free: 15.33 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.2539, allocations: 4 kB / 0.6939 GB, free: 15.33 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005934/0.2598, allocations: 4.42 MB / 0.6983 GB, free: 10.95 MB / 0.5452 GB Notification: Performance of sort global known variables: time 9.12e-07/0.2599, allocations: 0 / 0.6983 GB, free: 10.95 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0007849/0.2607, allocations: 172 kB / 0.6984 GB, free: 10.78 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.001024/0.2617, allocations: 405.9 kB / 0.6988 GB, free: 10.53 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.2619, allocations: 35.98 kB / 0.6988 GB, free: 10.5 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2619, allocations: 0 / 0.6988 GB, free: 10.5 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.262, allocations: 27.92 kB / 0.6989 GB, free: 10.47 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.2633, allocations: 469.3 kB / 0.6993 GB, free: 10.01 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.2747, allocations: 8.4 MB / 0.7075 GB, free: 1.578 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002294/0.277, allocations: 2.744 MB / 0.7102 GB, free: 14.81 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.002723/0.2798, allocations: 1.391 MB / 0.7116 GB, free: 13.41 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000851/0.2807, allocations: 0.5733 MB / 0.7121 GB, free: 12.84 MB / 0.5608 GB Notification: Performance of SimCode: time 1.333e-06/0.2807, allocations: 0 / 0.7121 GB, free: 12.84 MB / 0.5608 GB Notification: Performance of Templates: time 0.04341/0.3241, allocations: 15.63 MB / 0.7274 GB, free: 13.22 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches