Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.00131, allocations: 112.8 kB / 17.07 MB, free: 5.992 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.002179/0.002179, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.534/1.534, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.308/1.308, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 60.91 kB / 0.5709 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2009, allocations: 80.69 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.00316/0.2041, allocations: 1.41 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2054, allocations: 0.573 MB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.413e-05/0.2055, allocations: 0 / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.2059, allocations: 231.6 kB / 0.6519 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.2064, allocations: 271.5 kB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.2068, allocations: 79.78 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006361/0.2075, allocations: 0.6008 MB / 0.6528 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.2075, allocations: 4 kB / 0.6528 GB, free: 9.891 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.208, allocations: 311.5 kB / 0.6531 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006954/0.2088, allocations: 0.5267 MB / 0.6536 GB, free: 9.059 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.2089, allocations: 36 kB / 0.6536 GB, free: 9.023 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.2091, allocations: 107.9 kB / 0.6537 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001403/0.2105, allocations: 1.266 MB / 0.655 GB, free: 7.648 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000982/0.2115, allocations: 0.7156 MB / 0.6557 GB, free: 6.926 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.2132, allocations: 1.645 MB / 0.6573 GB, free: 5.27 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2133, allocations: 0 / 0.6573 GB, free: 5.27 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2133, allocations: 0 / 0.6573 GB, free: 5.27 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.2133, allocations: 0 / 0.6573 GB, free: 5.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003017/0.2163, allocations: 2.876 MB / 0.6601 GB, free: 2.32 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2164, allocations: 8.031 kB / 0.6601 GB, free: 2.312 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.2167, allocations: 306.9 kB / 0.6604 GB, free: 2.012 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004765/0.2215, allocations: 3.37 MB / 0.6637 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2215, allocations: 384 / 0.6637 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.2215, allocations: 12.38 kB / 0.6637 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.2218, allocations: 145.8 kB / 0.6638 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2218, allocations: 0 / 0.6638 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.2218, allocations: 8 kB / 0.6638 GB, free: 14.42 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2218, allocations: 0 / 0.6638 GB, free: 14.42 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.222, allocations: 79.98 kB / 0.6639 GB, free: 14.34 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.223, allocations: 1.011 MB / 0.6649 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.2231, allocations: 74.52 kB / 0.665 GB, free: 13.2 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.2232, allocations: 64.89 kB / 0.665 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.2233, allocations: 0 / 0.665 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.2235, allocations: 176.9 kB / 0.6652 GB, free: 12.95 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.2235, allocations: 4 kB / 0.6652 GB, free: 12.94 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0008645/0.2244, allocations: 0.6732 MB / 0.6659 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.2245, allocations: 81.11 kB / 0.6659 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/0.228, allocations: 3.189 MB / 0.6691 GB, free: 8.992 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.2281, allocations: 33.7 kB / 0.6691 GB, free: 8.953 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.2293, allocations: 1.236 MB / 0.6703 GB, free: 7.715 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.2294, allocations: 27.84 kB / 0.6703 GB, free: 7.688 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.2295, allocations: 81.7 kB / 0.6704 GB, free: 7.602 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2297, allocations: 310 kB / 0.6707 GB, free: 7.293 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.2298, allocations: 51.94 kB / 0.6707 GB, free: 7.242 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.294e-05/0.2299, allocations: 52.02 kB / 0.6708 GB, free: 7.191 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.2301, allocations: 164.2 kB / 0.6709 GB, free: 7.016 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2301, allocations: 0 / 0.6709 GB, free: 7.016 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006509/0.2308, allocations: 0.6223 MB / 0.6716 GB, free: 6.379 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.2308, allocations: 40.81 kB / 0.6716 GB, free: 6.336 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2308, allocations: 0 / 0.6716 GB, free: 6.336 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2309, allocations: 0 / 0.6716 GB, free: 6.336 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.2309, allocations: 4 kB / 0.6716 GB, free: 6.332 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.231, allocations: 4 kB / 0.6716 GB, free: 6.328 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.2312, allocations: 15.95 kB / 0.6716 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.2313, allocations: 112 kB / 0.6717 GB, free: 6.203 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0007687/0.2321, allocations: 0.7421 MB / 0.6724 GB, free: 5.445 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.2323, allocations: 313.9 kB / 0.6727 GB, free: 5.137 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.2326, allocations: 333.8 kB / 0.6731 GB, free: 4.809 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2326, allocations: 4 kB / 0.6731 GB, free: 4.805 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2327, allocations: 0 / 0.6731 GB, free: 4.805 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2327, allocations: 3.984 kB / 0.6731 GB, free: 4.801 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.2338, allocations: 1.1 MB / 0.6741 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2338, allocations: 0 / 0.6741 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.2338, allocations: 3.938 kB / 0.6742 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2338, allocations: 4.094 kB / 0.6742 GB, free: 3.648 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.2339, allocations: 27.94 kB / 0.6742 GB, free: 3.621 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2339, allocations: 0 / 0.6742 GB, free: 3.621 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2339, allocations: 3.938 kB / 0.6742 GB, free: 3.617 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/0.2346, allocations: 0.6824 MB / 0.6749 GB, free: 2.91 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/0.2351, allocations: 355 kB / 0.6752 GB, free: 2.543 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.2352, allocations: 12 kB / 0.6752 GB, free: 2.531 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2354, allocations: 15.98 kB / 0.6752 GB, free: 2.516 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.2354, allocations: 4 kB / 0.6752 GB, free: 2.512 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/0.2355, allocations: 116 kB / 0.6753 GB, free: 2.398 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.00247/0.238, allocations: 2.203 MB / 0.6775 GB, free: 220 kB / 0.5139 GB Notification: Performance of sort global known variables: time 3.1e-07/0.238, allocations: 0 / 0.6775 GB, free: 220 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003588/0.2384, allocations: 112 kB / 0.6776 GB, free: 108 kB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002333/0.2386, allocations: 139.5 kB / 0.6777 GB, free: 15.96 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.239, allocations: 207.3 kB / 0.6779 GB, free: 15.75 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.239, allocations: 0 / 0.6779 GB, free: 15.75 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.2391, allocations: 151.4 kB / 0.6781 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.2398, allocations: 220.7 kB / 0.6783 GB, free: 15.37 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004925/0.2447, allocations: 4.236 MB / 0.6824 GB, free: 11.09 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.2461, allocations: 1.699 MB / 0.6841 GB, free: 9.363 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001196/0.2473, allocations: 0.5963 MB / 0.6847 GB, free: 8.762 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.2475, allocations: 135.4 kB / 0.6848 GB, free: 8.629 MB / 0.5295 GB Notification: Performance of SimCode: time 9.22e-07/0.2475, allocations: 0 / 0.6848 GB, free: 8.629 MB / 0.5295 GB Notification: Performance of Templates: time 0.02446/0.272, allocations: 10.67 MB / 0.6952 GB, free: 13.91 MB / 0.5452 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches