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.0008613/0.0008613, allocations: 174.4 kB / 13.63 MB, free: 1.684 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.056/1.056, allocations: 221.3 MB / 235.5 MB, free: 2.945 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.0007509/0.0007509, allocations: 97.97 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6871/0.6871, allocations: 120.5 MB / 457.9 MB, free: 7.02 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.962e-05, allocations: 224 / 0.5358 GB, free: 12.09 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4047, allocations: 82.84 MB / 0.6167 GB, free: 9.324 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.5192, allocations: 128.3 MB / 0.742 GB, free: 8.844 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001111/0.5194, allocations: 51.98 kB / 0.7421 GB, free: 8.793 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01247/0.5318, allocations: 5.546 MB / 0.7475 GB, free: 3.23 MB / 0.5419 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5318, allocations: 224 / 0.7475 GB, free: 3.23 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.5319, allocations: 8 kB / 0.7475 GB, free: 3.223 MB / 0.5419 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.0007121/0.5326, allocations: 0.6763 MB / 0.7482 GB, free: 2.48 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.5326, allocations: 12.03 kB / 0.7482 GB, free: 2.469 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.251e-05/0.5327, allocations: 66.53 kB / 0.7482 GB, free: 2.395 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.5328, allocations: 47.48 kB / 0.7483 GB, free: 2.348 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.533, allocations: 270.4 kB / 0.7485 GB, free: 2.043 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.533, allocations: 28.78 kB / 0.7486 GB, free: 2.016 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.5331, allocations: 28 kB / 0.7486 GB, free: 1.988 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.5335, allocations: 275.8 kB / 0.7489 GB, free: 1.711 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5335, allocations: 0 / 0.7489 GB, free: 1.711 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.5336, allocations: 16 kB / 0.7489 GB, free: 1.695 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5336, allocations: 7.953 kB / 0.7489 GB, free: 1.688 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.5339, allocations: 199 kB / 0.7491 GB, free: 1.496 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.5353, allocations: 1.101 MB / 0.7501 GB, free: 320 kB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.5356, allocations: 210 kB / 0.7503 GB, free: 104 kB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4097/0.9453, allocations: 138.3 kB / 0.7505 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.9454, allocations: 2.547 kB / 0.7505 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004939/0.9459, allocations: 446.3 kB / 0.7509 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=42): time 1.724e-06/0.9459, allocations: 3.5 kB / 0.7509 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of matching and sorting (n=42): time 0.0007546/0.9466, allocations: 492.9 kB / 0.7514 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.9467, allocations: 414.6 kB / 0.7518 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.9469, allocations: 206.2 kB / 0.752 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.9469, allocations: 39.67 kB / 0.752 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.947, allocations: 185.2 kB / 0.7522 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.9471, allocations: 109 kB / 0.7523 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.9471, allocations: 11.69 kB / 0.7523 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.9472, allocations: 340.6 kB / 0.7526 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.9473, allocations: 103.8 kB / 0.7527 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.9475, allocations: 190.1 kB / 0.7529 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.9477, allocations: 205.2 kB / 0.7531 GB, free: 129 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9477, allocations: 0 / 0.7531 GB, free: 129 MB / 0.5421 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006333/0.9483, allocations: 0.5251 MB / 0.7536 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.9484, allocations: 90.75 kB / 0.7537 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9484, allocations: 1.594 kB / 0.7537 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.9487, allocations: 83.27 kB / 0.7538 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.9488, allocations: 48.8 kB / 0.7538 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.9501, allocations: 1.75 MB / 0.7555 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.9504, allocations: 72.95 kB / 0.7556 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.9505, allocations: 18.73 kB / 0.7556 GB, free: 127.4 MB / 0.5421 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 () * 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.0001155/0.9506, allocations: 234.2 kB / 0.7559 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.9506, allocations: 44.09 kB / 0.7559 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.9507, allocations: 32 kB / 0.7559 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.9507, allocations: 4.5 kB / 0.7559 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9507, allocations: 1.797 kB / 0.7559 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.9507, allocations: 3.141 kB / 0.7559 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.951, allocations: 399.3 kB / 0.7563 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.951, allocations: 0.9688 kB / 0.7563 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.617e-05/0.9511, allocations: 20.58 kB / 0.7563 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/0.9513, allocations: 83.89 kB / 0.7564 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.9514, allocations: 15.28 kB / 0.7564 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.9526, allocations: 1.751 MB / 0.7581 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9526, allocations: 2.25 kB / 0.7581 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.9534, allocations: 0.7031 MB / 0.7588 GB, free: 125 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.9535, allocations: 106.5 kB / 0.7589 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.9535, allocations: 13.47 kB / 0.7589 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.9538, allocations: 57.09 kB / 0.759 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.9539, allocations: 42.95 kB / 0.759 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.9539, allocations: 20.78 kB / 0.7591 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.000106/0.954, allocations: 166.2 kB / 0.7592 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.2e-07/0.954, allocations: 0 / 0.7592 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0003349/0.9544, allocations: 144.8 kB / 0.7594 GB, free: 124.8 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: 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) * 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.001119/0.9555, allocations: 1.286 MB / 0.7606 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0006661/0.9562, allocations: 0.629 MB / 0.7612 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.9562, allocations: 3.938 kB / 0.7612 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.9566, allocations: 0.5148 MB / 0.7617 GB, free: 123 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.9568, allocations: 52.44 kB / 0.7618 GB, free: 123 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007187/0.9576, allocations: 490.5 kB / 0.7622 GB, free: 122.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.9577, allocations: 0.7991 MB / 0.763 GB, free: 122 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 9.206e-05/0.9578, allocations: 27.5 kB / 0.7631 GB, free: 122 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.9579, allocations: 104.3 kB / 0.7632 GB, free: 122 MB / 0.5421 GB Notification: Performance of SimCode: time 2.2e-07/0.958, allocations: 0 / 0.7632 GB, free: 122 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.9752, allocations: 7.285 MB / 0.7703 GB, free: 120.2 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.9754, allocations: 262.2 kB / 0.7705 GB, free: 119.9 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.836, allocations: 0 / 0.7705 GB, free: 119.9 MB / 0.5421 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