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.000876/0.0008761, allocations: 176.2 kB / 8.348 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.15/1.15, allocations: 221.5 MB / 230.3 MB, free: 7.531 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.0007825/0.0007825, allocations: 96.19 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7552/0.7552, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.418e-05/1.412e-05, allocations: 3.984 kB / 0.5289 GB, free: 1.203 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4568, allocations: 82.82 MB / 0.6098 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.579, allocations: 127.6 MB / 0.7344 GB, free: 13.23 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001108/0.5792, allocations: 51.92 kB / 0.7344 GB, free: 13.18 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01182/0.591, allocations: 5.143 MB / 0.7394 GB, free: 8.02 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5911, allocations: 0 / 0.7394 GB, free: 8.02 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.5911, allocations: 4 kB / 0.7394 GB, free: 8.016 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.0006855/0.5918, allocations: 0.5742 MB / 0.74 GB, free: 7.395 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.5918, allocations: 16.02 kB / 0.74 GB, free: 7.379 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.502e-05/0.5919, allocations: 35.58 kB / 0.7401 GB, free: 7.344 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.5921, allocations: 267.4 kB / 0.7403 GB, free: 7.039 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.5922, allocations: 11.98 kB / 0.7403 GB, free: 7.027 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.5922, allocations: 24.16 kB / 0.7403 GB, free: 7.004 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002532/0.5925, allocations: 157.5 kB / 0.7405 GB, free: 6.852 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.5928, allocations: 210.1 kB / 0.7407 GB, free: 6.637 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.5928, allocations: 0 / 0.7407 GB, free: 6.637 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.5928, allocations: 7.984 kB / 0.7407 GB, free: 6.629 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.5928, allocations: 11.95 kB / 0.7407 GB, free: 6.617 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.5942, allocations: 0.9709 MB / 0.7417 GB, free: 5.586 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.5944, allocations: 182.9 kB / 0.7418 GB, free: 5.398 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.5945, allocations: 112.8 kB / 0.7419 GB, free: 5.285 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.5945, allocations: 0 / 0.7419 GB, free: 5.285 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.5948, allocations: 187.6 kB / 0.7421 GB, free: 5.074 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=30): time 2.414e-06/0.5948, allocations: 4 kB / 0.7421 GB, free: 5.07 MB / 0.5419 GB Notification: Performance of matching and sorting (n=30): time 0.0004644/0.5953, allocations: 287 kB / 0.7424 GB, free: 4.781 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.5954, allocations: 166.2 kB / 0.7426 GB, free: 4.582 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.5955, allocations: 182.1 kB / 0.7427 GB, free: 4.398 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.5955, allocations: 29.7 kB / 0.7428 GB, free: 4.363 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.5956, allocations: 188.4 kB / 0.7429 GB, free: 4.176 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.5957, allocations: 86.83 kB / 0.743 GB, free: 4.09 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.5957, allocations: 0 / 0.743 GB, free: 4.09 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.5958, allocations: 334.8 kB / 0.7433 GB, free: 3.754 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.5959, allocations: 71.94 kB / 0.7434 GB, free: 3.684 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.596, allocations: 139.5 kB / 0.7435 GB, free: 3.52 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.5962, allocations: 97.17 kB / 0.7436 GB, free: 3.426 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5962, allocations: 0 / 0.7436 GB, free: 3.426 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004378/0.5966, allocations: 321.9 kB / 0.7439 GB, free: 3.102 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5966, allocations: 4 kB / 0.7439 GB, free: 3.098 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5967, allocations: 12.02 kB / 0.744 GB, free: 3.086 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.5969, allocations: 76.81 kB / 0.744 GB, free: 3.008 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.5971, allocations: 31.92 kB / 0.7441 GB, free: 2.977 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.5984, allocations: 1.69 MB / 0.7457 GB, free: 1.168 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.5987, allocations: 43.66 kB / 0.7458 GB, free: 1.125 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.5987, allocations: 16 kB / 0.7458 GB, free: 1.109 MB / 0.5419 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.535e-05/0.5988, allocations: 109 kB / 0.7459 GB, free: 0.9961 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003818/0.5992, allocations: 282 kB / 0.7461 GB, free: 0.7109 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.5992, allocations: 31.72 kB / 0.7462 GB, free: 0.6797 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.5993, allocations: 27.39 kB / 0.7462 GB, free: 0.6562 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5993, allocations: 4 kB / 0.7462 GB, free: 0.6523 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.5993, allocations: 0 / 0.7462 GB, free: 0.6523 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5993, allocations: 4 kB / 0.7462 GB, free: 0.6484 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.5995, allocations: 309.8 kB / 0.7465 GB, free: 316 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5995, allocations: 3.938 kB / 0.7465 GB, free: 312 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.701e-05/0.5996, allocations: 19.94 kB / 0.7465 GB, free: 292 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.5998, allocations: 76.84 kB / 0.7466 GB, free: 212 kB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.5999, allocations: 4 kB / 0.7466 GB, free: 208 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4821/1.082, allocations: 1.677 MB / 0.7482 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.082, allocations: 0.6094 kB / 0.7482 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/1.083, allocations: 410.8 kB / 0.7486 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/1.083, allocations: 100.6 kB / 0.7487 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/1.083, allocations: 2.375 kB / 0.7487 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/1.083, allocations: 31.2 kB / 0.7488 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/1.083, allocations: 23.62 kB / 0.7488 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/1.083, allocations: 16 kB / 0.7488 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 9.87e-05/1.083, allocations: 139.3 kB / 0.7489 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.81e-07/1.083, allocations: 0.9375 kB / 0.7489 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0003586/1.084, allocations: 100.1 kB / 0.749 GB, free: 132.1 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.0009006/1.084, allocations: 0.9618 MB / 0.75 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0005442/1.085, allocations: 355.1 kB / 0.7503 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.085, allocations: 2.531 kB / 0.7503 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0003096/1.085, allocations: 255.7 kB / 0.7505 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/1.086, allocations: 23.55 kB / 0.7506 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/1.086, allocations: 405.8 kB / 0.751 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/1.086, allocations: 0.7847 MB / 0.7517 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 8.415e-05/1.086, allocations: 19.84 kB / 0.7517 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/1.087, allocations: 92.56 kB / 0.7518 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of SimCode: time 2.31e-07/1.087, allocations: 0.9375 kB / 0.7518 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/1.111, allocations: 5.348 MB / 0.7571 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/1.111, allocations: 211.7 kB / 0.7573 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.879, allocations: 2.406 kB / 0.7573 GB, free: 129.9 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