Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 179.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 221.3 MB / 235.5 MB, free: 2.895 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008681/0.0008681, allocations: 88.91 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8346/0.8346, allocations: 120.4 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.576e-05, allocations: 8 kB / 0.5357 GB, free: 12.19 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5067, allocations: 82.83 MB / 0.6166 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.6404, allocations: 126.6 MB / 0.7403 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001257/0.6406, allocations: 51.92 kB / 0.7403 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.631/1.272, allocations: 27.63 MB / 0.7673 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.432e-06/1.272, allocations: 0 / 0.7673 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0002577/1.272, allocations: 64 kB / 0.7674 GB, free: 124.2 MB / 0.5421 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.004045/1.276, allocations: 3.433 MB / 0.7707 GB, free: 120.8 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/1.276, allocations: 8.031 kB / 0.7707 GB, free: 120.8 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007268/1.277, allocations: 0.5708 MB / 0.7713 GB, free: 120.3 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009187/1.286, allocations: 5.662 MB / 0.7768 GB, free: 114.7 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.286, allocations: 0 / 0.7768 GB, free: 114.7 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/1.286, allocations: 16 kB / 0.7768 GB, free: 114.7 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/1.286, allocations: 237.5 kB / 0.7771 GB, free: 114.4 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/1.286, allocations: 0 / 0.7771 GB, free: 114.4 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/1.286, allocations: 16 kB / 0.7771 GB, free: 114.4 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.286, allocations: 8 kB / 0.7771 GB, free: 114.4 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/1.286, allocations: 132.6 kB / 0.7772 GB, free: 114.3 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/1.288, allocations: 1.866 MB / 0.779 GB, free: 112.4 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/1.288, allocations: 102.6 kB / 0.7791 GB, free: 112.2 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/1.288, allocations: 84.86 kB / 0.7792 GB, free: 112.2 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/1.288, allocations: 0 / 0.7792 GB, free: 112.2 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/1.288, allocations: 261 kB / 0.7795 GB, free: 111.9 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/1.288, allocations: 0 / 0.7795 GB, free: 111.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.0007965/1.289, allocations: 1.03 MB / 0.7805 GB, free: 110.8 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/1.289, allocations: 77.11 kB / 0.7806 GB, free: 110.7 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00451/1.294, allocations: 5.341 MB / 0.7858 GB, free: 105.5 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/1.294, allocations: 45.7 kB / 0.7858 GB, free: 105.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/1.295, allocations: 2.563 MB / 0.7883 GB, free: 102.8 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/1.295, allocations: 39.73 kB / 0.7884 GB, free: 102.8 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/1.295, allocations: 20 kB / 0.7884 GB, free: 102.8 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 4.187e-05/1.295, allocations: 306 kB / 0.7887 GB, free: 102.5 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/1.295, allocations: 80 kB / 0.7887 GB, free: 102.4 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/1.295, allocations: 76 kB / 0.7888 GB, free: 102.3 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/1.296, allocations: 113.7 kB / 0.7889 GB, free: 102.2 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.296, allocations: 0 / 0.7889 GB, free: 102.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007226/1.296, allocations: 1.027 MB / 0.7899 GB, free: 101.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.296, allocations: 39.25 kB / 0.79 GB, free: 101.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.296, allocations: 3.984 kB / 0.79 GB, free: 101.1 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.296, allocations: 0 / 0.79 GB, free: 101.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/1.296, allocations: 8 kB / 0.79 GB, free: 101.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.297, allocations: 4 kB / 0.79 GB, free: 101.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/1.297, allocations: 20.14 kB / 0.79 GB, free: 101.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/1.297, allocations: 224 kB / 0.7902 GB, free: 100.9 MB / 0.5421 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.297, allocations: 179.8 kB / 0.7904 GB, free: 100.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/1.297, allocations: 0.5708 MB / 0.7909 GB, free: 100.1 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004841/1.298, allocations: 0.6481 MB / 0.7916 GB, free: 99.45 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.298, allocations: 0 / 0.7916 GB, free: 99.45 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.298, allocations: 0 / 0.7916 GB, free: 99.45 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/1.298, allocations: 4 kB / 0.7916 GB, free: 99.44 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/1.299, allocations: 2.028 MB / 0.7936 GB, free: 97.37 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.299, allocations: 3.938 kB / 0.7936 GB, free: 97.36 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/1.299, allocations: 4 kB / 0.7936 GB, free: 97.36 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/1.299, allocations: 0 / 0.7936 GB, free: 97.36 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/1.299, allocations: 59.92 kB / 0.7936 GB, free: 97.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/1.299, allocations: 4 kB / 0.7936 GB, free: 97.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.299, allocations: 0 / 0.7936 GB, free: 97.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/1.3, allocations: 1.102 MB / 0.7947 GB, free: 96.16 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/1.301, allocations: 0.564 MB / 0.7952 GB, free: 95.57 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.301, allocations: 20 kB / 0.7953 GB, free: 95.55 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/1.301, allocations: 16 kB / 0.7953 GB, free: 95.54 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/1.301, allocations: 4 kB / 0.7953 GB, free: 95.54 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.301, allocations: 224 kB / 0.7955 GB, free: 95.32 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.003782/1.305, allocations: 4.254 MB / 0.7997 GB, free: 91.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.7e-07/1.305, allocations: 0 / 0.7997 GB, free: 91.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004225/1.305, allocations: 192 kB / 0.7998 GB, free: 90.91 MB / 0.5421 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001647/1.306, allocations: 144.6 kB / 0.8 GB, free: 90.77 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0003104/1.306, allocations: 271.4 kB / 0.8002 GB, free: 90.49 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.306, allocations: 0 / 0.8002 GB, free: 90.49 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/1.306, allocations: 191.4 kB / 0.8004 GB, free: 90.29 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/1.307, allocations: 427.6 kB / 0.8008 GB, free: 89.87 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006036/1.313, allocations: 6.742 MB / 0.8074 GB, free: 83.08 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/1.315, allocations: 2.818 MB / 0.8102 GB, free: 80.24 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.002268/1.317, allocations: 1.161 MB / 0.8113 GB, free: 79.07 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/1.317, allocations: 259.4 kB / 0.8115 GB, free: 78.82 MB / 0.5421 GB Notification: Performance of SimCode: time 4.01e-07/1.317, allocations: 0 / 0.8115 GB, free: 78.82 MB / 0.5421 GB Notification: Performance of Templates: time 0.03801/1.355, allocations: 20.44 MB / 0.8315 GB, free: 58.27 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches