Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.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.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10",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.0008485/0.0008487, allocations: 176.4 kB / 8.346 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.149/1.149, allocations: 221.5 MB / 230.3 MB, free: 7.504 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.0009369/0.0009371, allocations: 97.77 kB / 281.2 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8145/0.8145, allocations: 120.4 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.506e-05/1.508e-05, allocations: 7.984 kB / 0.5289 GB, free: 1.199 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.502, allocations: 82.84 MB / 0.6098 GB, free: 12.94 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.6318, allocations: 127.7 MB / 0.7344 GB, free: 13.14 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.632, allocations: 75.91 kB / 0.7345 GB, free: 13.07 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.03108/0.6631, allocations: 12.83 MB / 0.747 GB, free: 196 kB / 0.5419 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6632, allocations: 4 kB / 0.747 GB, free: 192 kB / 0.5419 GB Notification: Performance of Transformations before backend: time 3.765e-05/0.6632, allocations: 16 kB / 0.7471 GB, free: 176 kB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.488/1.151, allocations: 1.291 MB / 0.7483 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.151, allocations: 9.719 kB / 0.7483 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/1.152, allocations: 109.3 kB / 0.7484 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008432/1.152, allocations: 0.5504 MB / 0.749 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/1.152, allocations: 28.05 kB / 0.749 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/1.153, allocations: 49.45 kB / 0.749 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001201/1.154, allocations: 0.8158 MB / 0.7498 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/1.155, allocations: 0.856 MB / 0.7507 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/1.155, allocations: 0 / 0.7507 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/1.155, allocations: 9.344 kB / 0.7507 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/1.155, allocations: 19.55 kB / 0.7507 GB, free: 129 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004572/1.16, allocations: 3.053 MB / 0.7537 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007835/1.161, allocations: 0.7734 MB / 0.7544 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/1.161, allocations: 492.1 kB / 0.7549 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/1.161, allocations: 6.938 kB / 0.7549 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008835/1.162, allocations: 0.71 MB / 0.7556 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=86): time 1.923e-06/1.162, allocations: 0 / 0.7556 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=86): time 0.0016/1.164, allocations: 1.111 MB / 0.7567 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/1.164, allocations: 375.8 kB / 0.7571 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/1.164, allocations: 0.5126 MB / 0.7576 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/1.164, allocations: 48.69 kB / 0.7576 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/1.164, allocations: 375.3 kB / 0.758 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/1.164, allocations: 235.2 kB / 0.7582 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/1.164, allocations: 3.938 kB / 0.7582 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 7.184e-05/1.165, allocations: 390.4 kB / 0.7586 GB, free: 126 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/1.165, allocations: 448.8 kB / 0.759 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/1.166, allocations: 0.6707 MB / 0.7596 GB, free: 125.6 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/1.166, allocations: 0.5303 MB / 0.7602 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/1.166, allocations: 3.719 kB / 0.7602 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001513/1.168, allocations: 1.459 MB / 0.7616 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.168, allocations: 11.34 kB / 0.7616 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.168, allocations: 7.531 kB / 0.7616 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006566/1.168, allocations: 399.6 kB / 0.762 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/1.169, allocations: 128.2 kB / 0.7621 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/1.172, allocations: 3.991 MB / 0.766 GB, free: 122.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/1.173, allocations: 169 kB / 0.7662 GB, free: 122.6 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/1.173, allocations: 38.84 kB / 0.7662 GB, free: 122.6 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition19,$PRE.B[1].open,B[1].open,$whenCondition17,$PRE.B[2].open,B[2].open,$whenCondition15,$PRE.B[3].open,B[3].open,$whenCondition13,$PRE.B[4].open,B[4].open,$whenCondition11,$PRE.B[5].open,B[5].open,$whenCondition9,$PRE.B[6].open,B[6].open,$whenCondition7,$PRE.B[7].open,B[7].open,$whenCondition5,$PRE.B[8].open,B[8].open,$whenCondition3,$PRE.B[9].open,B[9].open,$whenCondition1,$PRE.B[10].open,B[10].open,$whenCondition20,$whenCondition18,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B[1].G,B[1].G,$PRE.B[2].G,B[2].G,$PRE.B[3].G,B[3].G,$PRE.B[4].G,B[4].G,$PRE.B[5].G,B[5].G,$PRE.B[6].G,B[6].G,$PRE.B[7].G,B[7].G,$PRE.B[8].G,B[8].G,$PRE.B[9].G,B[9].G,$PRE.B[10].G,B[10].G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,30.9%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.173, allocations: 165.8 kB / 0.7664 GB, free: 122.5 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001188/1.174, allocations: 1.111 MB / 0.7675 GB, free: 122.1 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/1.174, allocations: 77.66 kB / 0.7675 GB, free: 122.1 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/1.174, allocations: 82.3 kB / 0.7676 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/1.174, allocations: 7.75 kB / 0.7676 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/1.174, allocations: 7.828 kB / 0.7676 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.174, allocations: 7.359 kB / 0.7676 GB, free: 122 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/1.175, allocations: 0.7091 MB / 0.7683 GB, free: 121.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.175, allocations: 4 kB / 0.7683 GB, free: 121.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/1.175, allocations: 39.84 kB / 0.7684 GB, free: 121.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005843/1.176, allocations: 392.7 kB / 0.7687 GB, free: 121.1 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/1.176, allocations: 11.84 kB / 0.7687 GB, free: 121.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/1.179, allocations: 3.981 MB / 0.7726 GB, free: 117.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.179, allocations: 4 kB / 0.7726 GB, free: 117.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/1.181, allocations: 1.677 MB / 0.7743 GB, free: 115.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/1.181, allocations: 152.2 kB / 0.7744 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.621e-05/1.181, allocations: 19.97 kB / 0.7744 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/1.182, allocations: 123.9 kB / 0.7746 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/1.182, allocations: 120.6 kB / 0.7747 GB, free: 115.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/1.182, allocations: 35.97 kB / 0.7747 GB, free: 115.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002682/1.182, allocations: 394.8 kB / 0.7751 GB, free: 115 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.182, allocations: 4 kB / 0.7751 GB, free: 115 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005806/1.183, allocations: 323.3 kB / 0.7754 GB, free: 114.6 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (firstOrder.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G,B[4].open,B[4].G,B[5].open,B[5].G,B[6].open,B[6].G,B[7].open,B[7].G,B[8].open,B[8].G,B[9].open,B[9].G,B[10].open,B[10].G) * Number of discrete states: 10 (B[10].open,B[9].open,B[8].open,B[7].open,B[6].open,B[5].open,B[4].open,B[3].open,B[2].open,B[1].open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,30.9%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001961/1.185, allocations: 2.287 MB / 0.7776 GB, free: 112.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001465/1.186, allocations: 1.331 MB / 0.7789 GB, free: 111 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.186, allocations: 4.188 kB / 0.7789 GB, free: 111 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0008919/1.187, allocations: 0.7856 MB / 0.7797 GB, free: 110.2 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/1.187, allocations: 87.75 kB / 0.7798 GB, free: 110.1 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/1.189, allocations: 1.561 MB / 0.7813 GB, free: 108.5 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/1.19, allocations: 1.155 MB / 0.7824 GB, free: 107.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0002627/1.19, allocations: 137 kB / 0.7826 GB, free: 107.2 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/1.19, allocations: 265.4 kB / 0.7828 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of SimCode: time 2.6e-07/1.19, allocations: 0 / 0.7828 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.041/1.231, allocations: 17.69 MB / 0.8001 GB, free: 89.41 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/1.231, allocations: 227.3 kB / 0.8003 GB, free: 89.12 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.422, allocations: 1.969 kB / 0.8003 GB, free: 89.12 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_ScaledExperiments_BreakerNetwork_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10_res.mat does not exist to compare? outputFormat=mat