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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009098/0.0009099, allocations: 87.88 kB / 16.31 MB, free: 6.461 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.0008219/0.0008219, allocations: 178.3 kB / 17.21 MB, free: 6.328 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.256/1.256, allocations: 223.2 MB / 241.2 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9212/0.9212, allocations: 120.5 MB / 412.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 8 kB / 0.4944 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.539/0.5394, allocations: 82.85 MB / 0.5753 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar): time 0.002445/0.5419, allocations: 2.405 MB / 0.5776 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009331/0.5428, allocations: 0.679 MB / 0.5783 GB, free: 39.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.543, allocations: 4.344 kB / 0.5783 GB, free: 39.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.5431, allocations: 46 kB / 0.5783 GB, free: 39.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.5432, allocations: 76.25 kB / 0.5784 GB, free: 39.38 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.5435, allocations: 97.94 kB / 0.5785 GB, free: 39.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.5439, allocations: 356.4 kB / 0.5788 GB, free: 39.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.5441, allocations: 98.08 kB / 0.5789 GB, free: 39.03 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.5442, allocations: 118.7 kB / 0.579 GB, free: 38.97 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.5444, allocations: 146.1 kB / 0.5792 GB, free: 38.88 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.5444, allocations: 20.44 kB / 0.5792 GB, free: 38.87 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.348e-05/0.5445, allocations: 19.25 kB / 0.5792 GB, free: 38.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.5445, allocations: 53.39 kB / 0.5793 GB, free: 38.83 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.5446, allocations: 90.52 kB / 0.5794 GB, free: 38.77 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.5448, allocations: 278.2 kB / 0.5796 GB, free: 38.56 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5449, allocations: 0 / 0.5796 GB, free: 38.56 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5449, allocations: 3.938 kB / 0.5796 GB, free: 38.56 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.5449, allocations: 0 / 0.5796 GB, free: 38.56 MB / 462.3 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.0007973/0.5457, allocations: 0.5957 MB / 0.5802 GB, free: 38.04 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5457, allocations: 13.2 kB / 0.5802 GB, free: 38.04 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/0.5458, allocations: 65.22 kB / 0.5803 GB, free: 37.98 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.5459, allocations: 38.77 kB / 0.5803 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.5461, allocations: 275.8 kB / 0.5806 GB, free: 37.67 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.5462, allocations: 20.62 kB / 0.5806 GB, free: 37.66 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.5462, allocations: 26.47 kB / 0.5806 GB, free: 37.66 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.5467, allocations: 258.9 kB / 0.5809 GB, free: 37.5 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5467, allocations: 0 / 0.5809 GB, free: 37.5 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.5467, allocations: 11.69 kB / 0.5809 GB, free: 37.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.5467, allocations: 10.42 kB / 0.5809 GB, free: 37.49 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003613/0.5471, allocations: 202.7 kB / 0.5811 GB, free: 37.39 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.5485, allocations: 1.023 MB / 0.5821 GB, free: 36.56 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.5488, allocations: 204.4 kB / 0.5823 GB, free: 36.44 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.5489, allocations: 121.8 kB / 0.5824 GB, free: 36.38 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.549, allocations: 6.156 kB / 0.5824 GB, free: 36.38 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/0.5493, allocations: 213 kB / 0.5826 GB, free: 36.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.5493, allocations: 0 / 0.5826 GB, free: 36.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001193/0.5505, allocations: 0.5692 MB / 0.5832 GB, free: 35.86 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.5506, allocations: 159.2 kB / 0.5833 GB, free: 35.68 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.5508, allocations: 229.1 kB / 0.5835 GB, free: 35.5 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.5508, allocations: 36.23 kB / 0.5836 GB, free: 35.46 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.5509, allocations: 184.6 kB / 0.5837 GB, free: 35.3 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.551, allocations: 83.12 kB / 0.5838 GB, free: 35.23 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.551, allocations: 5.25 kB / 0.5838 GB, free: 35.22 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.551, allocations: 337.1 kB / 0.5842 GB, free: 34.89 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.5512, allocations: 84.14 kB / 0.5842 GB, free: 34.85 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.5514, allocations: 158.9 kB / 0.5844 GB, free: 34.73 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.5516, allocations: 98.97 kB / 0.5845 GB, free: 34.68 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5516, allocations: 0 / 0.5845 GB, free: 34.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005533/0.5521, allocations: 373.8 kB / 0.5848 GB, free: 34.48 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5522, allocations: 8.828 kB / 0.5848 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5522, allocations: 2.125 kB / 0.5848 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/0.5524, allocations: 85.53 kB / 0.5849 GB, free: 34.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.5526, allocations: 37.08 kB / 0.585 GB, free: 34.42 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.554, allocations: 1.761 MB / 0.5867 GB, free: 32.8 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.5542, allocations: 49.77 kB / 0.5867 GB, free: 32.78 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.5543, allocations: 16.41 kB / 0.5867 GB, free: 32.77 MB / 462.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.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 () * Number of clocked 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 0.0001315/0.5544, allocations: 148 kB / 0.5869 GB, free: 32.64 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.5545, allocations: 28.89 kB / 0.5869 GB, free: 32.62 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.5545, allocations: 35.88 kB / 0.5869 GB, free: 32.59 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5545, allocations: 3.812 kB / 0.587 GB, free: 32.59 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.5545, allocations: 2.812 kB / 0.587 GB, free: 32.59 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5545, allocations: 3.984 kB / 0.587 GB, free: 32.59 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.5548, allocations: 354.2 kB / 0.5873 GB, free: 32.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.5548, allocations: 0.9688 kB / 0.5873 GB, free: 32.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.306e-05/0.5549, allocations: 16.58 kB / 0.5873 GB, free: 32.26 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.5551, allocations: 84.91 kB / 0.5874 GB, free: 32.22 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.5551, allocations: 6.094 kB / 0.5874 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.5564, allocations: 1.759 MB / 0.5891 GB, free: 30.6 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5564, allocations: 0 / 0.5891 GB, free: 30.6 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.5571, allocations: 445.9 kB / 0.5895 GB, free: 30.34 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.5571, allocations: 108.3 kB / 0.5896 GB, free: 30.23 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.5572, allocations: 6.578 kB / 0.5897 GB, free: 30.22 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.5574, allocations: 42.53 kB / 0.5897 GB, free: 30.2 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.5574, allocations: 22.03 kB / 0.5897 GB, free: 30.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.5575, allocations: 12.39 kB / 0.5897 GB, free: 30.19 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001138/0.5576, allocations: 168 kB / 0.5899 GB, free: 30.07 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5576, allocations: 0 / 0.5899 GB, free: 30.07 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003688/0.558, allocations: 120.1 kB / 0.59 GB, free: 30.03 MB / 462.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,B1.open,B1.G,B2.open,B2.G,B3.open,B3.G) * Number of discrete states: 3 (B3.open,B2.open,B1.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.0009442/0.5589, allocations: 0.9993 MB / 0.591 GB, free: 29.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000642/0.5596, allocations: 402.9 kB / 0.5914 GB, free: 28.99 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5596, allocations: 1.25 kB / 0.5914 GB, free: 28.99 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.5599, allocations: 281.5 kB / 0.5916 GB, free: 28.79 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.5602, allocations: 52.95 kB / 0.5917 GB, free: 28.76 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.562, allocations: 1.604 MB / 0.5932 GB, free: 27.11 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.5621, allocations: 0.7758 MB / 0.594 GB, free: 26.3 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.17e-05/0.5622, allocations: 26.28 kB / 0.594 GB, free: 26.28 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.5623, allocations: 91.41 kB / 0.5941 GB, free: 26.19 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.5623, allocations: 0 / 0.5941 GB, free: 26.19 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.5796, allocations: 6.075 MB / 0.6 GB, free: 20.38 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.5798, allocations: 286.2 kB / 0.6003 GB, free: 20.02 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.451, allocations: 0 / 0.6003 GB, free: 20.02 MB / 462.3 MB (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) Environment - environmentSimulation: 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