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.001183/0.001183, allocations: 108.6 kB / 16.62 MB, free: 6.809 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.001154/0.001154, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.213/1.213, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7921/0.7921, allocations: 119.3 MB / 410.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 63.91 kB / 0.4905 GB, free: 13.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4317, allocations: 80.69 MB / 0.5693 GB, free: 43.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array): time 0.002547/0.4343, allocations: 2.084 MB / 0.5714 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007137/0.4351, allocations: 0.5359 MB / 0.5719 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.4351, allocations: 2.75 kB / 0.5719 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.4353, allocations: 14.66 kB / 0.5719 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.4355, allocations: 43.94 kB / 0.572 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.4357, allocations: 50.94 kB / 0.572 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.4361, allocations: 471.7 kB / 0.5725 GB, free: 41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.4363, allocations: 170.9 kB / 0.5726 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.4364, allocations: 172.6 kB / 0.5728 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.4366, allocations: 186.7 kB / 0.573 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.4366, allocations: 32.62 kB / 0.573 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.4367, allocations: 37.88 kB / 0.573 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.4368, allocations: 86.72 kB / 0.5731 GB, free: 40.65 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.437, allocations: 187.2 kB / 0.5733 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.4373, allocations: 447.4 kB / 0.5737 GB, free: 40.23 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4373, allocations: 5.469 kB / 0.5737 GB, free: 40.23 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4373, allocations: 0 / 0.5737 GB, free: 40.23 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4373, allocations: 0 / 0.5737 GB, free: 40.23 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.000963/0.4383, allocations: 0.7169 MB / 0.5744 GB, free: 39.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.4383, allocations: 13.39 kB / 0.5744 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/0.4384, allocations: 70.41 kB / 0.5745 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.167e-05/0.4385, allocations: 40.81 kB / 0.5745 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.4387, allocations: 315.7 kB / 0.5748 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.4388, allocations: 24.72 kB / 0.5749 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.4388, allocations: 32.97 kB / 0.5749 GB, free: 39.24 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.4394, allocations: 397.5 kB / 0.5753 GB, free: 39.01 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4394, allocations: 0 / 0.5753 GB, free: 39.01 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.4394, allocations: 15.36 kB / 0.5753 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.4394, allocations: 7.406 kB / 0.5753 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.4399, allocations: 335 kB / 0.5756 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.4414, allocations: 1.259 MB / 0.5768 GB, free: 37.92 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.4417, allocations: 295.3 kB / 0.5771 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.4419, allocations: 179.2 kB / 0.5773 GB, free: 37.67 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.442, allocations: 6.719 kB / 0.5773 GB, free: 37.66 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.4423, allocations: 286.6 kB / 0.5776 GB, free: 37.46 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.4423, allocations: 0 / 0.5776 GB, free: 37.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001447/0.4438, allocations: 0.7817 MB / 0.5783 GB, free: 37.01 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.4438, allocations: 173.5 kB / 0.5785 GB, free: 36.81 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.4441, allocations: 308.7 kB / 0.5788 GB, free: 36.61 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.4441, allocations: 39.23 kB / 0.5788 GB, free: 36.57 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.4442, allocations: 190.7 kB / 0.579 GB, free: 36.39 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.4443, allocations: 88.64 kB / 0.5791 GB, free: 36.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.68e-05/0.4444, allocations: 76.27 kB / 0.5792 GB, free: 36.27 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.4444, allocations: 339.1 kB / 0.5795 GB, free: 35.94 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.4446, allocations: 167 kB / 0.5797 GB, free: 35.86 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.4449, allocations: 261.9 kB / 0.5799 GB, free: 35.68 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.4453, allocations: 355.9 kB / 0.5802 GB, free: 35.48 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4453, allocations: 1.25 kB / 0.5802 GB, free: 35.48 MB / 462.3 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006997/0.446, allocations: 0.5676 MB / 0.5808 GB, free: 35.18 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.446, allocations: 5.062 kB / 0.5808 GB, free: 35.18 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.446, allocations: 1.25 kB / 0.5808 GB, free: 35.18 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002859/0.4463, allocations: 126.4 kB / 0.5809 GB, free: 35.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.4465, allocations: 48.72 kB / 0.581 GB, free: 35.1 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.4482, allocations: 2.278 MB / 0.5832 GB, free: 33.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.4485, allocations: 67.31 kB / 0.5833 GB, free: 33.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.4485, allocations: 14.09 kB / 0.5833 GB, free: 33.12 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 (B[1].open,$PRE.B[1].open,$whenCondition5,B[2].open,$PRE.B[2].open,$whenCondition3,B[3].open,$PRE.B[3].open,$whenCondition1,B[3].G,$PRE.B[3].G,B[2].G,$PRE.B[2].G,B[1].G,$PRE.B[1].G,$whenCondition2,$whenCondition4,$whenCondition6) * 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 (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.0001749/0.4487, allocations: 210.1 kB / 0.5835 GB, free: 32.95 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.4487, allocations: 26.19 kB / 0.5835 GB, free: 32.94 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.4488, allocations: 38.52 kB / 0.5835 GB, free: 32.91 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4488, allocations: 6.531 kB / 0.5835 GB, free: 32.91 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4488, allocations: 6.438 kB / 0.5836 GB, free: 32.9 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4488, allocations: 0 / 0.5836 GB, free: 32.9 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.4491, allocations: 395.4 kB / 0.5839 GB, free: 32.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4491, allocations: 4 kB / 0.5839 GB, free: 32.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.985e-05/0.4492, allocations: 19.92 kB / 0.584 GB, free: 32.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002297/0.4495, allocations: 116.4 kB / 0.5841 GB, free: 32.5 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.4495, allocations: 9.875 kB / 0.5841 GB, free: 32.49 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.4511, allocations: 2.277 MB / 0.5863 GB, free: 30.55 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4511, allocations: 0 / 0.5863 GB, free: 30.55 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007916/0.4519, allocations: 0.6382 MB / 0.5869 GB, free: 30.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.452, allocations: 108.8 kB / 0.587 GB, free: 30.07 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.452, allocations: 11.48 kB / 0.587 GB, free: 30.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.4523, allocations: 50.03 kB / 0.5871 GB, free: 30.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.4523, allocations: 24.84 kB / 0.5871 GB, free: 30.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.4524, allocations: 11.83 kB / 0.5871 GB, free: 30.03 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001737/0.4526, allocations: 216.7 kB / 0.5873 GB, free: 29.89 MB / 462.3 MB Notification: Performance of sort global known variables: time 3e-07/0.4526, allocations: 0 / 0.5873 GB, free: 29.89 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004151/0.453, allocations: 132 kB / 0.5874 GB, free: 29.86 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,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 (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.00111/0.4541, allocations: 1.206 MB / 0.5886 GB, free: 28.95 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008062/0.4549, allocations: 0.5802 MB / 0.5892 GB, free: 28.61 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4549, allocations: 3.938 kB / 0.5892 GB, free: 28.6 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.4553, allocations: 342.4 kB / 0.5895 GB, free: 28.25 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.4556, allocations: 70.41 kB / 0.5896 GB, free: 28.19 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.4586, allocations: 3.701 MB / 0.5932 GB, free: 24.37 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.4588, allocations: 0.8419 MB / 0.594 GB, free: 23.5 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.4589, allocations: 55.22 kB / 0.5941 GB, free: 23.45 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.459, allocations: 91.41 kB / 0.5942 GB, free: 23.36 MB / 462.3 MB Notification: Performance of SimCode: time 4.91e-07/0.459, allocations: 4 kB / 0.5942 GB, free: 23.35 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.4785, allocations: 8.088 MB / 0.6021 GB, free: 15.53 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.4787, allocations: 317.9 kB / 0.6024 GB, free: 15.14 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.502, allocations: 4 kB / 0.6024 GB, free: 15.14 MB / 462.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/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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches