Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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_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_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.5 MB / 230.3 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001398, allocations: 90.84 kB / 281.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.4/1.4, allocations: 120.5 MB / 452.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.969e-05, allocations: 0 / 0.5288 GB, free: 1.324 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8652/0.8652, allocations: 82.84 MB / 0.6097 GB, free: 13.02 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2246/1.09, allocations: 127.7 MB / 0.7344 GB, free: 13.21 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.09, allocations: 51.97 kB / 0.7344 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01555/1.106, allocations: 5.495 MB / 0.7398 GB, free: 7.652 MB / 0.5419 GB Notification: Performance of FrontEnd: time 5.651e-06/1.106, allocations: 3.984 kB / 0.7398 GB, free: 7.648 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 3.009e-05/1.106, allocations: 8 kB / 0.7398 GB, free: 7.641 MB / 0.5419 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.001432/1.107, allocations: 0.6617 MB / 0.7404 GB, free: 6.914 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/1.107, allocations: 8.031 kB / 0.7404 GB, free: 6.906 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/1.108, allocations: 47.48 kB / 0.7405 GB, free: 6.859 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/1.108, allocations: 270.6 kB / 0.7408 GB, free: 6.555 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/1.108, allocations: 16 kB / 0.7408 GB, free: 6.539 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/1.108, allocations: 23.94 kB / 0.7408 GB, free: 6.516 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004166/1.109, allocations: 177.5 kB / 0.741 GB, free: 6.344 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/1.109, allocations: 234.1 kB / 0.7412 GB, free: 6.109 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/1.109, allocations: 0 / 0.7412 GB, free: 6.109 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/1.109, allocations: 4 kB / 0.7412 GB, free: 6.105 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/1.109, allocations: 11.95 kB / 0.7412 GB, free: 6.094 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/1.111, allocations: 1.03 MB / 0.7422 GB, free: 4.992 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/1.112, allocations: 195 kB / 0.7424 GB, free: 4.793 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/1.112, allocations: 129.1 kB / 0.7425 GB, free: 4.664 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/1.112, allocations: 8.219 kB / 0.7425 GB, free: 4.656 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005841/1.113, allocations: 427 kB / 0.7429 GB, free: 4.172 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=42): time 1.714e-06/1.113, allocations: 0 / 0.7429 GB, free: 4.172 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42): time 0.0008329/1.113, allocations: 382.9 kB / 0.7433 GB, free: 3.789 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002638/1.114, allocations: 409.8 kB / 0.7437 GB, free: 3.293 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/1.114, allocations: 195.9 kB / 0.7439 GB, free: 3.098 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/1.114, allocations: 33.64 kB / 0.7439 GB, free: 3.059 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/1.114, allocations: 180.6 kB / 0.7441 GB, free: 2.879 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.114, allocations: 110.5 kB / 0.7442 GB, free: 2.77 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/1.114, allocations: 0 / 0.7442 GB, free: 2.77 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.114, allocations: 342.8 kB / 0.7445 GB, free: 2.426 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/1.115, allocations: 93.12 kB / 0.7446 GB, free: 2.332 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/1.115, allocations: 180.6 kB / 0.7448 GB, free: 2.129 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/1.115, allocations: 110 kB / 0.7449 GB, free: 2.023 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.115, allocations: 4 kB / 0.7449 GB, free: 2.02 MB / 0.5419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007006/1.116, allocations: 412.4 kB / 0.7453 GB, free: 1.605 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/1.116, allocations: 93.09 kB / 0.7454 GB, free: 1.496 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.116, allocations: 0 / 0.7454 GB, free: 1.496 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/1.116, allocations: 76.84 kB / 0.7454 GB, free: 1.418 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/1.116, allocations: 47.86 kB / 0.7455 GB, free: 1.371 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7174/1.834, allocations: 1.689 MB / 0.7471 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/1.834, allocations: 61.44 kB / 0.7472 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/1.834, allocations: 16.23 kB / 0.7472 GB, free: 132.2 MB / 0.5421 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 ($whenCondition11,$PRE.B1.open,B1.open,$whenCondition9,$PRE.B2.open,B2.open,$whenCondition7,$PRE.B3.open,B3.open,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.B1.triggered,B1.triggered,$PRE.B1.G,B1.G,$PRE.B1.timeClose,B1.timeClose,$PRE.B2.triggered,B2.triggered,$PRE.B2.G,B2.G,$PRE.B2.timeClose,B2.timeClose,$PRE.B3.triggered,B3.triggered,$PRE.B3.G,B3.G,$PRE.B3.timeClose,B3.timeClose) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002561/1.835, allocations: 221.2 kB / 0.7474 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/1.835, allocations: 39.39 kB / 0.7475 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.176e-05/1.835, allocations: 29.23 kB / 0.7475 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.835, allocations: 6.797 kB / 0.7475 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.835, allocations: 1.719 kB / 0.7475 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.984e-06/1.835, allocations: 3.375 kB / 0.7475 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/1.835, allocations: 341.1 kB / 0.7478 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.835, allocations: 4.375 kB / 0.7478 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/1.836, allocations: 15.66 kB / 0.7478 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002789/1.836, allocations: 76.73 kB / 0.7479 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/1.836, allocations: 7.906 kB / 0.7479 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/1.837, allocations: 1.682 MB / 0.7496 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.838, allocations: 0 / 0.7496 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/1.839, allocations: 0.5737 MB / 0.7501 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/1.839, allocations: 107.5 kB / 0.7502 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/1.839, allocations: 12.08 kB / 0.7502 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/1.839, allocations: 52.09 kB / 0.7503 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/1.839, allocations: 45.84 kB / 0.7503 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/1.839, allocations: 18.19 kB / 0.7503 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001484/1.839, allocations: 148.8 kB / 0.7505 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.839, allocations: 0 / 0.7505 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005111/1.84, allocations: 121.6 kB / 0.7506 GB, free: 130.4 MB / 0.5421 GB 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: 24 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,B1.open,B1.triggered,B1.G,B1.timeClose,B2.open,B2.triggered,B2.G,B2.timeClose,B3.open,B3.triggered,B3.G,B3.timeClose) * Number of discrete states: 15 (B1.timeClose,B1.triggered,$whenCondition2,$whenCondition1,B2.timeClose,B2.triggered,$whenCondition4,$whenCondition3,B3.timeClose,B3.triggered,$whenCondition6,$whenCondition5,B3.open,B2.open,B1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003582/1.84, allocations: 144.5 kB / 0.7507 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.000891/1.841, allocations: 0.5914 MB / 0.7513 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.841, allocations: 4.5 kB / 0.7513 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005522/1.842, allocations: 499.4 kB / 0.7518 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/1.842, allocations: 37.45 kB / 0.7518 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/1.843, allocations: 390.8 kB / 0.7522 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/1.843, allocations: 0.7944 MB / 0.753 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.000111/1.843, allocations: 30.33 kB / 0.753 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/1.843, allocations: 24.16 kB / 0.753 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of SimCode: time 2.4e-07/1.843, allocations: 0 / 0.753 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of Templates: time 0.01/1.853, allocations: 4.102 MB / 0.757 GB, free: 128.6 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches