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.001798/0.001798, allocations: 111.1 kB / 17.06 MB, free: 6.129 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.001547/0.001547, allocations: 191.8 kB / 18 MB, free: 5.207 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.506/1.506, 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.384/1.384, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 57.86 kB / 0.5709 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2128, allocations: 80.7 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.003617/0.2164, allocations: 1.417 MB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2178, allocations: 0.5613 MB / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.218, allocations: 4 kB / 0.6517 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.2184, allocations: 231.6 kB / 0.6519 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005196/0.219, allocations: 267.5 kB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.2194, allocations: 87.66 kB / 0.6522 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006306/0.22, allocations: 0.6007 MB / 0.6528 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.2201, allocations: 4 kB / 0.6528 GB, free: 9.906 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005264/0.2206, allocations: 311.5 kB / 0.6531 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007132/0.2213, allocations: 0.5267 MB / 0.6536 GB, free: 9.074 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.2214, allocations: 36 kB / 0.6537 GB, free: 9.039 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.2217, allocations: 99.94 kB / 0.6537 GB, free: 8.941 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.2231, allocations: 1.263 MB / 0.655 GB, free: 7.676 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0009996/0.2241, allocations: 0.7156 MB / 0.6557 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.2261, allocations: 1.632 MB / 0.6573 GB, free: 5.312 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2261, allocations: 4 kB / 0.6573 GB, free: 5.309 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2262, allocations: 3.938 kB / 0.6573 GB, free: 5.305 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.886e-05/0.2262, allocations: 0 / 0.6573 GB, free: 5.305 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.004158/0.2304, allocations: 2.766 MB / 0.66 GB, free: 2.465 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.2305, allocations: 8.031 kB / 0.66 GB, free: 2.457 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005444/0.231, allocations: 289.1 kB / 0.6603 GB, free: 2.172 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006838/0.2379, allocations: 3.322 MB / 0.6635 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.2379, allocations: 4.375 kB / 0.6635 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.238, allocations: 8.375 kB / 0.6635 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.2382, allocations: 153.9 kB / 0.6637 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2383, allocations: 0 / 0.6637 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.2383, allocations: 12 kB / 0.6637 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2383, allocations: 0 / 0.6637 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.2385, allocations: 71.98 kB / 0.6637 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.2401, allocations: 1.011 MB / 0.6647 GB, free: 13.49 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2403, allocations: 70.5 kB / 0.6648 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.2404, allocations: 68.8 kB / 0.6649 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.2404, allocations: 0 / 0.6649 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.2407, allocations: 177 kB / 0.665 GB, free: 13.15 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.2407, allocations: 0 / 0.665 GB, free: 13.15 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001112/0.2418, allocations: 0.648 MB / 0.6657 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.2419, allocations: 81.11 kB / 0.6657 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003392/0.2453, allocations: 3.185 MB / 0.6689 GB, free: 9.223 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.2453, allocations: 41.7 kB / 0.6689 GB, free: 9.176 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.2464, allocations: 1.24 MB / 0.6701 GB, free: 7.934 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.2465, allocations: 27.8 kB / 0.6701 GB, free: 7.906 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.2466, allocations: 81.7 kB / 0.6702 GB, free: 7.82 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2467, allocations: 310 kB / 0.6705 GB, free: 7.512 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.2468, allocations: 47.98 kB / 0.6706 GB, free: 7.465 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-05/0.2469, allocations: 48 kB / 0.6706 GB, free: 7.418 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.2471, allocations: 160.3 kB / 0.6708 GB, free: 7.246 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2471, allocations: 7.938 kB / 0.6708 GB, free: 7.238 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000709/0.2478, allocations: 0.6127 MB / 0.6714 GB, free: 6.609 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.2479, allocations: 41.69 kB / 0.6714 GB, free: 6.562 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2479, allocations: 4 kB / 0.6714 GB, free: 6.559 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2479, allocations: 0 / 0.6714 GB, free: 6.559 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.248, allocations: 4 kB / 0.6714 GB, free: 6.555 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.248, allocations: 0 / 0.6714 GB, free: 6.555 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.2483, allocations: 12 kB / 0.6714 GB, free: 6.543 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.2484, allocations: 112 kB / 0.6715 GB, free: 6.434 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.0007882/0.2492, allocations: 0.742 MB / 0.6722 GB, free: 5.676 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.2494, allocations: 304.1 kB / 0.6725 GB, free: 5.375 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.2497, allocations: 333.8 kB / 0.6729 GB, free: 5.047 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2498, allocations: 0 / 0.6729 GB, free: 5.047 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.2498, allocations: 3.984 kB / 0.6729 GB, free: 5.043 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2498, allocations: 0 / 0.6729 GB, free: 5.043 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000988/0.2508, allocations: 1.093 MB / 0.6739 GB, free: 3.906 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2508, allocations: 0 / 0.6739 GB, free: 3.906 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.2508, allocations: 7.938 kB / 0.6739 GB, free: 3.898 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2508, allocations: 0 / 0.6739 GB, free: 3.898 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.2509, allocations: 28 kB / 0.674 GB, free: 3.871 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2509, allocations: 4 kB / 0.674 GB, free: 3.867 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2509, allocations: 0 / 0.674 GB, free: 3.867 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007476/0.2516, allocations: 0.6689 MB / 0.6746 GB, free: 3.172 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.252, allocations: 333.2 kB / 0.6749 GB, free: 2.824 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.2521, allocations: 19.98 kB / 0.675 GB, free: 2.805 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2523, allocations: 8 kB / 0.675 GB, free: 2.797 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.2524, allocations: 4 kB / 0.675 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-05/0.2525, allocations: 115.9 kB / 0.6751 GB, free: 2.68 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002479/0.2549, allocations: 2.211 MB / 0.6772 GB, free: 500 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.6e-07/0.255, allocations: 0 / 0.6772 GB, free: 500 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003645/0.2553, allocations: 108 kB / 0.6773 GB, free: 392 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.000227/0.2556, allocations: 135.9 kB / 0.6775 GB, free: 248 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.2559, allocations: 211.4 kB / 0.6777 GB, free: 24 kB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2559, allocations: 0 / 0.6777 GB, free: 24 kB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.2561, allocations: 147.4 kB / 0.6778 GB, free: 15.86 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.2568, allocations: 232.6 kB / 0.678 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.2622, allocations: 4.156 MB / 0.6821 GB, free: 11.45 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.2639, allocations: 1.699 MB / 0.6838 GB, free: 9.715 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001406/0.2653, allocations: 0.5923 MB / 0.6843 GB, free: 9.117 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.2655, allocations: 135.4 kB / 0.6845 GB, free: 8.984 MB / 0.5295 GB Notification: Performance of SimCode: time 1.453e-06/0.2655, allocations: 0 / 0.6845 GB, free: 8.984 MB / 0.5295 GB Notification: Performance of Templates: time 0.03153/0.2971, allocations: 10.67 MB / 0.6949 GB, free: 14.26 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/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