Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_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.BreakerNetworkDelayed_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Scalar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_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.001187/0.001187, allocations: 179.3 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.272/1.272, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.0009523/0.0009485, allocations: 94.09 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7579/0.7579, allocations: 120.5 MB / 463 MB, free: 8.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 11.19 kB / 0.5434 GB, free: 42.31 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 82.85 MB / 0.6243 GB, free: 9.133 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6491/0.7876, allocations: 128.4 MB / 0.7497 GB, free: 5.598 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001451/0.7878, allocations: 50.72 kB / 0.7498 GB, free: 5.574 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01384/0.8017, allocations: 5.553 MB / 0.7552 GB, free: 0.8125 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8017, allocations: 0 / 0.7552 GB, free: 0.8125 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.8017, allocations: 8 kB / 0.7552 GB, free: 0.8047 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001015/0.8028, allocations: 0.7117 MB / 0.7559 GB, free: 56 kB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.8028, allocations: 8.031 kB / 0.7559 GB, free: 48 kB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.8029, allocations: 69.25 kB / 0.756 GB, free: 15.98 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.859e-05/0.803, allocations: 47.34 kB / 0.756 GB, free: 15.94 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.8034, allocations: 265.6 kB / 0.7563 GB, free: 15.66 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.8034, allocations: 27.89 kB / 0.7563 GB, free: 15.64 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.8035, allocations: 27.81 kB / 0.7563 GB, free: 15.62 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.8039, allocations: 286.6 kB / 0.7566 GB, free: 15.42 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.804, allocations: 4 kB / 0.7566 GB, free: 15.42 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.804, allocations: 15.36 kB / 0.7566 GB, free: 15.41 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.804, allocations: 11.95 kB / 0.7566 GB, free: 15.4 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.8044, allocations: 204.2 kB / 0.7568 GB, free: 15.26 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.8061, allocations: 1.105 MB / 0.7579 GB, free: 14.27 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.8064, allocations: 225 kB / 0.7581 GB, free: 14.12 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.8065, allocations: 240 / 0.7581 GB, free: 14.12 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/0.807, allocations: 468.6 kB / 0.7586 GB, free: 13.66 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.807, allocations: 0 / 0.7586 GB, free: 13.66 MB / 0.5263 GB Notification: Performance of matching and sorting (n=42): time 0.001623/0.8087, allocations: 1.013 MB / 0.7595 GB, free: 12.68 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/0.8088, allocations: 408.7 kB / 0.7599 GB, free: 12.19 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.809, allocations: 210 kB / 0.7601 GB, free: 12.01 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.8091, allocations: 36.7 kB / 0.7602 GB, free: 11.98 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.8092, allocations: 182.8 kB / 0.7603 GB, free: 11.82 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.8093, allocations: 121.5 kB / 0.7605 GB, free: 11.72 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.8093, allocations: 7.75 kB / 0.7605 GB, free: 11.72 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8095, allocations: 350 kB / 0.7608 GB, free: 11.39 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.8097, allocations: 110.8 kB / 0.7609 GB, free: 11.31 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.8099, allocations: 194.7 kB / 0.7611 GB, free: 11.14 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.8102, allocations: 215.9 kB / 0.7613 GB, free: 10.96 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8102, allocations: 0 / 0.7613 GB, free: 10.96 MB / 0.5263 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007396/0.8109, allocations: 0.554 MB / 0.7618 GB, free: 10.5 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.811, allocations: 91.8 kB / 0.7619 GB, free: 10.4 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.811, allocations: 0 / 0.7619 GB, free: 10.4 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002794/0.8113, allocations: 87.73 kB / 0.762 GB, free: 10.33 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.8115, allocations: 35.92 kB / 0.762 GB, free: 10.29 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.8131, allocations: 1.788 MB / 0.7638 GB, free: 8.613 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.8135, allocations: 83.14 kB / 0.7639 GB, free: 8.539 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.8135, allocations: 15.94 kB / 0.7639 GB, free: 8.527 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: 36 ($whenCondition11,$PRE.B1.open,B1.open,$whenCondition9,$PRE.B2.open,B2.open,$whenCondition7,$PRE.B3.open,B3.open,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.B1.triggered,B1.triggered,$PRE.B1.G,B1.G,$PRE.B1.timeClose,B1.timeClose,$PRE.B2.triggered,B2.triggered,$PRE.B2.G,B2.G,$PRE.B2.timeClose,B2.timeClose,$PRE.B3.triggered,B3.triggered,$PRE.B3.G,B3.G,$PRE.B3.timeClose,B3.timeClose) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 3 * 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.0002192/0.8137, allocations: 259.9 kB / 0.7641 GB, free: 8.273 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.8138, allocations: 43.55 kB / 0.7642 GB, free: 8.23 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.8139, allocations: 29.94 kB / 0.7642 GB, free: 8.215 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8139, allocations: 8 kB / 0.7642 GB, free: 8.207 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.8139, allocations: 4 kB / 0.7642 GB, free: 8.203 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.8139, allocations: 3.984 kB / 0.7642 GB, free: 8.199 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.8142, allocations: 393.2 kB / 0.7646 GB, free: 7.84 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8142, allocations: 3.984 kB / 0.7646 GB, free: 7.836 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.8144, allocations: 16 kB / 0.7646 GB, free: 7.82 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.8146, allocations: 80.3 kB / 0.7647 GB, free: 7.754 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.8146, allocations: 15.94 kB / 0.7647 GB, free: 7.742 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.8162, allocations: 1.787 MB / 0.7665 GB, free: 6.062 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8162, allocations: 0 / 0.7665 GB, free: 6.062 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009859/0.8172, allocations: 0.7325 MB / 0.7672 GB, free: 5.473 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.8173, allocations: 104.7 kB / 0.7673 GB, free: 5.355 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.8173, allocations: 15.88 kB / 0.7673 GB, free: 5.344 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.8176, allocations: 59.58 kB / 0.7673 GB, free: 5.289 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.8177, allocations: 39.19 kB / 0.7674 GB, free: 5.258 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.8178, allocations: 19.92 kB / 0.7674 GB, free: 5.242 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0001373/0.8179, allocations: 167.7 kB / 0.7676 GB, free: 5.105 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8179, allocations: 4 kB / 0.7676 GB, free: 5.102 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003763/0.8183, allocations: 138.6 kB / 0.7677 GB, free: 4.98 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: 24 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,B1.open,B1.triggered,B1.G,B1.timeClose,B2.open,B2.triggered,B2.G,B2.timeClose,B3.open,B3.triggered,B3.G,B3.timeClose) * Number of discrete states: 15 (B1.timeClose,B1.triggered,$whenCondition2,$whenCondition1,B2.timeClose,B2.triggered,$whenCondition4,$whenCondition3,B3.timeClose,B3.triggered,$whenCondition6,$whenCondition5,B3.open,B2.open,B1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 3 * 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.001436/0.8197, allocations: 1.327 MB / 0.769 GB, free: 3.797 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0008675/0.8206, allocations: 0.6558 MB / 0.7696 GB, free: 3.195 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8206, allocations: 0 / 0.7696 GB, free: 3.195 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0005368/0.8212, allocations: 0.5284 MB / 0.7701 GB, free: 2.707 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.8214, allocations: 45.94 kB / 0.7702 GB, free: 2.676 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.8241, allocations: 2.467 MB / 0.7726 GB, free: 452 kB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.8244, allocations: 0.7956 MB / 0.7734 GB, free: 15.62 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.8246, allocations: 27.25 kB / 0.7734 GB, free: 15.59 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.8247, allocations: 104.7 kB / 0.7735 GB, free: 15.56 MB / 0.5419 GB Notification: Performance of SimCode: time 6.41e-07/0.8247, allocations: 0 / 0.7735 GB, free: 15.56 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.8455, allocations: 7.195 MB / 0.7805 GB, free: 8.641 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/0.8458, allocations: 296.4 kB / 0.7808 GB, free: 8.277 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/2.913, allocations: 8 kB / 0.7808 GB, free: 8.27 MB / 0.5419 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Scalar_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetworkDelayed_3_Scalar.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar_res.mat does not exist to compare? outputFormat=mat