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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007719/0.0007719, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000758/0.000758, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8263/0.8263, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5453/0.5453, allocations: 88.07 MB / 348.7 MB, free: 14.34 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.523 GB, free: 4.07 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.25e-05, allocations: 2.281 kB / 0.523 GB, free: 4.066 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array): time 0.002197/0.002209, allocations: 1.997 MB / 0.5249 GB, free: 2.055 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007744/0.002984, allocations: 0.5649 MB / 0.5255 GB, free: 1.484 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.521e-05/0.003069, allocations: 0 / 0.5255 GB, free: 1.484 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.003199, allocations: 23.78 kB / 0.5255 GB, free: 1.461 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.003419, allocations: 51.62 kB / 0.5255 GB, free: 1.41 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.003638, allocations: 67.83 kB / 0.5256 GB, free: 1.344 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.004035, allocations: 477.8 kB / 0.5261 GB, free: 0.875 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.004185, allocations: 99.34 kB / 0.5262 GB, free: 0.7812 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.004363, allocations: 247.5 kB / 0.5264 GB, free: 0.5391 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.004528, allocations: 175.6 kB / 0.5266 GB, free: 376 kB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.004575, allocations: 32 kB / 0.5266 GB, free: 344 kB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.004638, allocations: 43.92 kB / 0.5266 GB, free: 300 kB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.004712, allocations: 83.72 kB / 0.5267 GB, free: 216 kB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.00482, allocations: 135.7 kB / 0.5269 GB, free: 80 kB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.005183, allocations: 470.7 kB / 0.5273 GB, free: 15.62 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005185, allocations: 4 kB / 0.5273 GB, free: 15.61 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.233e-06/0.005186, allocations: 3.938 kB / 0.5273 GB, free: 15.61 MB / 458.8 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.005192, allocations: 3.938 kB / 0.5273 GB, free: 15.61 MB / 458.8 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.0007942/0.005986, allocations: 0.6465 MB / 0.5279 GB, free: 14.93 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.006024, allocations: 8.031 kB / 0.5279 GB, free: 14.92 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.00608, allocations: 70.72 kB / 0.528 GB, free: 14.84 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.006138, allocations: 44.69 kB / 0.5281 GB, free: 14.8 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.006413, allocations: 265.1 kB / 0.5283 GB, free: 14.52 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.006431, allocations: 21.03 kB / 0.5283 GB, free: 14.49 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.006472, allocations: 36.38 kB / 0.5284 GB, free: 14.46 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.006921, allocations: 497.2 kB / 0.5288 GB, free: 13.94 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.006931, allocations: 192 / 0.5288 GB, free: 13.94 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.006959, allocations: 24.11 kB / 0.5289 GB, free: 13.92 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.006968, allocations: 8 kB / 0.5289 GB, free: 13.91 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.007302, allocations: 334.4 kB / 0.5292 GB, free: 13.59 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.00851, allocations: 1.148 MB / 0.5303 GB, free: 12.37 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.00879, allocations: 274.7 kB / 0.5306 GB, free: 12.09 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.008956, allocations: 160.8 kB / 0.5307 GB, free: 11.93 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.008967, allocations: 4 kB / 0.5307 GB, free: 11.93 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003194/0.009287, allocations: 398.7 kB / 0.5311 GB, free: 11.48 MB / 458.8 MB Notification: Performance of pre-optimization done (n=30): time 1.213e-06/0.009288, allocations: 0 / 0.5311 GB, free: 11.48 MB / 458.8 MB Notification: Performance of matching and sorting (n=30): time 0.0009992/0.01029, allocations: 0.7008 MB / 0.5318 GB, free: 10.77 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.01036, allocations: 170.2 kB / 0.532 GB, free: 10.57 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.01056, allocations: 305.8 kB / 0.5322 GB, free: 10.26 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.01059, allocations: 37.69 kB / 0.5323 GB, free: 10.22 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.229e-05/0.01068, allocations: 196.5 kB / 0.5325 GB, free: 10.02 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.01073, allocations: 99.2 kB / 0.5326 GB, free: 9.922 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/0.01081, allocations: 74.2 kB / 0.5326 GB, free: 9.844 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.0109, allocations: 342.8 kB / 0.533 GB, free: 9.5 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.01105, allocations: 168.9 kB / 0.5331 GB, free: 9.336 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.01129, allocations: 359.4 kB / 0.5335 GB, free: 8.93 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.0116, allocations: 360.5 kB / 0.5338 GB, free: 8.562 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01161, allocations: 0 / 0.5338 GB, free: 8.562 MB / 458.8 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005446/0.01215, allocations: 0.5596 MB / 0.5344 GB, free: 7.992 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01216, allocations: 15.94 kB / 0.5344 GB, free: 7.977 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01217, allocations: 0 / 0.5344 GB, free: 7.977 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.01239, allocations: 120.6 kB / 0.5345 GB, free: 7.855 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.01251, allocations: 47.91 kB / 0.5345 GB, free: 7.809 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.01396, allocations: 2.15 MB / 0.5366 GB, free: 5.547 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.01411, allocations: 75.73 kB / 0.5367 GB, free: 5.473 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.01412, allocations: 8 kB / 0.5367 GB, free: 5.465 MB / 458.8 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.0001494/0.01427, allocations: 213.6 kB / 0.5369 GB, free: 5.246 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.0143, allocations: 27.86 kB / 0.5369 GB, free: 5.219 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.01433, allocations: 39.09 kB / 0.537 GB, free: 5.184 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01434, allocations: 7.984 kB / 0.537 GB, free: 5.176 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.01434, allocations: 4 kB / 0.537 GB, free: 5.172 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01435, allocations: 0 / 0.537 GB, free: 5.172 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.01457, allocations: 336.4 kB / 0.5373 GB, free: 4.801 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01457, allocations: 4 kB / 0.5373 GB, free: 4.797 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.01463, allocations: 19.98 kB / 0.5373 GB, free: 4.777 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.01479, allocations: 116.8 kB / 0.5374 GB, free: 4.66 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.0148, allocations: 0 / 0.5374 GB, free: 4.66 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.01609, allocations: 2.163 MB / 0.5396 GB, free: 2.383 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01609, allocations: 3.938 kB / 0.5396 GB, free: 2.379 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.0168, allocations: 0.635 MB / 0.5402 GB, free: 1.723 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.01684, allocations: 35.91 kB / 0.5402 GB, free: 1.688 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.01687, allocations: 11.98 kB / 0.5402 GB, free: 1.676 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.017, allocations: 47.94 kB / 0.5403 GB, free: 1.629 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.01714, allocations: 23.95 kB / 0.5403 GB, free: 1.605 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.01716, allocations: 15.98 kB / 0.5403 GB, free: 1.59 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0001933/0.01736, allocations: 225.1 kB / 0.5405 GB, free: 1.375 MB / 458.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01736, allocations: 0 / 0.5405 GB, free: 1.375 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0003689/0.01772, allocations: 127.8 kB / 0.5406 GB, free: 1.25 MB / 458.8 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.001028/0.01875, allocations: 1.197 MB / 0.5418 GB, free: 32 kB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0005659/0.01932, allocations: 0.5259 MB / 0.5423 GB, free: 15.49 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01932, allocations: 0 / 0.5423 GB, free: 15.49 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.01958, allocations: 326.4 kB / 0.5426 GB, free: 15.16 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.0198, allocations: 64.45 kB / 0.5427 GB, free: 15.09 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.02253, allocations: 3.591 MB / 0.5462 GB, free: 11.39 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.02267, allocations: 240.9 kB / 0.5464 GB, free: 11.13 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 9.061e-05/0.02276, allocations: 54.94 kB / 0.5465 GB, free: 11.08 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.02285, allocations: 96.47 kB / 0.5466 GB, free: 10.98 MB / 474.8 MB Notification: Performance of SimCode: time 3.8e-07/0.02285, allocations: 0 / 0.5466 GB, free: 10.98 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.04796, allocations: 9.459 MB / 0.5558 GB, free: 1.758 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/7.301, allocations: 0 / 0.5558 GB, free: 1.758 MB / 474.8 MB " [Timeout remaining time 293] (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 --stepSize=0.0004 --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) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.761279119178653]