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.0009749/0.0009749, allocations: 181.3 kB / 16.39 MB, free: 5.762 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.198/1.198, 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.0008975/0.0008973, allocations: 105 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6846/0.6846, allocations: 120.5 MB / 463 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 8 kB / 0.5434 GB, free: 42.29 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1362, allocations: 82.86 MB / 0.6243 GB, free: 9.109 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6657/0.8019, allocations: 128.4 MB / 0.7497 GB, free: 5.652 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.8022, allocations: 70.25 kB / 0.7498 GB, free: 5.621 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03106/0.8332, allocations: 12.94 MB / 0.7624 GB, free: 10.4 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8333, allocations: 3.938 kB / 0.7624 GB, free: 10.39 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 3.249e-05/0.8333, allocations: 16 kB / 0.7624 GB, free: 10.38 MB / 0.5263 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.002169/0.8355, allocations: 1.371 MB / 0.7638 GB, free: 8.992 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.8355, allocations: 8.031 kB / 0.7638 GB, free: 8.984 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.8357, allocations: 129.2 kB / 0.7639 GB, free: 8.895 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.8358, allocations: 102.9 kB / 0.764 GB, free: 8.793 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000934/0.8368, allocations: 0.5617 MB / 0.7646 GB, free: 8.254 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.8368, allocations: 56.56 kB / 0.7646 GB, free: 8.219 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/0.8369, allocations: 83.09 kB / 0.7647 GB, free: 8.16 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.8382, allocations: 0.9848 MB / 0.7656 GB, free: 7.438 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.8382, allocations: 8 kB / 0.7657 GB, free: 7.43 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.8383, allocations: 38.2 kB / 0.7657 GB, free: 7.418 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.8383, allocations: 16 kB / 0.7657 GB, free: 7.402 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.8394, allocations: 0.8742 MB / 0.7666 GB, free: 6.77 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.844, allocations: 3.204 MB / 0.7697 GB, free: 4.008 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/0.8448, allocations: 0.8223 MB / 0.7705 GB, free: 3.445 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.8449, allocations: 12.56 kB / 0.7705 GB, free: 3.434 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000823/0.8457, allocations: 0.7529 MB / 0.7712 GB, free: 2.777 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=86): time 1.864e-06/0.8457, allocations: 0 / 0.7712 GB, free: 2.777 MB / 0.5263 GB Notification: Performance of matching and sorting (n=86): time 0.005087/0.8508, allocations: 2.54 MB / 0.7737 GB, free: 0.5742 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.851, allocations: 370.9 kB / 0.7741 GB, free: 144 kB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.8515, allocations: 0.592 MB / 0.7747 GB, free: 15.66 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.8516, allocations: 69.11 kB / 0.7747 GB, free: 15.6 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.8518, allocations: 368 kB / 0.7751 GB, free: 15.32 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.8519, allocations: 251 kB / 0.7753 GB, free: 15.11 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.852, allocations: 23.44 kB / 0.7753 GB, free: 15.11 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8521, allocations: 393.6 kB / 0.7757 GB, free: 14.75 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/0.8527, allocations: 484.3 kB / 0.7762 GB, free: 14.4 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.8534, allocations: 0.7175 MB / 0.7769 GB, free: 13.78 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.854, allocations: 0.5573 MB / 0.7774 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.8541, allocations: 0 / 0.7774 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001928/0.856, allocations: 1.594 MB / 0.779 GB, free: 12.18 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.856, allocations: 6.656 kB / 0.779 GB, free: 12.18 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.856, allocations: 4 kB / 0.779 GB, free: 12.17 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007586/0.8568, allocations: 414.1 kB / 0.7794 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.8572, allocations: 127 kB / 0.7795 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004471/0.8617, allocations: 4.278 MB / 0.7837 GB, free: 8.246 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/0.8624, allocations: 190.6 kB / 0.7839 GB, free: 8.078 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.8624, allocations: 35.81 kB / 0.7839 GB, free: 8.051 MB / 0.5419 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 () * Number of clocked 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.0003999/0.8628, allocations: 396.1 kB / 0.7843 GB, free: 7.73 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.81e-05/0.863, allocations: 79.14 kB / 0.7843 GB, free: 7.652 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.8631, allocations: 93.52 kB / 0.7844 GB, free: 7.609 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.8631, allocations: 11.94 kB / 0.7844 GB, free: 7.598 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.8631, allocations: 8 kB / 0.7845 GB, free: 7.59 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.8632, allocations: 3.984 kB / 0.7845 GB, free: 7.586 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007617/0.8639, allocations: 0.8386 MB / 0.7853 GB, free: 6.887 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8639, allocations: 480 / 0.7853 GB, free: 6.887 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.8641, allocations: 39.97 kB / 0.7853 GB, free: 6.848 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007049/0.8648, allocations: 410.5 kB / 0.7857 GB, free: 6.504 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.8649, allocations: 19.67 kB / 0.7857 GB, free: 6.496 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/0.8693, allocations: 4.269 MB / 0.7899 GB, free: 3.043 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8694, allocations: 0 / 0.7899 GB, free: 3.043 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.8715, allocations: 1.793 MB / 0.7916 GB, free: 1.691 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.8717, allocations: 167.7 kB / 0.7918 GB, free: 1.516 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/0.8718, allocations: 27.61 kB / 0.7918 GB, free: 1.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/0.8724, allocations: 139.7 kB / 0.792 GB, free: 1.375 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.8726, allocations: 116.4 kB / 0.7921 GB, free: 1.273 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/0.8726, allocations: 35.53 kB / 0.7921 GB, free: 1.242 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.00042/0.8731, allocations: 462.9 kB / 0.7926 GB, free: 0.8906 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8731, allocations: 0 / 0.7926 GB, free: 0.8906 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007006/0.8738, allocations: 353.7 kB / 0.7929 GB, free: 0.5781 MB / 0.5419 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) * Number of clocked states: 0 () * 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.002666/0.8765, allocations: 2.403 MB / 0.7952 GB, free: 14.62 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.8784, allocations: 1.449 MB / 0.7967 GB, free: 13.47 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8784, allocations: 192 / 0.7967 GB, free: 13.47 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.8795, allocations: 0.8485 MB / 0.7975 GB, free: 12.78 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.88, allocations: 128.4 kB / 0.7976 GB, free: 12.69 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.8836, allocations: 4.321 MB / 0.8018 GB, free: 8.551 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.8842, allocations: 1.153 MB / 0.8029 GB, free: 7.41 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.0003383/0.8845, allocations: 145.4 kB / 0.8031 GB, free: 7.266 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.8848, allocations: 259.9 kB / 0.8033 GB, free: 7.203 MB / 0.5575 GB Notification: Performance of SimCode: time 5.31e-07/0.8848, allocations: 0 / 0.8033 GB, free: 7.203 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.9171, allocations: 19.39 MB / 0.8223 GB, free: 4.145 MB / 0.5732 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.9174, allocations: 298 kB / 0.8226 GB, free: 3.781 MB / 0.5732 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.298, allocations: 0 / 0.8226 GB, free: 3.781 MB / 0.5732 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