Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.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_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar",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.001281/0.001281, allocations: 181.9 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: 11.89 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.000875/0.0008748, allocations: 84.66 kB / 291.5 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7188/0.7188, allocations: 120.5 MB / 463 MB, free: 8.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 12 kB / 0.5434 GB, free: 42.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 82.85 MB / 0.6243 GB, free: 9.156 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7153/0.8562, allocations: 128.3 MB / 0.7496 GB, free: 5.711 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000159/0.8564, allocations: 49.61 kB / 0.7497 GB, free: 5.691 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.8688, allocations: 5.189 MB / 0.7548 GB, free: 1.25 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8688, allocations: 0 / 0.7548 GB, free: 1.25 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.8688, allocations: 4 kB / 0.7548 GB, free: 1.246 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.0008522/0.8697, allocations: 0.6048 MB / 0.7553 GB, free: 0.6172 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.8697, allocations: 12.03 kB / 0.7554 GB, free: 0.6055 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.8698, allocations: 69.8 kB / 0.7554 GB, free: 0.5469 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.8699, allocations: 35.62 kB / 0.7555 GB, free: 0.5117 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.8702, allocations: 270.7 kB / 0.7557 GB, free: 228 kB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.8702, allocations: 29.14 kB / 0.7557 GB, free: 212 kB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.8703, allocations: 27.44 kB / 0.7558 GB, free: 192 kB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.8707, allocations: 253.8 kB / 0.756 GB, free: 8 kB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.8707, allocations: 0 / 0.756 GB, free: 8 kB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.8707, allocations: 11.75 kB / 0.756 GB, free: 4 kB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.8708, allocations: 15.94 kB / 0.756 GB, free: 15.98 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.8711, allocations: 195.9 kB / 0.7562 GB, free: 15.85 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.8726, allocations: 1.042 MB / 0.7572 GB, free: 14.93 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.8729, allocations: 200.4 kB / 0.7574 GB, free: 14.79 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.8729, allocations: 0 / 0.7574 GB, free: 14.79 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/0.8732, allocations: 222.1 kB / 0.7576 GB, free: 14.59 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.8733, allocations: 8 kB / 0.7577 GB, free: 14.58 MB / 0.5263 GB Notification: Performance of matching and sorting (n=30): time 0.001262/0.8745, allocations: 0.5623 MB / 0.7582 GB, free: 14.08 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/0.8746, allocations: 159.9 kB / 0.7584 GB, free: 13.89 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.8748, allocations: 206.7 kB / 0.7586 GB, free: 13.72 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.8749, allocations: 33.58 kB / 0.7586 GB, free: 13.68 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.875, allocations: 182.4 kB / 0.7588 GB, free: 13.53 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/0.875, allocations: 88.55 kB / 0.7588 GB, free: 13.46 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.8751, allocations: 10.62 kB / 0.7589 GB, free: 13.45 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.8752, allocations: 337.7 kB / 0.7592 GB, free: 13.12 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.8753, allocations: 85.45 kB / 0.7593 GB, free: 13.07 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.8755, allocations: 163.5 kB / 0.7594 GB, free: 12.92 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.8757, allocations: 110.9 kB / 0.7595 GB, free: 12.86 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8757, allocations: 0 / 0.7595 GB, free: 12.86 MB / 0.5263 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005427/0.8763, allocations: 372.8 kB / 0.7599 GB, free: 12.57 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.8763, allocations: 4 kB / 0.7599 GB, free: 12.57 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8763, allocations: 3.938 kB / 0.7599 GB, free: 12.57 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/0.8766, allocations: 86.67 kB / 0.76 GB, free: 12.49 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.8768, allocations: 35.92 kB / 0.76 GB, free: 12.46 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.8785, allocations: 1.798 MB / 0.7618 GB, free: 10.75 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.8787, allocations: 55.58 kB / 0.7618 GB, free: 10.71 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.8787, allocations: 12 kB / 0.7618 GB, free: 10.7 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.B1.open,B1.open,$whenCondition3,$PRE.B2.open,B2.open,$whenCondition1,$PRE.B3.open,B3.open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B1.G,B1.G,$PRE.B2.G,B2.G,$PRE.B3.G,B3.G) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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.000146/0.8789, allocations: 157.9 kB / 0.762 GB, free: 10.55 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.8789, allocations: 23.72 kB / 0.762 GB, free: 10.53 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.879, allocations: 34.27 kB / 0.762 GB, free: 10.52 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.879, allocations: 0 / 0.762 GB, free: 10.52 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.879, allocations: 4 kB / 0.762 GB, free: 10.51 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.879, allocations: 4 kB / 0.762 GB, free: 10.51 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.8793, allocations: 358.4 kB / 0.7624 GB, free: 10.18 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8793, allocations: 0 / 0.7624 GB, free: 10.18 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.8794, allocations: 15.98 kB / 0.7624 GB, free: 10.16 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001874/0.8796, allocations: 80.48 kB / 0.7625 GB, free: 10.09 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.8797, allocations: 0 / 0.7625 GB, free: 10.09 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.8812, allocations: 1.784 MB / 0.7642 GB, free: 8.41 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8812, allocations: 3.938 kB / 0.7642 GB, free: 8.406 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.8818, allocations: 470.9 kB / 0.7647 GB, free: 8.047 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.8819, allocations: 104.8 kB / 0.7648 GB, free: 7.926 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.882, allocations: 7.938 kB / 0.7648 GB, free: 7.922 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.8821, allocations: 35.91 kB / 0.7648 GB, free: 7.891 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.8822, allocations: 23.91 kB / 0.7648 GB, free: 7.871 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.8823, allocations: 15.8 kB / 0.7648 GB, free: 7.859 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0001433/0.8824, allocations: 159.3 kB / 0.765 GB, free: 7.727 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8824, allocations: 3.938 kB / 0.765 GB, free: 7.723 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003399/0.8828, allocations: 108 kB / 0.7651 GB, free: 7.629 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,B1.open,B1.G,B2.open,B2.G,B3.open,B3.G) * Number of discrete states: 3 (B3.open,B2.open,B1.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.001081/0.8838, allocations: 1.017 MB / 0.7661 GB, free: 6.719 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0006275/0.8845, allocations: 404 kB / 0.7665 GB, free: 6.383 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8845, allocations: 7.875 kB / 0.7665 GB, free: 6.379 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.8849, allocations: 281 kB / 0.7668 GB, free: 6.133 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.8851, allocations: 45.23 kB / 0.7668 GB, free: 6.105 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.8872, allocations: 2.209 MB / 0.769 GB, free: 4.066 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.8875, allocations: 0.7913 MB / 0.7697 GB, free: 3.246 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 8.357e-05/0.8876, allocations: 22.3 kB / 0.7697 GB, free: 3.227 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.717e-05/0.8877, allocations: 96.64 kB / 0.7698 GB, free: 3.195 MB / 0.5263 GB Notification: Performance of SimCode: time 7.01e-07/0.8877, allocations: 0 / 0.7698 GB, free: 3.195 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.9052, allocations: 6.058 MB / 0.7758 GB, free: 13.39 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.9055, allocations: 281 kB / 0.776 GB, free: 13.04 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.844, allocations: 2.578 kB / 0.776 GB, free: 13.04 MB / 0.5419 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat does not exist to compare? outputFormat=mat