Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.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: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008912/0.0008913, allocations: 94.17 kB / 16.31 MB, free: 6.008 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.0009436/0.0009436, allocations: 185.4 kB / 17.21 MB, free: 5.902 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.246/1.246, allocations: 223.2 MB / 241.2 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7027/0.7027, allocations: 120.5 MB / 412.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002799, allocations: 8 kB / 0.4943 GB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 82.85 MB / 0.5753 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20): time 0.5442/0.6756, allocations: 155.4 MB / 0.727 GB, free: 13.55 MB / 0.5608 GB Notification: Performance of NFInst.instExpressions: time 0.07181/0.7475, allocations: 36.37 MB / 0.7625 GB, free: 9.074 MB / 0.592 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03327/0.7808, allocations: 0.7242 MB / 0.7632 GB, free: 8.348 MB / 0.592 GB Notification: Performance of NFTyping.typeComponents: time 0.02154/0.8024, allocations: 4.817 MB / 0.7679 GB, free: 3.492 MB / 0.592 GB Notification: Performance of NFTyping.typeBindings: time 0.03974/0.8422, allocations: 9.852 MB / 0.7775 GB, free: 9.555 MB / 0.6077 GB Notification: Performance of NFTyping.typeClassSections: time 0.02354/0.8657, allocations: 6.937 MB / 0.7843 GB, free: 2.609 MB / 0.6077 GB Notification: Performance of NFFlatten.flatten: time 0.05605/0.9218, allocations: 42.83 MB / 0.8261 GB, free: 7.566 MB / 0.6545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5789/1.501, allocations: 9.675 MB / 0.8356 GB, free: 12.7 MB / 0.6548 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04479/1.546, allocations: 13.66 MB / 0.8489 GB, free: 12.7 MB / 0.6548 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04438/1.59, allocations: 15.71 MB / 0.8643 GB, free: 12.7 MB / 0.6548 GB Notification: Performance of NFPackage.collectConstants: time 0.02051/1.611, allocations: 1.927 MB / 0.8661 GB, free: 12.7 MB / 0.6548 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02861/1.639, allocations: 1.927 MB / 0.868 GB, free: 12.7 MB / 0.6548 GB Notification: Performance of NFScalarize.scalarize: time 0.01779/1.657, allocations: 6.168 MB / 0.874 GB, free: 12.7 MB / 0.6548 GB Notification: Performance of NFVerifyModel.verify: time 0.02218/1.679, allocations: 6.756 MB / 0.8806 GB, free: 12.66 MB / 0.6548 GB Notification: Performance of NFConvertDAE.convert: time 0.04544/1.725, allocations: 30.65 MB / 0.9106 GB, free: 0.7852 MB / 0.6548 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.725, allocations: 0 / 0.9106 GB, free: 0.7852 MB / 0.6548 GB Notification: Performance of FrontEnd: time 2.815e-06/1.725, allocations: 4 kB / 0.9106 GB, free: 0.7812 MB / 0.6548 GB Notification: Performance of Transformations before backend: time 0.002411/1.727, allocations: 2.906 kB / 0.9106 GB, free: 0.7812 MB / 0.6548 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.07024/1.797, allocations: 31.75 MB / 0.9416 GB, free: 13.49 MB / 0.686 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.798, allocations: 12.03 kB / 0.9416 GB, free: 13.48 MB / 0.686 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01144/1.809, allocations: 4.134 MB / 0.9456 GB, free: 11.38 MB / 0.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/1.82, allocations: 4.013 MB / 0.9496 GB, free: 7.328 MB / 0.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03009/1.85, allocations: 12.01 MB / 0.9613 GB, free: 14.84 MB / 0.7017 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002223/1.853, allocations: 2.312 MB / 0.9635 GB, free: 13.53 MB / 0.7017 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006523/1.859, allocations: 3 MB / 0.9665 GB, free: 11.53 MB / 0.7017 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06123/1.92, allocations: 24.86 MB / 0.9907 GB, free: 11.39 MB / 0.7173 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001077/1.922, allocations: 0 / 0.9907 GB, free: 11.39 MB / 0.7173 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005964/1.927, allocations: 1.401 MB / 0.9921 GB, free: 11.04 MB / 0.7173 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006668/1.928, allocations: 0.7539 MB / 0.9929 GB, free: 10.29 MB / 0.7173 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04893/1.977, allocations: 21.24 MB / 1.014 GB, free: 12.34 MB / 0.7329 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1922/2.169, allocations: 95.38 MB / 1.107 GB, free: 2.324 MB / 0.7954 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3158/2.485, allocations: 27.94 MB / 1.134 GB, free: 284.5 MB / 0.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01869/2.504, allocations: 10.68 MB / 1.144 GB, free: 281.3 MB / 0.811 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/2.505, allocations: 252.8 kB / 1.145 GB, free: 281.3 MB / 0.811 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004968/2.506, allocations: 497.8 kB / 1.145 GB, free: 280.9 MB / 0.811 GB Notification: Performance of pre-optimization done (n=2460): time 3.118e-05/2.506, allocations: 4.578 kB / 1.145 GB, free: 280.9 MB / 0.811 GB Notification: Performance of matching and sorting (n=2460): time 0.06322/2.569, allocations: 31.29 MB / 1.176 GB, free: 270 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/2.569, allocations: 309.1 kB / 1.176 GB, free: 269.9 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03281/2.602, allocations: 19.52 MB / 1.195 GB, free: 263.4 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.003437/2.605, allocations: 0.5493 MB / 1.196 GB, free: 263 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.007983/2.613, allocations: 14.63 MB / 1.21 GB, free: 252 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.006898/2.62, allocations: 8.162 MB / 1.218 GB, free: 245.6 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/2.623, allocations: 0.5607 MB / 1.218 GB, free: 245.1 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 4.993e-05/2.623, allocations: 308.7 kB / 1.219 GB, free: 244.8 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01324/2.636, allocations: 7.261 MB / 1.226 GB, free: 242 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01423/2.65, allocations: 11.35 MB / 1.237 GB, free: 235.1 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01698/2.667, allocations: 8.827 MB / 1.246 GB, free: 230.6 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001219/2.668, allocations: 27.53 kB / 1.246 GB, free: 230.6 MB / 0.811 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.06757/2.735, allocations: 33.31 MB / 1.278 GB, free: 207.9 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 8.964e-05/2.735, allocations: 44 kB / 1.278 GB, free: 207.9 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/2.735, allocations: 88 kB / 1.278 GB, free: 207.8 MB / 0.811 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0001483/2.736, allocations: 176 kB / 1.278 GB, free: 207.6 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/2.747, allocations: 3.173 MB / 1.281 GB, free: 204.8 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002696/2.748, allocations: 225.2 kB / 1.282 GB, free: 204.6 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0222/2.77, allocations: 2.755 MB / 1.284 GB, free: 201.8 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003423/2.773, allocations: 0.9102 MB / 1.285 GB, free: 200.9 MB / 0.811 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01349/2.787, allocations: 3.439 MB / 1.289 GB, free: 197.4 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007025/2.794, allocations: 2.816 MB / 1.291 GB, free: 194.6 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005693/2.799, allocations: 2.748 MB / 1.294 GB, free: 192.1 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000118/2.8, allocations: 232 kB / 1.294 GB, free: 191.9 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005634/2.8, allocations: 228 kB / 1.294 GB, free: 191.6 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003259/2.8, allocations: 118.8 kB / 1.295 GB, free: 191.6 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03221/2.833, allocations: 21.5 MB / 1.316 GB, free: 173.7 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.172e-05/2.833, allocations: 4 kB / 1.316 GB, free: 173.6 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004193/2.837, allocations: 1.229 MB / 1.317 GB, free: 172.4 MB / 0.811 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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 6.222e-05/2.837, allocations: 24 kB / 1.317 GB, free: 172.4 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001822/2.839, allocations: 388 kB / 1.317 GB, free: 172 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.301e-05/2.839, allocations: 24 kB / 1.317 GB, free: 172 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/2.839, allocations: 0 / 1.317 GB, free: 172 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03914/2.878, allocations: 26.79 MB / 1.343 GB, free: 145.1 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007287/2.885, allocations: 3.004 MB / 1.346 GB, free: 142 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005059/2.891, allocations: 385.1 kB / 1.347 GB, free: 141.7 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02089/2.911, allocations: 3.385 MB / 1.35 GB, free: 138.3 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004866/2.916, allocations: 2.502 MB / 1.352 GB, free: 135.8 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003906/2.92, allocations: 0.6992 MB / 1.353 GB, free: 135.1 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.02591/2.946, allocations: 12.85 MB / 1.366 GB, free: 122.3 MB / 0.811 GB Notification: Performance of sort global known variables: time 2.91e-07/2.946, allocations: 3.938 kB / 1.366 GB, free: 122.3 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.02778/2.974, allocations: 8.803 MB / 1.374 GB, free: 113.5 MB / 0.811 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05608/3.03, allocations: 28.32 MB / 1.402 GB, free: 85.06 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.03398/3.064, allocations: 21.78 MB / 1.423 GB, free: 63.29 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-05/3.064, allocations: 58.42 kB / 1.423 GB, free: 63.23 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 0.01631/3.081, allocations: 11.26 MB / 1.434 GB, free: 51.96 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0332/3.114, allocations: 5.958 MB / 1.44 GB, free: 46 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8787/3.992, allocations: 390.6 MB / 1.821 GB, free: 104.4 MB / 0.9204 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01539/4.008, allocations: 11.01 MB / 1.832 GB, free: 96.78 MB / 0.9204 GB Notification: Performance of simCode: alias equations: time 0.01479/4.023, allocations: 2.64 MB / 1.835 GB, free: 94.72 MB / 0.9204 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0157/4.038, allocations: 14.08 MB / 1.849 GB, free: 81.5 MB / 0.9204 GB Notification: Performance of SimCode: time 1.193e-06/4.038, allocations: 0 / 1.849 GB, free: 81.5 MB / 0.9204 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.288/5.327, allocations: 0.489 GB / 2.338 GB, free: 280.9 MB / 0.9204 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/5.327, allocations: 310 kB / 2.338 GB, free: 280.6 MB / 0.9204 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/21.54, allocations: 0 / 2.338 GB, free: 280.6 MB / 0.9204 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat does not exist to compare? outputFormat=mat