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.001415/0.001415, allocations: 102.6 kB / 16.51 MB, free: 6.641 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.001292/0.001292, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.454/1.454, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.117/1.117, allocations: 119.3 MB / 410.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6237/0.6251, allocations: 80.68 MB / 0.5691 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar): time 0.003966/0.6291, allocations: 2.898 MB / 0.572 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.6304, allocations: 0.702 MB / 0.5727 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.6306, allocations: 9.5 kB / 0.5727 GB, free: 40.65 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.6308, allocations: 36.16 kB / 0.5727 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.631, allocations: 78.31 kB / 0.5728 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.6314, allocations: 105.4 kB / 0.5729 GB, free: 40.47 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.6317, allocations: 382.2 kB / 0.5732 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.632, allocations: 109.4 kB / 0.5734 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.6321, allocations: 133 kB / 0.5735 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.6323, allocations: 156.1 kB / 0.5736 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.6324, allocations: 20.78 kB / 0.5736 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.609e-05/0.6324, allocations: 24.22 kB / 0.5737 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.6325, allocations: 69.38 kB / 0.5737 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.6327, allocations: 173 kB / 0.5739 GB, free: 39.84 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.633, allocations: 367.3 kB / 0.5743 GB, free: 39.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.633, allocations: 0 / 0.5743 GB, free: 39.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6331, allocations: 5.094 kB / 0.5743 GB, free: 39.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.6331, allocations: 0 / 0.5743 GB, free: 39.57 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.000937/0.634, allocations: 0.6504 MB / 0.5749 GB, free: 39 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.6341, allocations: 9.594 kB / 0.5749 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.093e-05/0.6341, allocations: 69.59 kB / 0.575 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.6342, allocations: 35.03 kB / 0.575 GB, free: 38.92 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.6345, allocations: 270.2 kB / 0.5753 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.6346, allocations: 20.53 kB / 0.5753 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.6346, allocations: 31.19 kB / 0.5753 GB, free: 38.63 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.6351, allocations: 271 kB / 0.5756 GB, free: 38.46 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.6351, allocations: 0 / 0.5756 GB, free: 38.46 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.6352, allocations: 15.67 kB / 0.5756 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.6352, allocations: 6.969 kB / 0.5756 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.6356, allocations: 189.3 kB / 0.5758 GB, free: 38.37 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.6371, allocations: 1.017 MB / 0.5768 GB, free: 37.52 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.6374, allocations: 199.6 kB / 0.577 GB, free: 37.4 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.6376, allocations: 121.4 kB / 0.5771 GB, free: 37.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.6376, allocations: 1.875 kB / 0.5771 GB, free: 37.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004/0.638, allocations: 207.5 kB / 0.5773 GB, free: 37.18 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.638, allocations: 5.375 kB / 0.5773 GB, free: 37.18 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001348/0.6394, allocations: 0.5605 MB / 0.5778 GB, free: 36.83 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.6394, allocations: 164.3 kB / 0.578 GB, free: 36.64 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.6397, allocations: 229.1 kB / 0.5782 GB, free: 36.47 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.6397, allocations: 37.77 kB / 0.5782 GB, free: 36.43 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.6398, allocations: 176.4 kB / 0.5784 GB, free: 36.27 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.6399, allocations: 90.92 kB / 0.5785 GB, free: 36.2 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.64, allocations: 60.84 kB / 0.5785 GB, free: 36.15 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.6401, allocations: 337.8 kB / 0.5789 GB, free: 35.82 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.6402, allocations: 79.03 kB / 0.5789 GB, free: 35.79 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.6405, allocations: 161.7 kB / 0.5791 GB, free: 35.66 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.6408, allocations: 219.3 kB / 0.5793 GB, free: 35.52 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6408, allocations: 4 kB / 0.5793 GB, free: 35.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005909/0.6414, allocations: 368.6 kB / 0.5797 GB, free: 35.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.6414, allocations: 5.531 kB / 0.5797 GB, free: 35.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.6414, allocations: 1.844 kB / 0.5797 GB, free: 35.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.6418, allocations: 89.05 kB / 0.5798 GB, free: 35.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.642, allocations: 32.83 kB / 0.5798 GB, free: 35.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.6436, allocations: 1.762 MB / 0.5815 GB, free: 33.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.6439, allocations: 44.66 kB / 0.5815 GB, free: 33.62 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.6439, allocations: 12.28 kB / 0.5816 GB, free: 33.62 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.0001536/0.6441, allocations: 155.9 kB / 0.5817 GB, free: 33.48 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.6441, allocations: 30.45 kB / 0.5817 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.6442, allocations: 27.67 kB / 0.5818 GB, free: 33.44 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6442, allocations: 7.625 kB / 0.5818 GB, free: 33.44 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.6442, allocations: 5.844 kB / 0.5818 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6442, allocations: 3.984 kB / 0.5818 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.6445, allocations: 355 kB / 0.5821 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6445, allocations: 0.9375 kB / 0.5821 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.6447, allocations: 23.89 kB / 0.5821 GB, free: 33.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.6449, allocations: 75.44 kB / 0.5822 GB, free: 33.06 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.6449, allocations: 7.984 kB / 0.5822 GB, free: 33.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.6464, allocations: 1.763 MB / 0.5839 GB, free: 31.43 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6464, allocations: 5.219 kB / 0.5839 GB, free: 31.43 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.6471, allocations: 443.7 kB / 0.5844 GB, free: 31.17 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.6472, allocations: 108.3 kB / 0.5845 GB, free: 31.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.6473, allocations: 6.531 kB / 0.5845 GB, free: 31.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.6474, allocations: 28.38 kB / 0.5845 GB, free: 31.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.6475, allocations: 22.06 kB / 0.5845 GB, free: 31.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.6476, allocations: 12.83 kB / 0.5845 GB, free: 31.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000145/0.6477, allocations: 168.7 kB / 0.5847 GB, free: 30.9 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6477, allocations: 0 / 0.5847 GB, free: 30.9 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004275/0.6482, allocations: 116.3 kB / 0.5848 GB, free: 30.87 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.001106/0.6493, allocations: 1.008 MB / 0.5858 GB, free: 30.06 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007446/0.65, allocations: 396.2 kB / 0.5862 GB, free: 29.82 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6501, allocations: 0 / 0.5862 GB, free: 29.82 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.6505, allocations: 283.7 kB / 0.5864 GB, free: 29.62 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.6508, allocations: 54.33 kB / 0.5865 GB, free: 29.59 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.6542, allocations: 2.811 MB / 0.5892 GB, free: 27.46 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.6544, allocations: 0.7766 MB / 0.59 GB, free: 26.71 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.6546, allocations: 28.75 kB / 0.59 GB, free: 26.69 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.6547, allocations: 91.62 kB / 0.5901 GB, free: 26.61 MB / 462.3 MB Notification: Performance of SimCode: time 6.01e-07/0.6547, allocations: 1.094 kB / 0.5901 GB, free: 26.61 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.6738, allocations: 6.38 MB / 0.5963 GB, free: 21.36 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.674, allocations: 303.7 kB / 0.5966 GB, free: 20.98 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.908, allocations: 0 / 0.5966 GB, free: 20.98 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