Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.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: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009768/0.0009769, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0009202/0.0009204, allocations: 97.28 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9234/0.9234, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.997e-05, allocations: 4 kB / 0.5289 GB, free: 1.211 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5643/0.5643, allocations: 82.83 MB / 0.6098 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.7063, allocations: 128.3 MB / 0.735 GB, free: 12.55 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.7065, allocations: 67.91 kB / 0.7351 GB, free: 12.48 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 2.77/3.476, allocations: 0.5766 GB / 1.312 GB, free: 45.48 MB / 0.6828 GB Notification: Performance of FrontEnd: time 1.863e-06/3.476, allocations: 0 / 1.312 GB, free: 45.48 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.006174/3.482, allocations: 0.9034 MB / 1.313 GB, free: 45.38 MB / 0.6828 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8489 * Number of variables: 8489 Notification: Performance of Generate backend data structure: time 0.1211/3.604, allocations: 42.5 MB / 1.354 GB, free: 34.77 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/3.604, allocations: 15.03 kB / 1.354 GB, free: 34.77 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02002/3.624, allocations: 4.185 MB / 1.358 GB, free: 32.76 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05445/3.678, allocations: 21.03 MB / 1.379 GB, free: 29.14 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001843/3.68, allocations: 1.036 MB / 1.38 GB, free: 29.14 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009308/3.689, allocations: 1.844 MB / 1.382 GB, free: 29.14 MB / 0.6828 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1008/3.79, allocations: 48.86 MB / 1.429 GB, free: 21.39 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1171/3.907, allocations: 44.74 MB / 1.473 GB, free: 11.19 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001565/3.909, allocations: 0 / 1.473 GB, free: 11.19 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009897/3.919, allocations: 55.95 kB / 1.473 GB, free: 11.13 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007373/3.92, allocations: 0.7812 MB / 1.474 GB, free: 10.35 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.778/4.698, allocations: 154.5 MB / 1.625 GB, free: 45.9 MB / 0.714 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06401/4.762, allocations: 46.45 MB / 1.67 GB, free: 42.44 MB / 0.714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03111/4.793, allocations: 20.62 MB / 1.69 GB, free: 36.74 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/4.795, allocations: 260.7 kB / 1.69 GB, free: 36.71 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007386/4.796, allocations: 0.4917 MB / 1.691 GB, free: 36.39 MB / 0.714 GB Notification: Performance of pre-optimization done (n=2540): time 0.0001374/4.796, allocations: 0 / 1.691 GB, free: 36.39 MB / 0.714 GB Notification: Performance of matching and sorting (n=2540): time 0.1027/4.899, allocations: 46.39 MB / 1.736 GB, free: 8.586 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002301/4.899, allocations: 311.9 kB / 1.736 GB, free: 8.27 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0986/4.998, allocations: 30.01 MB / 1.766 GB, free: 9.441 MB / 0.7296 GB Notification: Performance of collectPreVariables (initialization): time 0.005821/5.004, allocations: 77.7 kB / 1.766 GB, free: 9.359 MB / 0.7296 GB Notification: Performance of collectInitialEqns (initialization): time 0.01521/5.019, allocations: 15.6 MB / 1.781 GB, free: 12.59 MB / 0.7453 GB Notification: Performance of collectInitialBindings (initialization): time 0.01153/5.031, allocations: 8.278 MB / 1.789 GB, free: 4.957 MB / 0.7453 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005438/5.036, allocations: 0 / 1.789 GB, free: 4.957 MB / 0.7453 GB Notification: Performance of setup shared object (initialization): time 0.0001007/5.036, allocations: 306.7 kB / 1.789 GB, free: 4.656 MB / 0.7453 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5689/5.605, allocations: 22.17 MB / 1.811 GB, free: 95.76 MB / 0.7453 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.039/5.644, allocations: 24.02 MB / 1.835 GB, free: 92.17 MB / 0.7453 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0379/5.682, allocations: 24.1 MB / 1.858 GB, free: 91.86 MB / 0.7453 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003068/5.682, allocations: 25.41 kB / 1.858 GB, free: 91.86 MB / 0.7453 GB Notification: Performance of matching and sorting (n=3821) (initialization): time 0.1357/5.818, allocations: 64.36 MB / 1.921 GB, free: 88.95 MB / 0.7453 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002871/5.818, allocations: 46.31 kB / 1.921 GB, free: 88.95 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002861/5.819, allocations: 93.28 kB / 1.921 GB, free: 88.95 MB / 0.7453 GB Notification: Tearing is skipped for strong component 1 because system size of 1659 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/5.819, allocations: 190.5 kB / 1.921 GB, free: 88.95 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02175/5.841, allocations: 5.026 MB / 1.926 GB, free: 88.71 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004413/5.841, allocations: 229.2 kB / 1.926 GB, free: 88.67 MB / 0.7453 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04731/5.889, allocations: 6.386 MB / 1.933 GB, free: 87.88 MB / 0.7453 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008145/5.897, allocations: 0.9425 MB / 1.934 GB, free: 87.88 MB / 0.7453 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 422 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2163): * Single equations (assignments): 2162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(1659,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01321/5.91, allocations: 0.5177 MB / 1.934 GB, free: 87.53 MB / 0.7453 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1009/6.011, allocations: 46.39 MB / 1.979 GB, free: 79.44 MB / 0.7453 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0139/6.025, allocations: 2.658 MB / 1.982 GB, free: 76.75 MB / 0.7453 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/6.038, allocations: 3.939 MB / 1.986 GB, free: 73.06 MB / 0.7453 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002758/6.038, allocations: 240 kB / 1.986 GB, free: 72.82 MB / 0.7453 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005503/6.038, allocations: 235.5 kB / 1.986 GB, free: 72.6 MB / 0.7453 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009013/6.039, allocations: 117 kB / 1.986 GB, free: 72.6 MB / 0.7453 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0596/6.099, allocations: 27.73 MB / 2.013 GB, free: 52.48 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002006/6.099, allocations: 0 / 2.013 GB, free: 52.48 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009318/6.109, allocations: 2.293 MB / 2.016 GB, free: 50.82 MB / 0.7453 GB Notification: Tearing is skipped for strong component 2 because system size of 1659 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/6.109, allocations: 28 kB / 2.016 GB, free: 50.8 MB / 0.7453 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004404/6.113, allocations: 35.39 kB / 2.016 GB, free: 50.77 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001265/6.113, allocations: 28 kB / 2.016 GB, free: 50.75 MB / 0.7453 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/6.113, allocations: 9.219 kB / 2.016 GB, free: 50.74 MB / 0.7453 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6732/6.787, allocations: 73.08 MB / 2.087 GB, free: 83.32 MB / 0.7453 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01497/6.802, allocations: 4.097 MB / 2.091 GB, free: 82.84 MB / 0.7453 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01216/6.814, allocations: 31.19 kB / 2.091 GB, free: 82.84 MB / 0.7453 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04367/6.857, allocations: 8.766 MB / 2.1 GB, free: 82.84 MB / 0.7453 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006794/6.864, allocations: 2.944 MB / 2.103 GB, free: 82.82 MB / 0.7453 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004375/6.869, allocations: 0.7208 MB / 2.103 GB, free: 82.82 MB / 0.7453 GB Notification: Performance of sorting global known variables: time 0.03313/6.902, allocations: 19.6 MB / 2.122 GB, free: 82.21 MB / 0.7453 GB Notification: Performance of sort global known variables: time 7.51e-07/6.902, allocations: 0 / 2.122 GB, free: 82.21 MB / 0.7453 GB Notification: Performance of remove unused functions: time 0.04076/6.943, allocations: 10.4 MB / 2.133 GB, free: 81.3 MB / 0.7453 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (activeLoad[1].firstOrder1.y,activeLoad[1].firstOrder2.y,activeLoad[2].firstOrder1.y,activeLoad[2].firstOrder2.y,activeLoad[3].firstOrder1.y,activeLoad[3].firstOrder2.y,activeLoad[4].firstOrder1.y,activeLoad[4].firstOrder2.y,activeLoad[5].firstOrder1.y,activeLoad[5].firstOrder2.y,activeLoad[6].firstOrder1.y,activeLoad[6].firstOrder2.y,activeLoad[7].firstOrder1.y,activeLoad[7].firstOrder2.y,activeLoad[8].firstOrder1.y,activeLoad[8].firstOrder2.y,activeLoad[9].firstOrder1.y,activeLoad[9].firstOrder2.y,activeLoad[10].firstOrder1.y,activeLoad[10].firstOrder2.y,activeLoad[11].firstOrder1.y,activeLoad[11].firstOrder2.y,activeLoad[12].firstOrder1.y,activeLoad[12].firstOrder2.y,activeLoad[13].firstOrder1.y,activeLoad[13].firstOrder2.y,activeLoad[14].firstOrder1.y,activeLoad[14].firstOrder2.y,activeLoad[15].firstOrder1.y,activeLoad[15].firstOrder2.y,activeLoad[16].firstOrder1.y,activeLoad[16].firstOrder2.y,activeLoad[17].firstOrder1.y,activeLoad[17].firstOrder2.y,activeLoad[18].firstOrder1.y,activeLoad[18].firstOrder2.y,activeLoad[19].firstOrder1.y,activeLoad[19].firstOrder2.y,activeLoad[20].firstOrder1.y,activeLoad[20].firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (882): * Single equations (assignments): 881 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(1659,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1584/7.101, allocations: 70.8 MB / 2.202 GB, free: 77.12 MB / 0.7453 GB Notification: Performance of simCode: created initialization part: time 0.07489/7.176, allocations: 42.03 MB / 2.243 GB, free: 75.94 MB / 0.7453 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-05/7.176, allocations: 63.02 kB / 2.243 GB, free: 75.93 MB / 0.7453 GB Notification: Performance of simCode: created simulation system equations: time 0.03592/7.212, allocations: 19.15 MB / 2.262 GB, free: 71.34 MB / 0.7453 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03613/7.248, allocations: 5.005 MB / 2.266 GB, free: 68.71 MB / 0.7453 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1829/7.431, allocations: 83.2 MB / 2.348 GB, free: 13.96 MB / 0.7609 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5184/7.95, allocations: 25.58 MB / 2.373 GB, free: 88.89 MB / 0.7609 GB Notification: Performance of simCode: alias equations: time 0.05334/8.003, allocations: 13.05 MB / 2.385 GB, free: 88.68 MB / 0.7609 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02201/8.025, allocations: 13.36 MB / 2.398 GB, free: 88.68 MB / 0.7609 GB Notification: Performance of SimCode: time 1.383e-06/8.025, allocations: 2.969 kB / 2.398 GB, free: 88.68 MB / 0.7609 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.951/9.976, allocations: 0.6 GB / 2.998 GB, free: 34.88 MB / 0.8078 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/9.976, allocations: 238.4 kB / 2.999 GB, free: 34.6 MB / 0.8078 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.3/39.27, allocations: 0 / 2.999 GB, free: 34.6 MB / 0.8078 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20_fmu --startTime=0 --stopTime=3 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20_res.mat does not exist to compare? outputFormat=mat