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.001271/0.001271, allocations: 106.3 kB / 16.92 MB, free: 6.332 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.001204/0.001204, allocations: 191.4 kB / 17.85 MB, free: 5.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.581/1.581, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.461/1.461, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.89 kB / 0.4909 GB, free: 13.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7149/0.7164, allocations: 80.68 MB / 0.5697 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002834/0.7193, allocations: 1.41 MB / 0.5711 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.7204, allocations: 0.5696 MB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.7204, allocations: 4 kB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.7208, allocations: 232.6 kB / 0.5719 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.7211, allocations: 276 kB / 0.5722 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.7214, allocations: 77.38 kB / 0.5722 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.7219, allocations: 0.5986 MB / 0.5728 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.722, allocations: 2.562 kB / 0.5728 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.7223, allocations: 303.6 kB / 0.5731 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.7228, allocations: 0.5382 MB / 0.5736 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.168e-05/0.7229, allocations: 34.03 kB / 0.5737 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.7231, allocations: 111.2 kB / 0.5738 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.7245, allocations: 1.246 MB / 0.575 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005813/0.7251, allocations: 0.7273 MB / 0.5757 GB, free: 39.56 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.7266, allocations: 1.592 MB / 0.5773 GB, free: 38.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7266, allocations: 0.9375 kB / 0.5773 GB, free: 38.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7266, allocations: 0 / 0.5773 GB, free: 38.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.7266, allocations: 0 / 0.5773 GB, free: 38.55 MB / 462.3 MB 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.004149/0.7308, allocations: 2.767 MB / 0.58 GB, free: 36.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/0.7308, allocations: 10.09 kB / 0.58 GB, free: 36.38 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004575/0.7313, allocations: 292.7 kB / 0.5802 GB, free: 36.22 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005063/0.7364, allocations: 3.32 MB / 0.5835 GB, free: 34.19 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.7364, allocations: 10.38 kB / 0.5835 GB, free: 34.18 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.7365, allocations: 13.8 kB / 0.5835 GB, free: 34.18 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.7368, allocations: 143.5 kB / 0.5837 GB, free: 34.11 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.7368, allocations: 3.984 kB / 0.5837 GB, free: 34.11 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.7368, allocations: 9.031 kB / 0.5837 GB, free: 34.11 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.7368, allocations: 0 / 0.5837 GB, free: 34.11 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.737, allocations: 77.89 kB / 0.5837 GB, free: 34.1 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.7385, allocations: 1.005 MB / 0.5847 GB, free: 33.43 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.7386, allocations: 73.42 kB / 0.5848 GB, free: 33.39 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.7388, allocations: 58.86 kB / 0.5848 GB, free: 33.37 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.7388, allocations: 1.188 kB / 0.5848 GB, free: 33.37 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003749/0.7392, allocations: 178.9 kB / 0.585 GB, free: 33.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.7392, allocations: 0 / 0.585 GB, free: 33.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0009993/0.7402, allocations: 0.6628 MB / 0.5857 GB, free: 32.98 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.7402, allocations: 84.08 kB / 0.5857 GB, free: 32.88 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.7429, allocations: 3.185 MB / 0.5889 GB, free: 29.84 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.743, allocations: 33.7 kB / 0.5889 GB, free: 29.8 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007899/0.7437, allocations: 1.24 MB / 0.5901 GB, free: 28.56 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.7438, allocations: 23.81 kB / 0.5901 GB, free: 28.54 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.7439, allocations: 73.72 kB / 0.5902 GB, free: 28.46 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.744, allocations: 314 kB / 0.5905 GB, free: 28.14 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.7441, allocations: 44 kB / 0.5905 GB, free: 28.1 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.7441, allocations: 55.92 kB / 0.5906 GB, free: 28.05 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.7443, allocations: 168.2 kB / 0.5907 GB, free: 27.87 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7443, allocations: 0 / 0.5907 GB, free: 27.87 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005466/0.7449, allocations: 0.6089 MB / 0.5913 GB, free: 27.24 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.7449, allocations: 33.7 kB / 0.5914 GB, free: 27.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7449, allocations: 0 / 0.5914 GB, free: 27.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.745, allocations: 0 / 0.5914 GB, free: 27.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.9e-05/0.745, allocations: 7.984 kB / 0.5914 GB, free: 27.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7451, allocations: 0 / 0.5914 GB, free: 27.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.7453, allocations: 23.88 kB / 0.5914 GB, free: 27.17 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/0.7454, allocations: 115.9 kB / 0.5915 GB, free: 27.06 MB / 462.3 MB 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.000625/0.746, allocations: 0.7412 MB / 0.5922 GB, free: 26.3 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.7462, allocations: 300.1 kB / 0.5925 GB, free: 26 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.7465, allocations: 333.8 kB / 0.5928 GB, free: 25.67 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.7465, allocations: 0 / 0.5928 GB, free: 25.67 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7465, allocations: 0 / 0.5928 GB, free: 25.67 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.7465, allocations: 0 / 0.5928 GB, free: 25.67 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007966/0.7473, allocations: 1.089 MB / 0.5939 GB, free: 24.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7473, allocations: 4 kB / 0.5939 GB, free: 24.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.7473, allocations: 15.92 kB / 0.5939 GB, free: 24.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7473, allocations: 4 kB / 0.5939 GB, free: 24.52 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.7474, allocations: 28 kB / 0.594 GB, free: 24.49 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7474, allocations: 0 / 0.594 GB, free: 24.49 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7474, allocations: 0 / 0.594 GB, free: 24.49 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005474/0.7479, allocations: 0.6611 MB / 0.5946 GB, free: 23.8 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.7482, allocations: 341.3 kB / 0.5949 GB, free: 23.45 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.7483, allocations: 15.94 kB / 0.5949 GB, free: 23.43 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.7485, allocations: 12 kB / 0.595 GB, free: 23.42 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.7486, allocations: 7.984 kB / 0.595 GB, free: 23.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.7487, allocations: 116 kB / 0.5951 GB, free: 23.3 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001851/0.7505, allocations: 2.203 MB / 0.5972 GB, free: 21.11 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7505, allocations: 0 / 0.5972 GB, free: 21.11 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000358/0.7509, allocations: 104 kB / 0.5973 GB, free: 21.01 MB / 462.3 MB 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.0001923/0.7511, allocations: 134.6 kB / 0.5974 GB, free: 20.88 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0003734/0.7515, allocations: 215.6 kB / 0.5977 GB, free: 20.65 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7515, allocations: 0 / 0.5977 GB, free: 20.65 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.7516, allocations: 155.4 kB / 0.5978 GB, free: 20.49 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007732/0.7524, allocations: 221.8 kB / 0.598 GB, free: 20.27 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.7564, allocations: 4.234 MB / 0.6021 GB, free: 16 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/0.7573, allocations: 1.687 MB / 0.6038 GB, free: 14.28 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.00124/0.7585, allocations: 0.5727 MB / 0.6044 GB, free: 13.7 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.7586, allocations: 139.4 kB / 0.6045 GB, free: 13.57 MB / 462.3 MB Notification: Performance of SimCode: time 7.82e-07/0.7586, allocations: 0 / 0.6045 GB, free: 13.57 MB / 462.3 MB Notification: Performance of Templates: time 0.02487/0.7835, allocations: 10.66 MB / 0.6149 GB, free: 2.859 MB / 462.3 MB 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