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.0009667/0.0009667, allocations: 91.02 kB / 16.65 MB, free: 6.59 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.001001/0.001001, allocations: 185.2 kB / 17.57 MB, free: 6.199 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.387/1.387, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.171/1.171, allocations: 120.5 MB / 413.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003588, allocations: 8 kB / 0.495 GB, free: 11.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.6649, allocations: 82.83 MB / 0.5759 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar): time 0.002613/0.6676, allocations: 2.517 MB / 0.5784 GB, free: 39.36 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.6687, allocations: 0.7047 MB / 0.579 GB, free: 38.79 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.6688, allocations: 4.312 kB / 0.579 GB, free: 38.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.669, allocations: 40.97 kB / 0.5791 GB, free: 38.76 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.6692, allocations: 77.23 kB / 0.5792 GB, free: 38.69 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.6695, allocations: 109.1 kB / 0.5793 GB, free: 38.61 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.6699, allocations: 373.9 kB / 0.5796 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.6701, allocations: 109.1 kB / 0.5797 GB, free: 38.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.6703, allocations: 128 kB / 0.5798 GB, free: 38.26 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.6705, allocations: 147.1 kB / 0.58 GB, free: 38.16 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.6705, allocations: 14.91 kB / 0.58 GB, free: 38.16 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.974e-05/0.6706, allocations: 18.84 kB / 0.58 GB, free: 38.16 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.6707, allocations: 53.39 kB / 0.5801 GB, free: 38.12 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.6709, allocations: 189.2 kB / 0.5803 GB, free: 37.98 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.6712, allocations: 364.1 kB / 0.5806 GB, free: 37.71 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6712, allocations: 0 / 0.5806 GB, free: 37.71 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6712, allocations: 3.938 kB / 0.5806 GB, free: 37.71 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.6712, allocations: 5.312 kB / 0.5806 GB, free: 37.71 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.0008803/0.6721, allocations: 0.5996 MB / 0.5812 GB, free: 37.18 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.6722, allocations: 9.625 kB / 0.5812 GB, free: 37.18 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.869e-05/0.6723, allocations: 68.34 kB / 0.5813 GB, free: 37.12 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.6723, allocations: 39.81 kB / 0.5813 GB, free: 37.1 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.6726, allocations: 273.4 kB / 0.5816 GB, free: 36.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.6726, allocations: 21.41 kB / 0.5816 GB, free: 36.81 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.6727, allocations: 30.72 kB / 0.5816 GB, free: 36.8 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.6732, allocations: 265.1 kB / 0.5819 GB, free: 36.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.6732, allocations: 3.984 kB / 0.5819 GB, free: 36.64 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.6732, allocations: 11.72 kB / 0.5819 GB, free: 36.63 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.6732, allocations: 6.438 kB / 0.5819 GB, free: 36.63 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.6736, allocations: 196.6 kB / 0.5821 GB, free: 36.54 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.675, allocations: 1.02 MB / 0.5831 GB, free: 35.71 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.6754, allocations: 201.8 kB / 0.5833 GB, free: 35.59 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.6756, allocations: 124.9 kB / 0.5834 GB, free: 35.53 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.6756, allocations: 2.75 kB / 0.5834 GB, free: 35.53 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/0.676, allocations: 218.5 kB / 0.5836 GB, free: 35.36 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 2.415e-06/0.676, allocations: 4 kB / 0.5836 GB, free: 35.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001406/0.6775, allocations: 0.5823 MB / 0.5842 GB, free: 35 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.6775, allocations: 161.8 kB / 0.5843 GB, free: 34.81 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.6778, allocations: 223 kB / 0.5845 GB, free: 34.65 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.6778, allocations: 37.52 kB / 0.5846 GB, free: 34.61 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.6779, allocations: 179.7 kB / 0.5847 GB, free: 34.45 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.678, allocations: 86.19 kB / 0.5848 GB, free: 34.37 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.678, allocations: 35.8 kB / 0.5849 GB, free: 34.34 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.6781, allocations: 341.1 kB / 0.5852 GB, free: 34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.6783, allocations: 81.41 kB / 0.5853 GB, free: 33.97 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.6785, allocations: 160.3 kB / 0.5854 GB, free: 33.84 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.6788, allocations: 223 kB / 0.5856 GB, free: 33.71 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6788, allocations: 0 / 0.5856 GB, free: 33.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005897/0.6794, allocations: 368.8 kB / 0.586 GB, free: 33.52 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.6794, allocations: 5.062 kB / 0.586 GB, free: 33.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6795, allocations: 5.188 kB / 0.586 GB, free: 33.51 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/0.6798, allocations: 82.23 kB / 0.5861 GB, free: 33.47 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.6799, allocations: 37.17 kB / 0.5861 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.6815, allocations: 1.77 MB / 0.5878 GB, free: 31.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.6817, allocations: 52.69 kB / 0.5879 GB, free: 31.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.6818, allocations: 16.31 kB / 0.5879 GB, free: 31.8 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 (B1.open,$PRE.B1.open,$whenCondition5,B2.open,$PRE.B2.open,$whenCondition3,B3.open,$PRE.B3.open,$whenCondition1,B3.G,$PRE.B3.G,B2.G,$PRE.B2.G,B1.G,$PRE.B1.G,$whenCondition2,$whenCondition4,$whenCondition6) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.6819, allocations: 159.1 kB / 0.588 GB, free: 31.66 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.682, allocations: 26.47 kB / 0.5881 GB, free: 31.64 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.838e-05/0.6821, allocations: 31.69 kB / 0.5881 GB, free: 31.62 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6821, allocations: 7.625 kB / 0.5881 GB, free: 31.62 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.6821, allocations: 5.844 kB / 0.5881 GB, free: 31.61 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6821, allocations: 3.984 kB / 0.5881 GB, free: 31.61 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.6824, allocations: 351.2 kB / 0.5885 GB, free: 31.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6824, allocations: 0.9375 kB / 0.5885 GB, free: 31.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.6825, allocations: 20.89 kB / 0.5885 GB, free: 31.28 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001992/0.6828, allocations: 72.53 kB / 0.5885 GB, free: 31.25 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.6828, allocations: 10 kB / 0.5886 GB, free: 31.24 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.6842, allocations: 1.767 MB / 0.5903 GB, free: 29.62 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6842, allocations: 3.938 kB / 0.5903 GB, free: 29.62 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.6849, allocations: 441.9 kB / 0.5907 GB, free: 29.37 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.6849, allocations: 111.8 kB / 0.5908 GB, free: 29.25 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.685, allocations: 6.781 kB / 0.5908 GB, free: 29.24 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.6852, allocations: 37.75 kB / 0.5909 GB, free: 29.23 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.6852, allocations: 22.62 kB / 0.5909 GB, free: 29.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.6853, allocations: 12.3 kB / 0.5909 GB, free: 29.21 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001258/0.6854, allocations: 165.3 kB / 0.591 GB, free: 29.09 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6854, allocations: 3.938 kB / 0.5911 GB, free: 29.09 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003854/0.6858, allocations: 112.9 kB / 0.5912 GB, free: 29.06 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001126/0.6869, allocations: 1.012 MB / 0.5921 GB, free: 28.25 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007215/0.6877, allocations: 401.3 kB / 0.5925 GB, free: 28.01 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6877, allocations: 1.281 kB / 0.5925 GB, free: 28.01 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.6881, allocations: 283.1 kB / 0.5928 GB, free: 27.82 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.6884, allocations: 53.89 kB / 0.5929 GB, free: 27.79 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.6912, allocations: 2.851 MB / 0.5956 GB, free: 25.15 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.6914, allocations: 0.7758 MB / 0.5964 GB, free: 24.35 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 9.48e-05/0.6915, allocations: 18.3 kB / 0.5964 GB, free: 24.32 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.6916, allocations: 91.41 kB / 0.5965 GB, free: 24.23 MB / 462.3 MB Notification: Performance of SimCode: time 5.51e-07/0.6917, allocations: 4 kB / 0.5965 GB, free: 24.23 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.7132, allocations: 6.226 MB / 0.6026 GB, free: 18.27 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.7134, allocations: 310 kB / 0.6029 GB, free: 17.89 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.892, allocations: 0 / 0.6029 GB, free: 17.89 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/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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches