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.0008616/0.0008616, allocations: 175.1 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.071/1.071, 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.0007648/0.0007648, allocations: 95.59 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7024/0.7024, allocations: 120.4 MB / 457.8 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.119e-05, allocations: 4 kB / 0.5358 GB, free: 12.1 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4213, allocations: 82.83 MB / 0.6167 GB, free: 9.332 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.5362, allocations: 128.3 MB / 0.7419 GB, free: 8.941 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001083/0.5363, allocations: 55.91 kB / 0.742 GB, free: 8.887 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01188/0.5482, allocations: 5.187 MB / 0.7471 GB, free: 3.684 MB / 0.5419 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5482, allocations: 0 / 0.7471 GB, free: 3.684 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.5483, allocations: 8 kB / 0.7471 GB, free: 3.676 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000631/0.5489, allocations: 0.5697 MB / 0.7476 GB, free: 3.062 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.5489, allocations: 12.03 kB / 0.7476 GB, free: 3.051 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/0.549, allocations: 62.53 kB / 0.7477 GB, free: 2.98 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.5491, allocations: 39.58 kB / 0.7477 GB, free: 2.941 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.5493, allocations: 267.4 kB / 0.748 GB, free: 2.637 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.5493, allocations: 25 kB / 0.748 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.5494, allocations: 28 kB / 0.748 GB, free: 2.586 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.5497, allocations: 259.7 kB / 0.7483 GB, free: 2.324 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.5498, allocations: 0 / 0.7483 GB, free: 2.324 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.5498, allocations: 12 kB / 0.7483 GB, free: 2.312 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.5498, allocations: 11.95 kB / 0.7483 GB, free: 2.301 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.5501, allocations: 171.1 kB / 0.7485 GB, free: 2.137 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.5514, allocations: 1.038 MB / 0.7495 GB, free: 1.023 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.5517, allocations: 191.5 kB / 0.7497 GB, free: 0.8281 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.5518, allocations: 121.1 kB / 0.7498 GB, free: 0.707 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.5518, allocations: 0 / 0.7498 GB, free: 0.707 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.5521, allocations: 219.4 kB / 0.75 GB, free: 476 kB / 0.5419 GB Notification: Performance of pre-optimization done (n=30): time 1.323e-06/0.5521, allocations: 0 / 0.75 GB, free: 476 kB / 0.5419 GB Notification: Performance of matching and sorting (n=30): time 0.0004671/0.5526, allocations: 298.8 kB / 0.7503 GB, free: 168 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4387/0.9912, allocations: 162.2 kB / 0.7504 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.9915, allocations: 203.3 kB / 0.7506 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.9916, allocations: 35.52 kB / 0.7507 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.9917, allocations: 180.4 kB / 0.7508 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.9917, allocations: 88.05 kB / 0.7509 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.9918, allocations: 6.375 kB / 0.7509 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.9918, allocations: 339.8 kB / 0.7513 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.992, allocations: 75.78 kB / 0.7513 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.9921, allocations: 151.1 kB / 0.7515 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.9923, allocations: 102.9 kB / 0.7516 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9923, allocations: 0.6875 kB / 0.7516 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005226/0.9928, allocations: 350.6 kB / 0.7519 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.9929, allocations: 6.906 kB / 0.7519 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9929, allocations: 0.9688 kB / 0.7519 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/0.9931, allocations: 88 kB / 0.752 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.9933, allocations: 36.55 kB / 0.752 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.9946, allocations: 1.754 MB / 0.7537 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.9948, allocations: 49.34 kB / 0.7538 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.9948, allocations: 12.31 kB / 0.7538 GB, free: 128.9 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: 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 () * 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 8.375e-05/0.9949, allocations: 133.2 kB / 0.7539 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.995, allocations: 34.02 kB / 0.754 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.995, allocations: 34.77 kB / 0.754 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.995, allocations: 3.438 kB / 0.754 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.995, allocations: 1.875 kB / 0.754 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.9951, allocations: 2.703 kB / 0.754 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.9953, allocations: 351.7 kB / 0.7543 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.9953, allocations: 0.875 kB / 0.7543 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.534e-05/0.9954, allocations: 16.47 kB / 0.7544 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.9956, allocations: 84.03 kB / 0.7544 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.9957, allocations: 5.453 kB / 0.7544 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.9968, allocations: 1.752 MB / 0.7561 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9968, allocations: 0.8438 kB / 0.7561 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/0.9974, allocations: 422.2 kB / 0.7566 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.9975, allocations: 114.3 kB / 0.7567 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.9975, allocations: 14.34 kB / 0.7567 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.9977, allocations: 31.92 kB / 0.7567 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.9978, allocations: 23.8 kB / 0.7567 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.9978, allocations: 18.38 kB / 0.7567 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001064/0.9979, allocations: 160.8 kB / 0.7569 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9979, allocations: 0 / 0.7569 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0002955/0.9982, allocations: 111.2 kB / 0.757 GB, free: 126.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: 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) * 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.000849/0.9991, allocations: 1.001 MB / 0.758 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.9996, allocations: 385.9 kB / 0.7583 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.9996, allocations: 3.781 kB / 0.7584 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.9999, allocations: 269.2 kB / 0.7586 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/1, allocations: 43.62 kB / 0.7587 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006225/1.001, allocations: 417 kB / 0.759 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/1.001, allocations: 0.7784 MB / 0.7598 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 8.068e-05/1.001, allocations: 22.8 kB / 0.7598 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/1.001, allocations: 96.89 kB / 0.7599 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of SimCode: time 2.61e-07/1.001, allocations: 3.938 kB / 0.7599 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/1.017, allocations: 6.127 MB / 0.7659 GB, free: 123.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001143/1.017, allocations: 251.2 kB / 0.7662 GB, free: 123.5 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.57, allocations: 0 / 0.7662 GB, free: 123.5 MB / 0.5421 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