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.001533/0.001533, allocations: 106.3 kB / 16.92 MB, free: 6.332 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.001663/0.001663, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.467/1.467, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.245/1.245, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 55.91 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.7271, allocations: 80.69 MB / 0.5698 GB, free: 43.3 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar): time 0.00418/0.7313, allocations: 2.856 MB / 0.5726 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.7325, allocations: 0.7065 MB / 0.5733 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.7327, allocations: 4.469 kB / 0.5733 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.7329, allocations: 48.81 kB / 0.5734 GB, free: 40.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.7331, allocations: 94.34 kB / 0.5735 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.7335, allocations: 122.2 kB / 0.5736 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.7339, allocations: 394.3 kB / 0.574 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.7342, allocations: 124.3 kB / 0.5741 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.7344, allocations: 146.3 kB / 0.5742 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.7346, allocations: 163 kB / 0.5744 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.374e-05/0.7347, allocations: 36 kB / 0.5744 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.7348, allocations: 37.69 kB / 0.5744 GB, free: 39.76 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.7348, allocations: 78.33 kB / 0.5745 GB, free: 39.7 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.735, allocations: 172 kB / 0.5747 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.7354, allocations: 387.5 kB / 0.575 GB, free: 39.3 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7354, allocations: 1.406 kB / 0.575 GB, free: 39.3 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.823e-06/0.7354, allocations: 0 / 0.575 GB, free: 39.3 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.7354, allocations: 0 / 0.575 GB, free: 39.3 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.0009755/0.7364, allocations: 0.6498 MB / 0.5757 GB, free: 38.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.7365, allocations: 13.83 kB / 0.5757 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.246e-05/0.7366, allocations: 65.16 kB / 0.5758 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.87e-05/0.7366, allocations: 40.28 kB / 0.5758 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.7369, allocations: 272.7 kB / 0.5761 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.737, allocations: 21.06 kB / 0.5761 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.737, allocations: 27.56 kB / 0.5761 GB, free: 38.35 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.7375, allocations: 266.9 kB / 0.5764 GB, free: 38.19 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.7375, allocations: 3.984 kB / 0.5764 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.7376, allocations: 15.44 kB / 0.5764 GB, free: 38.17 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.7376, allocations: 11 kB / 0.5764 GB, free: 38.17 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.7379, allocations: 193.5 kB / 0.5766 GB, free: 38.08 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.7394, allocations: 1.017 MB / 0.5776 GB, free: 37.24 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.7397, allocations: 199 kB / 0.5778 GB, free: 37.12 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.7399, allocations: 115.6 kB / 0.5779 GB, free: 37.07 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.7399, allocations: 2.75 kB / 0.5779 GB, free: 37.07 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/0.7404, allocations: 216.8 kB / 0.5781 GB, free: 36.9 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/0.7404, allocations: 3.938 kB / 0.5781 GB, free: 36.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.00137/0.7417, allocations: 0.5644 MB / 0.5786 GB, free: 36.55 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.7418, allocations: 163.9 kB / 0.5788 GB, free: 36.36 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.742, allocations: 225.3 kB / 0.579 GB, free: 36.19 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.7421, allocations: 33.39 kB / 0.579 GB, free: 36.16 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.7422, allocations: 183.9 kB / 0.5792 GB, free: 35.99 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.7422, allocations: 86.8 kB / 0.5793 GB, free: 35.91 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.424e-05/0.7423, allocations: 64.77 kB / 0.5794 GB, free: 35.87 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.7424, allocations: 337.2 kB / 0.5797 GB, free: 35.54 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.7426, allocations: 79.56 kB / 0.5797 GB, free: 35.5 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.7428, allocations: 158.6 kB / 0.5799 GB, free: 35.38 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.7431, allocations: 227.3 kB / 0.5801 GB, free: 35.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7431, allocations: 0 / 0.5801 GB, free: 35.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006514/0.7438, allocations: 373.2 kB / 0.5805 GB, free: 35.03 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.7438, allocations: 5.5 kB / 0.5805 GB, free: 35.03 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7438, allocations: 4.969 kB / 0.5805 GB, free: 35.03 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/0.7441, allocations: 81.92 kB / 0.5806 GB, free: 34.99 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.7443, allocations: 40.86 kB / 0.5806 GB, free: 34.97 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.7461, allocations: 1.898 MB / 0.5825 GB, free: 33.23 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.7464, allocations: 39.16 kB / 0.5825 GB, free: 33.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.7464, allocations: 12.47 kB / 0.5825 GB, free: 33.21 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.0001527/0.7465, allocations: 156.1 kB / 0.5827 GB, free: 33.07 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.7466, allocations: 31.09 kB / 0.5827 GB, free: 33.05 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.7467, allocations: 30.7 kB / 0.5827 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.7467, allocations: 5.75 kB / 0.5827 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.7467, allocations: 3.938 kB / 0.5827 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.7467, allocations: 3.984 kB / 0.5827 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.747, allocations: 353.9 kB / 0.5831 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.747, allocations: 0 / 0.5831 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.7471, allocations: 17.55 kB / 0.5831 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001933/0.7473, allocations: 76.31 kB / 0.5832 GB, free: 32.65 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.7473, allocations: 14.45 kB / 0.5832 GB, free: 32.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.7488, allocations: 1.891 MB / 0.585 GB, free: 30.91 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7488, allocations: 1.25 kB / 0.585 GB, free: 30.91 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/0.7496, allocations: 464.5 kB / 0.5855 GB, free: 30.63 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.7496, allocations: 100.4 kB / 0.5856 GB, free: 30.52 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.7497, allocations: 10.52 kB / 0.5856 GB, free: 30.51 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.7499, allocations: 24.39 kB / 0.5856 GB, free: 30.5 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.7499, allocations: 30.08 kB / 0.5856 GB, free: 30.48 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.75, allocations: 12.88 kB / 0.5856 GB, free: 30.48 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001336/0.7501, allocations: 165.3 kB / 0.5858 GB, free: 30.36 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7501, allocations: 0 / 0.5858 GB, free: 30.36 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003755/0.7505, allocations: 112.3 kB / 0.5859 GB, free: 30.34 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.001101/0.7516, allocations: 0.9971 MB / 0.5869 GB, free: 29.54 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007654/0.7524, allocations: 401.2 kB / 0.5872 GB, free: 29.29 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.7524, allocations: 0 / 0.5872 GB, free: 29.29 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.7528, allocations: 279.4 kB / 0.5875 GB, free: 29.1 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.7532, allocations: 53.41 kB / 0.5876 GB, free: 29.07 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.7563, allocations: 2.714 MB / 0.5902 GB, free: 27.04 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.7566, allocations: 0.7729 MB / 0.591 GB, free: 26.3 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 9.951e-05/0.7567, allocations: 21.25 kB / 0.591 GB, free: 26.29 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.7568, allocations: 95.61 kB / 0.5911 GB, free: 26.21 MB / 462.3 MB Notification: Performance of SimCode: time 3.51e-07/0.7568, allocations: 3.938 kB / 0.5911 GB, free: 26.2 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.7911, allocations: 6.772 MB / 0.5977 GB, free: 20.31 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.04, allocations: 12.38 kB / 0.5977 GB, free: 20.3 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches