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.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.0007979/0.0007979, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008023/0.0008023, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8203/0.8203, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.4923/0.4923, allocations: 88.07 MB / 348.8 MB, free: 14.37 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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.523 GB, free: 4.094 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.934e-05, allocations: 6.219 kB / 0.523 GB, free: 4.086 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar): time 0.002435/0.002455, allocations: 2.682 MB / 0.5256 GB, free: 1.387 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007812/0.003236, allocations: 0.7244 MB / 0.5263 GB, free: 0.6562 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.003342, allocations: 4 kB / 0.5263 GB, free: 0.6523 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.003461, allocations: 51.44 kB / 0.5263 GB, free: 0.6016 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.003581, allocations: 103.1 kB / 0.5264 GB, free: 0.5 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.003844, allocations: 123.4 kB / 0.5266 GB, free: 392 kB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.004124, allocations: 417.8 kB / 0.527 GB, free: 15.97 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.00428, allocations: 83.3 kB / 0.527 GB, free: 15.89 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.004435, allocations: 227.5 kB / 0.5273 GB, free: 15.67 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.004561, allocations: 119.7 kB / 0.5274 GB, free: 15.55 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.004599, allocations: 32 kB / 0.5274 GB, free: 15.52 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-05/0.00465, allocations: 32 kB / 0.5274 GB, free: 15.49 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.004694, allocations: 79.73 kB / 0.5275 GB, free: 15.41 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.004777, allocations: 123.7 kB / 0.5276 GB, free: 15.29 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.005067, allocations: 406.7 kB / 0.528 GB, free: 14.89 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.00507, allocations: 4 kB / 0.528 GB, free: 14.89 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.322e-06/0.005071, allocations: 0 / 0.528 GB, free: 14.89 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.005075, allocations: 3.938 kB / 0.528 GB, free: 14.89 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.000631/0.005706, allocations: 0.5686 MB / 0.5286 GB, free: 14.29 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.005743, allocations: 8.031 kB / 0.5286 GB, free: 14.28 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.005792, allocations: 66.72 kB / 0.5286 GB, free: 14.21 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.005839, allocations: 40.7 kB / 0.5287 GB, free: 14.17 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.00606, allocations: 222 kB / 0.5289 GB, free: 13.92 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.006076, allocations: 25.03 kB / 0.5289 GB, free: 13.89 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.006109, allocations: 32.38 kB / 0.529 GB, free: 13.86 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.006426, allocations: 365.4 kB / 0.5293 GB, free: 13.48 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.006435, allocations: 192 / 0.5293 GB, free: 13.48 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.006456, allocations: 16.12 kB / 0.5293 GB, free: 13.46 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.006463, allocations: 8 kB / 0.5293 GB, free: 13.45 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.006671, allocations: 190.5 kB / 0.5295 GB, free: 13.27 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/0.007581, allocations: 0.9097 MB / 0.5304 GB, free: 12.29 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.007769, allocations: 170.8 kB / 0.5306 GB, free: 12.11 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.007885, allocations: 104.8 kB / 0.5307 GB, free: 12.01 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.007896, allocations: 4 kB / 0.5307 GB, free: 12 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.008142, allocations: 326.8 kB / 0.531 GB, free: 11.63 MB / 458.8 MB Notification: Performance of pre-optimization done (n=30): time 1.242e-06/0.008143, allocations: 4 kB / 0.531 GB, free: 11.63 MB / 458.8 MB Notification: Performance of matching and sorting (n=30): time 0.0007622/0.008905, allocations: 481.9 kB / 0.5314 GB, free: 11.15 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.008964, allocations: 170.2 kB / 0.5316 GB, free: 10.95 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.009103, allocations: 237.7 kB / 0.5318 GB, free: 10.7 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.009121, allocations: 29.7 kB / 0.5319 GB, free: 10.67 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.0092, allocations: 180.6 kB / 0.532 GB, free: 10.48 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.009248, allocations: 95.2 kB / 0.5321 GB, free: 10.39 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.009305, allocations: 61.7 kB / 0.5322 GB, free: 10.32 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.009383, allocations: 338.8 kB / 0.5325 GB, free: 9.984 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.352e-05/0.009477, allocations: 75.97 kB / 0.5326 GB, free: 9.91 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.009633, allocations: 258.5 kB / 0.5328 GB, free: 9.605 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.009839, allocations: 224.7 kB / 0.533 GB, free: 9.371 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.009841, allocations: 0 / 0.533 GB, free: 9.371 MB / 458.8 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003555/0.0102, allocations: 362 kB / 0.5334 GB, free: 9.008 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01021, allocations: 10.91 kB / 0.5334 GB, free: 9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.01022, allocations: 7.938 kB / 0.5334 GB, free: 8.992 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.0104, allocations: 84.78 kB / 0.5335 GB, free: 8.906 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.01049, allocations: 35.91 kB / 0.5335 GB, free: 8.871 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.0116, allocations: 1.776 MB / 0.5352 GB, free: 6.98 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.01171, allocations: 51.75 kB / 0.5353 GB, free: 6.93 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.01172, allocations: 8 kB / 0.5353 GB, free: 6.922 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 (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.0001031/0.01183, allocations: 155.1 kB / 0.5355 GB, free: 6.762 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.01185, allocations: 39.8 kB / 0.5355 GB, free: 6.723 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.01188, allocations: 30.97 kB / 0.5355 GB, free: 6.695 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01188, allocations: 4 kB / 0.5355 GB, free: 6.691 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01188, allocations: 0 / 0.5355 GB, free: 6.691 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01189, allocations: 7.922 kB / 0.5355 GB, free: 6.684 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.01208, allocations: 292.5 kB / 0.5358 GB, free: 6.355 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01208, allocations: 0 / 0.5358 GB, free: 6.355 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.01213, allocations: 12 kB / 0.5358 GB, free: 6.344 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.01226, allocations: 88.73 kB / 0.5359 GB, free: 6.254 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.01227, allocations: 0 / 0.5359 GB, free: 6.254 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009988/0.01327, allocations: 1.78 MB / 0.5376 GB, free: 4.359 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.01327, allocations: 0 / 0.5376 GB, free: 4.359 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.01369, allocations: 438.5 kB / 0.5381 GB, free: 3.91 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.01371, allocations: 23.84 kB / 0.5381 GB, free: 3.887 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.01373, allocations: 8 kB / 0.5381 GB, free: 3.879 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.831e-05/0.01382, allocations: 32.09 kB / 0.5381 GB, free: 3.848 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.01388, allocations: 31.89 kB / 0.5382 GB, free: 3.816 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.01389, allocations: 11.98 kB / 0.5382 GB, free: 3.805 MB / 458.8 MB Notification: Performance of sorting global known variables: time 8.963e-05/0.01398, allocations: 165.2 kB / 0.5383 GB, free: 3.641 MB / 458.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01398, allocations: 0 / 0.5383 GB, free: 3.641 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002236/0.0142, allocations: 107.8 kB / 0.5384 GB, free: 3.535 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,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.0007214/0.01492, allocations: 1.006 MB / 0.5394 GB, free: 2.504 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0004212/0.01535, allocations: 378.7 kB / 0.5398 GB, free: 2.121 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01535, allocations: 0 / 0.5398 GB, free: 2.121 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.01556, allocations: 266.5 kB / 0.54 GB, free: 1.848 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.01576, allocations: 62.83 kB / 0.5401 GB, free: 1.793 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.01776, allocations: 2.694 MB / 0.5427 GB, free: 14.98 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.97e-05/0.01785, allocations: 167.7 kB / 0.5429 GB, free: 14.8 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 5.954e-05/0.01791, allocations: 26.55 kB / 0.5429 GB, free: 14.77 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.01799, allocations: 92.47 kB / 0.543 GB, free: 14.68 MB / 474.8 MB Notification: Performance of SimCode: time 5.01e-07/0.01799, allocations: 0 / 0.543 GB, free: 14.68 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.04149, allocations: 7.977 MB / 0.5508 GB, free: 6.945 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.338, allocations: 5.75 kB / 0.5508 GB, free: 6.941 MB / 474.8 MB " [Timeout remaining time 293] (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 --stepSize=0.0004 --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) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.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.698600961826742]