Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_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: translateModel(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="B1.G|B1.i|B1.n.i|B1.n.v|B1.open|B1.p.i|B1.p.v|B1.timeClose|B1.triggered|B1.v|B2.G|B2.i|B2.n.i|B2.n.v|B2.open|B2.p.i|B2.p.v|B2.timeClose|B2.triggered|B2.v|B3.G|B3.i|B3.n.i|B3.n.v|B3.open|B3.p.i|B3.p.v|B3.timeClose|B3.triggered|B3.v|G1.G_actual|G1.LossPower|G1.i|G1.n.i|G1.n.v|G1.p.i|G1.p.v|G1.v|G2.G_actual|G2.LossPower|G2.i|G2.n.i|G2.n.v|G2.p.i|G2.p.v|G2.v|G3.G_actual|G3.LossPower|G3.i|G3.n.i|G3.n.v|G3.p.i|G3.p.v|G3.v|G4.G_actual|G4.LossPower|G4.i|G4.n.i|G4.n.v|G4.p.i|G4.p.v|G4.v|der.firstOrder.y.|firstOrder.u|firstOrder.y|ground.p.i|ground.p.v|source.i|source.n.i|source.n.v|source.p.i|source.p.v|source.v|step.y|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar") translateModel(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="B1.G|B1.i|B1.n.i|B1.n.v|B1.open|B1.p.i|B1.p.v|B1.timeClose|B1.triggered|B1.v|B2.G|B2.i|B2.n.i|B2.n.v|B2.open|B2.p.i|B2.p.v|B2.timeClose|B2.triggered|B2.v|B3.G|B3.i|B3.n.i|B3.n.v|B3.open|B3.p.i|B3.p.v|B3.timeClose|B3.triggered|B3.v|G1.G_actual|G1.LossPower|G1.i|G1.n.i|G1.n.v|G1.p.i|G1.p.v|G1.v|G2.G_actual|G2.LossPower|G2.i|G2.n.i|G2.n.v|G2.p.i|G2.p.v|G2.v|G3.G_actual|G3.LossPower|G3.i|G3.n.i|G3.n.v|G3.p.i|G3.p.v|G3.v|G4.G_actual|G4.LossPower|G4.i|G4.n.i|G4.n.v|G4.p.i|G4.p.v|G4.v|der.firstOrder.y.|firstOrder.u|firstOrder.y|ground.p.i|ground.p.v|source.i|source.n.i|source.n.v|source.p.i|source.p.v|source.v|step.y|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 111 kB / 17.75 MB, free: 5.336 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.001687/0.001687, allocations: 186.1 kB / 18.67 MB, free: 4.418 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.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.164/1.164, allocations: 119.3 MB / 411.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 57.94 kB / 0.5715 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1838, allocations: 80.7 MB / 0.6504 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar): time 0.004738/0.1886, allocations: 2.936 MB / 0.6532 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1904, allocations: 0.7479 MB / 0.654 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003793/0.1908, allocations: 4 kB / 0.654 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.1911, allocations: 51.44 kB / 0.654 GB, free: 9.336 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.1915, allocations: 95.11 kB / 0.6541 GB, free: 9.242 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.1921, allocations: 127.8 kB / 0.6542 GB, free: 9.117 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007124/0.1928, allocations: 454.2 kB / 0.6547 GB, free: 8.672 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.1931, allocations: 130.9 kB / 0.6548 GB, free: 8.539 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.1935, allocations: 167.5 kB / 0.6549 GB, free: 8.375 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.1938, allocations: 179.2 kB / 0.6551 GB, free: 8.199 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.1939, allocations: 36 kB / 0.6551 GB, free: 8.164 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1941, allocations: 39.98 kB / 0.6552 GB, free: 8.125 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.1942, allocations: 79.69 kB / 0.6553 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.1944, allocations: 199.1 kB / 0.6554 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005786/0.195, allocations: 422.6 kB / 0.6558 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.195, allocations: 0 / 0.6558 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.703e-06/0.195, allocations: 0 / 0.6558 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.1951, allocations: 0 / 0.6558 GB, free: 7.438 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001334/0.1964, allocations: 0.7506 MB / 0.6566 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.1965, allocations: 15.89 kB / 0.6566 GB, free: 6.605 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.1966, allocations: 44.45 kB / 0.6566 GB, free: 6.562 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.1971, allocations: 287.5 kB / 0.6569 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.1971, allocations: 25.03 kB / 0.6569 GB, free: 6.219 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.1972, allocations: 32.38 kB / 0.657 GB, free: 6.188 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.1977, allocations: 290.3 kB / 0.6572 GB, free: 5.895 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1977, allocations: 0 / 0.6572 GB, free: 5.895 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.1978, allocations: 19.98 kB / 0.6573 GB, free: 5.875 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1978, allocations: 8 kB / 0.6573 GB, free: 5.867 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.1982, allocations: 202.5 kB / 0.6575 GB, free: 5.672 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.1999, allocations: 1.049 MB / 0.6585 GB, free: 4.539 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/0.2002, allocations: 211.2 kB / 0.6587 GB, free: 4.324 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.2004, allocations: 157.2 kB / 0.6588 GB, free: 4.172 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.2004, allocations: 8.234 kB / 0.6588 GB, free: 4.164 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005207/0.201, allocations: 443.3 kB / 0.6593 GB, free: 3.664 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.201, allocations: 0 / 0.6593 GB, free: 3.664 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.001627/0.2026, allocations: 0.7919 MB / 0.66 GB, free: 2.828 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002813/0.2029, allocations: 409.8 kB / 0.6604 GB, free: 2.332 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.2032, allocations: 241 kB / 0.6607 GB, free: 2.09 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.2032, allocations: 37.7 kB / 0.6607 GB, free: 2.047 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.2034, allocations: 180.6 kB / 0.6609 GB, free: 1.867 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.2035, allocations: 110.6 kB / 0.661 GB, free: 1.758 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.2037, allocations: 86.16 kB / 0.6611 GB, free: 1.668 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2038, allocations: 342.8 kB / 0.6614 GB, free: 1.324 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.204, allocations: 109.1 kB / 0.6615 GB, free: 1.219 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.2043, allocations: 205.7 kB / 0.6617 GB, free: 0.9883 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.2048, allocations: 426 kB / 0.6621 GB, free: 0.5195 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2048, allocations: 0 / 0.6621 GB, free: 0.5195 MB / 0.4983 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007812/0.2056, allocations: 0.5482 MB / 0.6626 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/0.2057, allocations: 89.09 kB / 0.6627 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2057, allocations: 0 / 0.6627 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.206, allocations: 88.77 kB / 0.6628 GB, free: 15.74 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.2062, allocations: 43.92 kB / 0.6628 GB, free: 15.7 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.2081, allocations: 1.887 MB / 0.6647 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.2084, allocations: 67.73 kB / 0.6647 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.2084, allocations: 16 kB / 0.6648 GB, free: 13.59 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 36 (B1.open,$PRE.B1.open,$whenCondition11,B2.open,$PRE.B2.open,$whenCondition9,B3.open,$PRE.B3.open,$whenCondition7,B3.timeClose,$PRE.B3.timeClose,B3.G,$PRE.B3.G,B3.triggered,$PRE.B3.triggered,B2.timeClose,$PRE.B2.timeClose,B2.G,$PRE.B2.G,B2.triggered,$PRE.B2.triggered,B1.timeClose,$PRE.B1.timeClose,B1.G,$PRE.B1.G,B1.triggered,$PRE.B1.triggered,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition10,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 3 * 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.0002505/0.2087, allocations: 265.9 kB / 0.665 GB, free: 13.31 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.2087, allocations: 35.62 kB / 0.6651 GB, free: 13.27 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/0.2088, allocations: 39.31 kB / 0.6651 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2088, allocations: 3.984 kB / 0.6651 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2088, allocations: 0 / 0.6651 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.2089, allocations: 100.8 kB / 0.6652 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.2089, allocations: 15.98 kB / 0.6652 GB, free: 13.1 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.2092, allocations: 43.95 kB / 0.6652 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.2093, allocations: 51.88 kB / 0.6653 GB, free: 13 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001129/0.2105, allocations: 0.7816 MB / 0.6661 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009492/0.2114, allocations: 0.7705 MB / 0.6668 GB, free: 11.35 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002369/0.2117, allocations: 164.6 kB / 0.667 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001462/0.2118, allocations: 168.5 kB / 0.6671 GB, free: 11.03 MB / 0.5139 GB Notification: Performance of Backend: time 6.61e-07/0.2118, allocations: 3.938 kB / 0.6671 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.2131, allocations: 0.6535 MB / 0.6678 GB, free: 10.32 MB / 0.5139 GB Notification: Performance of SimCode: time 0.001374/0.2145, allocations: 1.242 MB / 0.669 GB, free: 8.992 MB / 0.5139 GB Notification: Performance of Templates: time 0.01178/0.2263, allocations: 5.445 MB / 0.6743 GB, free: 3.617 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches