Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.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_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",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.0009931/0.0009931, allocations: 91.72 kB / 16.3 MB, free: 6.133 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.0009702/0.0009702, allocations: 181.8 kB / 17.2 MB, free: 6.012 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.125/1.125, allocations: 223.2 MB / 241.1 MB, free: 296 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.719/0.719, allocations: 120.5 MB / 412.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002507/0.0002507, allocations: 8 kB / 0.4943 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.388, allocations: 82.83 MB / 0.5752 GB, free: 42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10): time 0.02115/0.4091, allocations: 35.69 MB / 0.61 GB, free: 10.62 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.4238, allocations: 10.41 MB / 0.6202 GB, free: 180 kB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003766/0.4275, allocations: 191.4 kB / 0.6204 GB, free: 15.98 MB / 478.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.4295, allocations: 1.147 MB / 0.6215 GB, free: 14.83 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.006598/0.4361, allocations: 3.887 MB / 0.6253 GB, free: 10.93 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.4395, allocations: 1.791 MB / 0.627 GB, free: 9.141 MB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.008997/0.4485, allocations: 8.215 MB / 0.635 GB, free: 0.9023 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/0.4511, allocations: 2.468 MB / 0.6375 GB, free: 14.38 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003443/0.4545, allocations: 3.519 MB / 0.6409 GB, free: 10.84 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.4582, allocations: 4.029 MB / 0.6448 GB, free: 6.797 MB / 494.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0007552/0.459, allocations: 0.4961 MB / 0.6453 GB, free: 6.301 MB / 494.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009793/0.4599, allocations: 0.4961 MB / 0.6458 GB, free: 5.805 MB / 494.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.461, allocations: 1.58 MB / 0.6473 GB, free: 4.219 MB / 494.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.4624, allocations: 1.763 MB / 0.6491 GB, free: 2.445 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.005591/0.468, allocations: 7.823 MB / 0.6567 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.468, allocations: 0 / 0.6567 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.385e-06/0.468, allocations: 0 / 0.6567 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0004491/0.4684, allocations: 0 / 0.6567 GB, free: 10.6 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.01412/0.4826, allocations: 8.375 MB / 0.6649 GB, free: 2.137 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4826, allocations: 12.03 kB / 0.6649 GB, free: 2.125 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001354/0.484, allocations: 1.074 MB / 0.6659 GB, free: 1.039 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.4853, allocations: 1.031 MB / 0.6669 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004731/0.49, allocations: 3.203 MB / 0.6701 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004217/0.4904, allocations: 0.5942 MB / 0.6707 GB, free: 12.11 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007164/0.4912, allocations: 0.7656 MB / 0.6714 GB, free: 11.35 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009161/0.5003, allocations: 6.347 MB / 0.6776 GB, free: 4.945 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.787e-05/0.5005, allocations: 0 / 0.6776 GB, free: 4.945 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005629/0.501, allocations: 368 kB / 0.6779 GB, free: 4.586 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.5011, allocations: 200 kB / 0.6781 GB, free: 4.391 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008001/0.5091, allocations: 5.468 MB / 0.6835 GB, free: 14.91 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03505/0.5442, allocations: 24.46 MB / 0.7074 GB, free: 5.715 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007107/0.5514, allocations: 6.673 MB / 0.7139 GB, free: 15.04 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.5515, allocations: 68.88 kB / 0.7139 GB, free: 14.96 MB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.507e-05/0.5516, allocations: 157.5 kB / 0.7141 GB, free: 14.8 MB / 0.5608 GB Notification: Performance of pre-optimization done (n=630): time 8.576e-06/0.5516, allocations: 4 kB / 0.7141 GB, free: 14.79 MB / 0.5608 GB Notification: Performance of matching and sorting (n=630): time 0.0114/0.563, allocations: 8.066 MB / 0.722 GB, free: 6.637 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.5631, allocations: 120.3 kB / 0.7221 GB, free: 6.504 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005265/0.5684, allocations: 5.087 MB / 0.7271 GB, free: 1.406 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.000285/0.5687, allocations: 157.7 kB / 0.7272 GB, free: 1.246 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.002336/0.571, allocations: 3.624 MB / 0.7307 GB, free: 13.59 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.001517/0.5726, allocations: 2.085 MB / 0.7328 GB, free: 11.48 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.5729, allocations: 148 kB / 0.7329 GB, free: 11.33 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 0.0002667/0.5731, allocations: 0.5688 MB / 0.7335 GB, free: 10.76 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/0.5759, allocations: 1.881 MB / 0.7353 GB, free: 8.875 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003331/0.5793, allocations: 2.884 MB / 0.7381 GB, free: 5.684 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003447/0.5827, allocations: 2.27 MB / 0.7404 GB, free: 3.398 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/0.5827, allocations: 8 kB / 0.7404 GB, free: 3.391 MB / 0.5764 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.01263/0.5954, allocations: 8.564 MB / 0.7487 GB, free: 10.77 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.5954, allocations: 12 kB / 0.7487 GB, free: 10.76 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.5955, allocations: 24 kB / 0.7488 GB, free: 10.74 MB / 0.592 GB Notification: Tearing is skipped for strong component 1 because system size of 419 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 7.181e-05/0.5956, allocations: 44 kB / 0.7488 GB, free: 10.7 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.5984, allocations: 0.8152 MB / 0.7496 GB, free: 9.879 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.111e-05/0.5985, allocations: 67.8 kB / 0.7497 GB, free: 9.812 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/0.6029, allocations: 0.7025 MB / 0.7503 GB, free: 9.102 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003627/0.6033, allocations: 240 kB / 0.7506 GB, free: 8.867 MB / 0.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (523): * Single equations (assignments): 522 * 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 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001938/0.6052, allocations: 0.9615 MB / 0.7515 GB, free: 7.895 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008047/0.606, allocations: 0.7262 MB / 0.7522 GB, free: 7.16 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000849/0.6069, allocations: 0.709 MB / 0.7529 GB, free: 6.441 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/0.6069, allocations: 64 kB / 0.753 GB, free: 6.379 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001302/0.607, allocations: 60 kB / 0.753 GB, free: 6.32 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.972e-05/0.6071, allocations: 35.83 kB / 0.7531 GB, free: 6.285 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005786/0.6129, allocations: 5.604 MB / 0.7585 GB, free: 0.6094 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.6129, allocations: 0 / 0.7585 GB, free: 0.6094 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.614, allocations: 327.6 kB / 0.7589 GB, free: 296 kB / 0.592 GB Notification: Tearing is skipped for strong component 2 because system size of 419 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 1.41e-05/0.614, allocations: 11.94 kB / 0.7589 GB, free: 284 kB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/0.6142, allocations: 100 kB / 0.759 GB, free: 184 kB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.6142, allocations: 8 kB / 0.759 GB, free: 176 kB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6142, allocations: 4 kB / 0.759 GB, free: 172 kB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.396/1.01, allocations: 6.975 MB / 0.7658 GB, free: 153.3 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.012, allocations: 0.8216 MB / 0.7666 GB, free: 152.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006483/1.012, allocations: 99.84 kB / 0.7667 GB, free: 152.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004834/1.017, allocations: 0.8756 MB / 0.7675 GB, free: 152.7 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006225/1.018, allocations: 0.6436 MB / 0.7682 GB, free: 152.7 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002455/1.018, allocations: 187.2 kB / 0.7683 GB, free: 152.6 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.00391/1.022, allocations: 3.336 MB / 0.7716 GB, free: 151.4 MB / 0.5923 GB Notification: Performance of sort global known variables: time 1.6e-07/1.022, allocations: 0 / 0.7716 GB, free: 151.4 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.003717/1.026, allocations: 2.262 MB / 0.7738 GB, free: 151 MB / 0.5923 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 (212): * Single equations (assignments): 211 * 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 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01015/1.036, allocations: 7.756 MB / 0.7814 GB, free: 147.3 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.007098/1.043, allocations: 5.65 MB / 0.7869 GB, free: 145.2 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/1.043, allocations: 17.03 kB / 0.7869 GB, free: 145.2 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.003314/1.046, allocations: 2.955 MB / 0.7898 GB, free: 144.1 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/1.05, allocations: 1.396 MB / 0.7912 GB, free: 143.5 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05458/1.105, allocations: 67.17 MB / 0.8568 GB, free: 73.72 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/1.107, allocations: 3.459 MB / 0.8601 GB, free: 70.22 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.003262/1.11, allocations: 0.6779 MB / 0.8608 GB, free: 69.54 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002761/1.113, allocations: 3.241 MB / 0.864 GB, free: 66.3 MB / 0.5923 GB Notification: Performance of SimCode: time 1.924e-06/1.113, allocations: 0 / 0.864 GB, free: 66.3 MB / 0.5923 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1697/1.283, allocations: 138.3 MB / 0.9991 GB, free: 9.434 MB / 0.6704 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/1.283, allocations: 283 kB / 0.9993 GB, free: 9.07 MB / 0.6704 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.437/5.72, allocations: 0 / 0.9993 GB, free: 9.07 MB / 0.6704 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat does not exist to compare? outputFormat=mat