Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.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.Verification.BreakerNetwork_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",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.001143/0.001143, allocations: 180.5 kB / 16.38 MB, free: 5.766 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.261/1.261, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008961/0.0008962, allocations: 94.89 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7522/0.7522, allocations: 120.4 MB / 463 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 8 kB / 0.5434 GB, free: 42.31 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 82.85 MB / 0.6243 GB, free: 9.117 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6665/0.8116, allocations: 128.4 MB / 0.7497 GB, free: 5.48 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001103/0.8117, allocations: 45.98 kB / 0.7497 GB, free: 5.461 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01353/0.8253, allocations: 5.523 MB / 0.7551 GB, free: 0.6875 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8253, allocations: 8 kB / 0.7551 GB, free: 0.6797 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.8253, allocations: 8 kB / 0.7551 GB, free: 0.6719 MB / 0.5107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009948/0.8263, allocations: 0.6668 MB / 0.7558 GB, free: 15.97 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.8264, allocations: 15.97 kB / 0.7558 GB, free: 15.96 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.928e-05/0.8265, allocations: 75.06 kB / 0.7559 GB, free: 15.9 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.8266, allocations: 43.52 kB / 0.7559 GB, free: 15.86 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.827, allocations: 301 kB / 0.7562 GB, free: 15.54 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.8271, allocations: 31.33 kB / 0.7562 GB, free: 15.52 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.8271, allocations: 31.25 kB / 0.7563 GB, free: 15.5 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.8277, allocations: 382.5 kB / 0.7566 GB, free: 15.21 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8277, allocations: 0 / 0.7566 GB, free: 15.21 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.8277, allocations: 19.31 kB / 0.7566 GB, free: 15.2 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.8277, allocations: 8 kB / 0.7566 GB, free: 15.2 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.8282, allocations: 328.9 kB / 0.757 GB, free: 14.96 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.8301, allocations: 1.278 MB / 0.7582 GB, free: 13.82 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.8305, allocations: 290.8 kB / 0.7585 GB, free: 13.61 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.8305, allocations: 4 kB / 0.7585 GB, free: 13.6 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.8309, allocations: 305 kB / 0.7588 GB, free: 13.33 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/0.8309, allocations: 0 / 0.7588 GB, free: 13.33 MB / 0.5263 GB Notification: Performance of matching and sorting (n=30): time 0.001544/0.8325, allocations: 0.7877 MB / 0.7595 GB, free: 12.63 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/0.8326, allocations: 170 kB / 0.7597 GB, free: 12.43 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.8328, allocations: 273.9 kB / 0.76 GB, free: 12.2 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.8329, allocations: 40.75 kB / 0.76 GB, free: 12.16 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.833, allocations: 187.1 kB / 0.7602 GB, free: 12.01 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.8331, allocations: 89.42 kB / 0.7603 GB, free: 11.93 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.8331, allocations: 7.812 kB / 0.7603 GB, free: 11.93 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.8332, allocations: 342.5 kB / 0.7606 GB, free: 11.6 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.8335, allocations: 166.5 kB / 0.7608 GB, free: 11.48 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.8338, allocations: 261.3 kB / 0.761 GB, free: 11.25 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.834, allocations: 202.3 kB / 0.7612 GB, free: 11.11 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.834, allocations: 0 / 0.7612 GB, free: 11.11 MB / 0.5263 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007879/0.8348, allocations: 0.5784 MB / 0.7618 GB, free: 10.66 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8349, allocations: 10.66 kB / 0.7618 GB, free: 10.65 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.8349, allocations: 0 / 0.7618 GB, free: 10.65 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/0.8352, allocations: 115.9 kB / 0.7619 GB, free: 10.55 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.8354, allocations: 47.91 kB / 0.7619 GB, free: 10.5 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.8374, allocations: 2.16 MB / 0.764 GB, free: 8.523 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.8377, allocations: 68.5 kB / 0.7641 GB, free: 8.461 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.8378, allocations: 11.81 kB / 0.7641 GB, free: 8.453 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition5,$PRE.B[1].open,B[1].open,$whenCondition3,$PRE.B[2].open,B[2].open,$whenCondition1,$PRE.B[3].open,B[3].open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B[1].G,B[1].G,$PRE.B[2].G,B[2].G,$PRE.B[3].G,B[3].G) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.838, allocations: 211.1 kB / 0.7643 GB, free: 8.266 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.838, allocations: 31.72 kB / 0.7644 GB, free: 8.234 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.487e-05/0.8381, allocations: 38.14 kB / 0.7644 GB, free: 8.219 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8381, allocations: 4 kB / 0.7644 GB, free: 8.215 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8381, allocations: 0 / 0.7644 GB, free: 8.215 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8381, allocations: 0 / 0.7644 GB, free: 8.215 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.8385, allocations: 408 kB / 0.7648 GB, free: 7.836 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.8385, allocations: 4 kB / 0.7648 GB, free: 7.832 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.8386, allocations: 20.67 kB / 0.7648 GB, free: 7.812 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002647/0.8389, allocations: 116.7 kB / 0.7649 GB, free: 7.715 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.8389, allocations: 7.547 kB / 0.7649 GB, free: 7.711 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.8409, allocations: 2.169 MB / 0.767 GB, free: 5.723 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8409, allocations: 0 / 0.767 GB, free: 5.723 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008757/0.8418, allocations: 0.6475 MB / 0.7677 GB, free: 5.207 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.8419, allocations: 112.7 kB / 0.7678 GB, free: 5.082 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.8419, allocations: 11.94 kB / 0.7678 GB, free: 5.074 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.8422, allocations: 47.83 kB / 0.7678 GB, free: 5.031 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.8422, allocations: 27.89 kB / 0.7679 GB, free: 5.008 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.8423, allocations: 11.98 kB / 0.7679 GB, free: 4.996 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.000188/0.8425, allocations: 218.2 kB / 0.7681 GB, free: 4.816 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8425, allocations: 4 kB / 0.7681 GB, free: 4.812 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003514/0.8428, allocations: 127.3 kB / 0.7682 GB, free: 4.699 MB / 0.5263 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G) * Number of discrete states: 3 (B[3].open,B[2].open,B[1].open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.8441, allocations: 1.234 MB / 0.7694 GB, free: 3.605 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0008074/0.8449, allocations: 0.5447 MB / 0.77 GB, free: 3.148 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.845, allocations: 0 / 0.77 GB, free: 3.148 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.8454, allocations: 344.1 kB / 0.7703 GB, free: 2.855 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.8457, allocations: 48.09 kB / 0.7703 GB, free: 2.824 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.8472, allocations: 1.751 MB / 0.772 GB, free: 1.102 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.8476, allocations: 0.8458 MB / 0.7729 GB, free: 248 kB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.8477, allocations: 63.2 kB / 0.7729 GB, free: 188 kB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.8479, allocations: 89.09 kB / 0.773 GB, free: 160 kB / 0.5263 GB Notification: Performance of SimCode: time 2.21e-07/0.8479, allocations: 0 / 0.773 GB, free: 160 kB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.8672, allocations: 7.433 MB / 0.7803 GB, free: 8.992 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/0.8675, allocations: 279.8 kB / 0.7805 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.857, allocations: 0 / 0.7805 GB, free: 8.637 MB / 0.5419 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat does not exist to compare? outputFormat=mat