Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.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_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",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.0008692/0.0008694, allocations: 177.1 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 221.5 MB / 230.3 MB, free: 7.559 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.0007871/0.0007871, allocations: 93.42 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7533/0.7533, allocations: 120.5 MB / 452.4 MB, free: 10.47 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.383e-05/1.385e-05, allocations: 4 kB / 0.5289 GB, free: 1.184 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.4696, allocations: 82.83 MB / 0.6098 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.6001, allocations: 127.6 MB / 0.7344 GB, free: 13.18 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001223/0.6002, allocations: 63.86 kB / 0.7345 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01324/0.6135, allocations: 5.472 MB / 0.7398 GB, free: 7.617 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6135, allocations: 0 / 0.7398 GB, free: 7.617 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.6136, allocations: 12 kB / 0.7398 GB, free: 7.605 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.0008063/0.6144, allocations: 0.6405 MB / 0.7404 GB, free: 6.918 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.6144, allocations: 12.02 kB / 0.7405 GB, free: 6.906 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.6145, allocations: 39.58 kB / 0.7405 GB, free: 6.867 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.6149, allocations: 315.2 kB / 0.7408 GB, free: 6.52 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.6149, allocations: 8 kB / 0.7408 GB, free: 6.512 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.615, allocations: 23.98 kB / 0.7408 GB, free: 6.488 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003917/0.6154, allocations: 289.4 kB / 0.7411 GB, free: 6.207 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.6158, allocations: 338 kB / 0.7414 GB, free: 5.867 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6158, allocations: 0 / 0.7414 GB, free: 5.867 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.6158, allocations: 7.953 kB / 0.7414 GB, free: 5.859 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.6159, allocations: 8 kB / 0.7414 GB, free: 5.852 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.6175, allocations: 1.205 MB / 0.7426 GB, free: 4.586 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.6178, allocations: 286.7 kB / 0.7429 GB, free: 4.297 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.618, allocations: 164.8 kB / 0.7431 GB, free: 4.133 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.618, allocations: 7.984 kB / 0.7431 GB, free: 4.125 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.6184, allocations: 267.5 kB / 0.7433 GB, free: 3.836 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=30): time 1.303e-06/0.6184, allocations: 4 kB / 0.7433 GB, free: 3.832 MB / 0.5419 GB Notification: Performance of matching and sorting (n=30): time 0.0005853/0.619, allocations: 406.9 kB / 0.7437 GB, free: 3.426 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.619, allocations: 166.2 kB / 0.7439 GB, free: 3.227 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.6192, allocations: 252.2 kB / 0.7441 GB, free: 2.977 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.6193, allocations: 33.7 kB / 0.7441 GB, free: 2.938 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.6194, allocations: 192.5 kB / 0.7443 GB, free: 2.746 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.6194, allocations: 90.8 kB / 0.7444 GB, free: 2.656 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.6195, allocations: 0 / 0.7444 GB, free: 2.656 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.6196, allocations: 334.8 kB / 0.7447 GB, free: 2.32 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.6197, allocations: 156.8 kB / 0.7449 GB, free: 2.164 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.62, allocations: 235.1 kB / 0.7451 GB, free: 1.91 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.6202, allocations: 184.8 kB / 0.7453 GB, free: 1.73 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6202, allocations: 0 / 0.7453 GB, free: 1.73 MB / 0.5419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006416/0.6208, allocations: 0.5128 MB / 0.7458 GB, free: 1.207 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6209, allocations: 8.031 kB / 0.7458 GB, free: 1.199 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6209, allocations: 0 / 0.7458 GB, free: 1.199 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/0.6211, allocations: 120.6 kB / 0.7459 GB, free: 1.078 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.6213, allocations: 47.91 kB / 0.7459 GB, free: 1.031 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.494/1.115, allocations: 2.021 MB / 0.7479 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/1.116, allocations: 58.25 kB / 0.748 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/1.116, allocations: 11.94 kB / 0.748 GB, free: 132.5 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.B[1].open,B[1].open,$whenCondition3,$PRE.B[2].open,B[2].open,$whenCondition1,$PRE.B[3].open,B[3].open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B[1].G,B[1].G,$PRE.B[2].G,B[2].G,$PRE.B[3].G,B[3].G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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.0001019/1.116, allocations: 123.8 kB / 0.7481 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005659/1.116, allocations: 402.7 kB / 0.7485 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/1.116, allocations: 27.06 kB / 0.7485 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/1.117, allocations: 35.33 kB / 0.7485 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.117, allocations: 7.672 kB / 0.7486 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/1.117, allocations: 1.656 kB / 0.7486 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.117, allocations: 2.594 kB / 0.7486 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/1.117, allocations: 338.3 kB / 0.7489 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.117, allocations: 0.9375 kB / 0.7489 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/1.117, allocations: 19.77 kB / 0.7489 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/1.117, allocations: 114.5 kB / 0.749 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/1.117, allocations: 1.938 kB / 0.749 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/1.119, allocations: 2.033 MB / 0.751 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.119, allocations: 9.25 kB / 0.751 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/1.12, allocations: 0.595 MB / 0.7516 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/1.12, allocations: 105.2 kB / 0.7517 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/1.12, allocations: 8.172 kB / 0.7517 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/1.12, allocations: 52.19 kB / 0.7517 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/1.12, allocations: 27.53 kB / 0.7518 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/1.12, allocations: 14.38 kB / 0.7518 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001584/1.12, allocations: 190.4 kB / 0.752 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.7e-07/1.12, allocations: 0 / 0.752 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004092/1.121, allocations: 120.1 kB / 0.7521 GB, free: 130.7 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,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G) * Number of discrete states: 3 (B[3].open,B[2].open,B[1].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.001081/1.122, allocations: 1.159 MB / 0.7532 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0007147/1.123, allocations: 0.506 MB / 0.7537 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.123, allocations: 0.9375 kB / 0.7537 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0003914/1.123, allocations: 311.6 kB / 0.754 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/1.123, allocations: 44.38 kB / 0.754 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/1.124, allocations: 0.61 MB / 0.7546 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/1.124, allocations: 0.8452 MB / 0.7555 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001361/1.125, allocations: 51.25 kB / 0.7555 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/1.125, allocations: 93.98 kB / 0.7556 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of SimCode: time 9.32e-07/1.125, allocations: 0 / 0.7556 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/1.149, allocations: 6.564 MB / 0.762 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/1.149, allocations: 208 kB / 0.7622 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.994, allocations: 10.22 kB / 0.7622 GB, free: 127.1 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat does not exist to compare? outputFormat=mat