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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008675/0.000872, allocations: 97.11 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008162/0.0008163, allocations: 182.5 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 223.2 MB / 241.1 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6978/0.6978, allocations: 120.5 MB / 412.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002705, allocations: 8 kB / 0.4943 GB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1386, allocations: 82.84 MB / 0.5751 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array): time 0.001778/0.1404, allocations: 1.649 MB / 0.5768 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006827/0.1411, allocations: 0.5148 MB / 0.5773 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.1412, allocations: 8 kB / 0.5773 GB, free: 5.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.1413, allocations: 15.84 kB / 0.5773 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1414, allocations: 47.89 kB / 0.5773 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.1417, allocations: 47.88 kB / 0.5774 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.142, allocations: 299.4 kB / 0.5777 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1422, allocations: 134.2 kB / 0.5778 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1423, allocations: 131.5 kB / 0.5779 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.1425, allocations: 135.4 kB / 0.578 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.1425, allocations: 19.94 kB / 0.5781 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.698e-05/0.1426, allocations: 28 kB / 0.5781 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.1426, allocations: 63.73 kB / 0.5782 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.1427, allocations: 89.52 kB / 0.5782 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.143, allocations: 339.3 kB / 0.5786 GB, free: 4.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.143, allocations: 0 / 0.5786 GB, free: 4.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.143, allocations: 0 / 0.5786 GB, free: 4.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.143, allocations: 0 / 0.5786 GB, free: 4.527 MB / 446.1 MB 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.000943/0.1439, allocations: 0.6635 MB / 0.5792 GB, free: 3.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.144, allocations: 12.03 kB / 0.5792 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.168e-05/0.1441, allocations: 74.48 kB / 0.5793 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.1441, allocations: 35.62 kB / 0.5793 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.1445, allocations: 306.4 kB / 0.5796 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.1445, allocations: 20.66 kB / 0.5796 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.1446, allocations: 32 kB / 0.5797 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.1451, allocations: 389.9 kB / 0.58 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1451, allocations: 0 / 0.58 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.1452, allocations: 20 kB / 0.5801 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1452, allocations: 11.95 kB / 0.5801 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.1457, allocations: 338.4 kB / 0.5804 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.1474, allocations: 1.268 MB / 0.5816 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.1478, allocations: 288.3 kB / 0.5819 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1478, allocations: 8 kB / 0.5819 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/0.1482, allocations: 287.4 kB / 0.5822 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.322e-06/0.1482, allocations: 0 / 0.5822 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.4297/0.5779, allocations: 0.7782 MB / 0.5829 GB, free: 16.39 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.578, allocations: 168.4 kB / 0.5831 GB, free: 16.21 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.5785, allocations: 302.2 kB / 0.5834 GB, free: 16.1 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.5785, allocations: 40.05 kB / 0.5834 GB, free: 16.07 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.5787, allocations: 188.8 kB / 0.5836 GB, free: 15.99 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/0.5787, allocations: 89.55 kB / 0.5837 GB, free: 15.95 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.5788, allocations: 9.062 kB / 0.5837 GB, free: 15.95 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.5788, allocations: 339.6 kB / 0.584 GB, free: 15.64 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.5791, allocations: 167.6 kB / 0.5842 GB, free: 15.64 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.5795, allocations: 254.6 kB / 0.5844 GB, free: 15.56 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.5798, allocations: 204.3 kB / 0.5846 GB, free: 15.56 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5798, allocations: 0.9375 kB / 0.5846 GB, free: 15.56 MB / 446.3 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009077/0.5807, allocations: 0.5718 MB / 0.5852 GB, free: 15.48 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5807, allocations: 5.594 kB / 0.5852 GB, free: 15.48 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.5807, allocations: 4.047 kB / 0.5852 GB, free: 15.48 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.5811, allocations: 120.1 kB / 0.5853 GB, free: 15.47 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.5813, allocations: 48.81 kB / 0.5854 GB, free: 15.46 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.5835, allocations: 2.153 MB / 0.5875 GB, free: 14.18 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.5838, allocations: 75.72 kB / 0.5875 GB, free: 14.16 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.5838, allocations: 12.72 kB / 0.5875 GB, free: 14.16 MB / 446.3 MB 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 () * Number of clocked 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.0002134/0.584, allocations: 205.8 kB / 0.5877 GB, free: 14.02 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.5841, allocations: 35.41 kB / 0.5878 GB, free: 14 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.5842, allocations: 37.5 kB / 0.5878 GB, free: 13.98 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5842, allocations: 2.781 kB / 0.5878 GB, free: 13.98 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.5842, allocations: 1.875 kB / 0.5878 GB, free: 13.98 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5842, allocations: 2.672 kB / 0.5878 GB, free: 13.98 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.5846, allocations: 396.4 kB / 0.5882 GB, free: 13.71 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5846, allocations: 0 / 0.5882 GB, free: 13.71 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.5847, allocations: 29.17 kB / 0.5882 GB, free: 13.7 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000275/0.585, allocations: 122.4 kB / 0.5883 GB, free: 13.67 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.585, allocations: 7.109 kB / 0.5883 GB, free: 13.67 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.5869, allocations: 2.154 MB / 0.5905 GB, free: 12.05 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5869, allocations: 0 / 0.5905 GB, free: 12.05 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/0.5879, allocations: 0.6483 MB / 0.5911 GB, free: 11.8 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.588, allocations: 111.3 kB / 0.5912 GB, free: 11.68 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.588, allocations: 10.08 kB / 0.5912 GB, free: 11.68 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.5883, allocations: 55.16 kB / 0.5913 GB, free: 11.67 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.5884, allocations: 27.42 kB / 0.5913 GB, free: 11.67 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.5884, allocations: 10.47 kB / 0.5913 GB, free: 11.67 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0002041/0.5886, allocations: 216.3 kB / 0.5915 GB, free: 11.56 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5886, allocations: 0.75 kB / 0.5915 GB, free: 11.56 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0004186/0.589, allocations: 128.6 kB / 0.5916 GB, free: 11.53 MB / 446.3 MB 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) * Number of clocked states: 0 () * 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.001283/0.5903, allocations: 1.223 MB / 0.5928 GB, free: 10.73 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.0008821/0.5912, allocations: 0.5333 MB / 0.5933 GB, free: 10.5 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5912, allocations: 1.125 kB / 0.5933 GB, free: 10.5 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004728/0.5917, allocations: 351.2 kB / 0.5937 GB, free: 10.31 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.592, allocations: 48.81 kB / 0.5937 GB, free: 10.3 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.5935, allocations: 1.756 MB / 0.5954 GB, free: 8.953 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.5938, allocations: 0.8501 MB / 0.5963 GB, free: 8.234 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.5939, allocations: 53.25 kB / 0.5963 GB, free: 8.227 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.594, allocations: 93.38 kB / 0.5964 GB, free: 8.156 MB / 446.3 MB Notification: Performance of SimCode: time 2.3e-07/0.594, allocations: 0 / 0.5964 GB, free: 8.156 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.6136, allocations: 7.418 MB / 0.6036 GB, free: 6.164 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.6138, allocations: 282.9 kB / 0.6039 GB, free: 5.809 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.26, allocations: 0.625 kB / 0.6039 GB, free: 5.809 MB / 446.3 MB (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) Environment - environmentSimulation: 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