Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.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_Array,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="B.1..G|B.1..i|B.1..n.i|B.1..n.v|B.1..open|B.1..p.i|B.1..p.v|B.1..timeClose|B.1..triggered|B.1..v|B.2..G|B.2..i|B.2..n.i|B.2..n.v|B.2..open|B.2..p.i|B.2..p.v|B.2..timeClose|B.2..triggered|B.2..v|B.3..G|B.3..i|B.3..n.i|B.3..n.v|B.3..open|B.3..p.i|B.3..p.v|B.3..timeClose|B.3..triggered|B.3..v|G.1..G_actual|G.1..LossPower|G.1..i|G.1..n.i|G.1..n.v|G.1..p.i|G.1..p.v|G.1..v|G.2..G_actual|G.2..LossPower|G.2..i|G.2..n.i|G.2..n.v|G.2..p.i|G.2..p.v|G.2..v|G.3..G_actual|G.3..LossPower|G.3..i|G.3..n.i|G.3..n.v|G.3..p.i|G.3..p.v|G.3..v|G.4..G_actual|G.4..LossPower|G.4..i|G.4..n.i|G.4..n.v|G.4..p.i|G.4..p.v|G.4..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_Array") translateModel(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="B.1..G|B.1..i|B.1..n.i|B.1..n.v|B.1..open|B.1..p.i|B.1..p.v|B.1..timeClose|B.1..triggered|B.1..v|B.2..G|B.2..i|B.2..n.i|B.2..n.v|B.2..open|B.2..p.i|B.2..p.v|B.2..timeClose|B.2..triggered|B.2..v|B.3..G|B.3..i|B.3..n.i|B.3..n.v|B.3..open|B.3..p.i|B.3..p.v|B.3..timeClose|B.3..triggered|B.3..v|G.1..G_actual|G.1..LossPower|G.1..i|G.1..n.i|G.1..n.v|G.1..p.i|G.1..p.v|G.1..v|G.2..G_actual|G.2..LossPower|G.2..i|G.2..n.i|G.2..n.v|G.2..p.i|G.2..p.v|G.2..v|G.3..G_actual|G.3..LossPower|G.3..i|G.3..n.i|G.3..n.v|G.3..p.i|G.3..p.v|G.3..v|G.4..G_actual|G.4..LossPower|G.4..i|G.4..n.i|G.4..n.v|G.4..p.i|G.4..p.v|G.4..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_Array") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009982/0.0009982, allocations: 180.9 kB / 8.131 MB, free: 2.195 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.066/1.066, allocations: 221.4 MB / 229.9 MB, free: 3.066 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.0008996/0.0008996, allocations: 103.1 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.597/0.597, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.199e-06/5.219e-06, allocations: 0 / 0.5282 GB, free: 52.43 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 82.84 MB / 0.6091 GB, free: 3.562 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/0.5541, allocations: 127.6 MB / 0.7338 GB, free: 2.723 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 9.156e-05/0.5542, allocations: 50.17 kB / 0.7338 GB, free: 2.699 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01344/0.5676, allocations: 5.585 MB / 0.7393 GB, free: 13.96 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.5677, allocations: 12 kB / 0.7393 GB, free: 13.95 MB / 0.5109 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.0008704/0.5686, allocations: 0.7104 MB / 0.74 GB, free: 13.2 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.5686, allocations: 12.02 kB / 0.74 GB, free: 13.19 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/0.5687, allocations: 47.53 kB / 0.74 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.5691, allocations: 326 kB / 0.7403 GB, free: 12.8 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.5692, allocations: 12 kB / 0.7403 GB, free: 12.79 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.5692, allocations: 27.48 kB / 0.7404 GB, free: 12.77 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004516/0.5697, allocations: 338.9 kB / 0.7407 GB, free: 12.53 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.5702, allocations: 385.1 kB / 0.7411 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5702, allocations: 0 / 0.7411 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.5702, allocations: 4 kB / 0.7411 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5702, allocations: 8 kB / 0.7411 GB, free: 12.21 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.5722, allocations: 1.288 MB / 0.7423 GB, free: 11.05 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.5725, allocations: 296.7 kB / 0.7426 GB, free: 10.83 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.5727, allocations: 208.7 kB / 0.7428 GB, free: 10.69 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.5727, allocations: 8.141 kB / 0.7428 GB, free: 10.68 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.5731, allocations: 0.4954 MB / 0.7433 GB, free: 10.19 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 1.493e-06/0.5732, allocations: 4 kB / 0.7433 GB, free: 10.18 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0007148/0.5739, allocations: 486 kB / 0.7438 GB, free: 9.789 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.574, allocations: 432.7 kB / 0.7442 GB, free: 9.281 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.5743, allocations: 262.4 kB / 0.7444 GB, free: 9.062 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.5743, allocations: 37.69 kB / 0.7445 GB, free: 9.02 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.5744, allocations: 171 kB / 0.7446 GB, free: 8.863 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 7.347e-05/0.5745, allocations: 111.9 kB / 0.7447 GB, free: 8.77 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.5745, allocations: 4.844 kB / 0.7447 GB, free: 8.766 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.5746, allocations: 349.7 kB / 0.7451 GB, free: 8.43 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.5748, allocations: 203 kB / 0.7453 GB, free: 8.289 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.5751, allocations: 307.7 kB / 0.7456 GB, free: 8.031 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.5754, allocations: 233.7 kB / 0.7458 GB, free: 7.859 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5754, allocations: 0 / 0.7458 GB, free: 7.859 MB / 0.5109 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008127/0.5762, allocations: 0.6256 MB / 0.7464 GB, free: 7.348 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5763, allocations: 4 kB / 0.7464 GB, free: 7.344 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5763, allocations: 7.938 kB / 0.7464 GB, free: 7.336 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/0.5766, allocations: 125.9 kB / 0.7465 GB, free: 7.23 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.5769, allocations: 51.23 kB / 0.7466 GB, free: 7.184 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.5787, allocations: 2.023 MB / 0.7486 GB, free: 5.293 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.5791, allocations: 75.75 kB / 0.7486 GB, free: 5.219 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.5791, allocations: 14.88 kB / 0.7486 GB, free: 5.207 MB / 0.5109 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.B[1].open,B[1].open,$whenCondition9,$PRE.B[2].open,B[2].open,$whenCondition7,$PRE.B[3].open,B[3].open,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.B[1].triggered,B[1].triggered,$PRE.B[1].G,B[1].G,$PRE.B[1].timeClose,B[1].timeClose,$PRE.B[2].triggered,B[2].triggered,$PRE.B[2].G,B[2].G,$PRE.B[2].timeClose,B[2].timeClose,$PRE.B[3].triggered,B[3].triggered,$PRE.B[3].G,B[3].G,$PRE.B[3].timeClose,B[3].timeClose) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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.0001751/0.5793, allocations: 242.2 kB / 0.7489 GB, free: 4.953 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.5793, allocations: 39.61 kB / 0.7489 GB, free: 4.914 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.5794, allocations: 32.59 kB / 0.7489 GB, free: 4.898 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5794, allocations: 4 kB / 0.7489 GB, free: 4.895 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.5794, allocations: 8 kB / 0.749 GB, free: 4.887 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5794, allocations: 3.984 kB / 0.749 GB, free: 4.883 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.5798, allocations: 379.3 kB / 0.7493 GB, free: 4.539 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5798, allocations: 3.984 kB / 0.7493 GB, free: 4.535 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.5799, allocations: 12 kB / 0.7493 GB, free: 4.523 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002436/0.5802, allocations: 117.7 kB / 0.7494 GB, free: 4.426 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.5802, allocations: 11.98 kB / 0.7495 GB, free: 4.414 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.5819, allocations: 2.008 MB / 0.7514 GB, free: 2.535 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5819, allocations: 0 / 0.7514 GB, free: 2.535 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009677/0.5829, allocations: 0.8139 MB / 0.7522 GB, free: 1.895 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.583, allocations: 108.8 kB / 0.7523 GB, free: 1.77 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.583, allocations: 27.58 kB / 0.7523 GB, free: 1.746 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.5834, allocations: 64.02 kB / 0.7524 GB, free: 1.684 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5835, allocations: 50.05 kB / 0.7525 GB, free: 1.645 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.5835, allocations: 15.98 kB / 0.7525 GB, free: 1.629 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001515/0.5837, allocations: 200.3 kB / 0.7527 GB, free: 1.469 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.000402/0.5841, allocations: 139.9 kB / 0.7528 GB, free: 1.332 MB / 0.5109 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,B[1].open,B[1].triggered,B[1].G,B[1].timeClose,B[2].open,B[2].triggered,B[2].G,B[2].timeClose,B[3].open,B[3].triggered,B[3].G,B[3].timeClose) * Number of discrete states: 15 (B[1].timeClose,B[1].triggered,$whenCondition2,$whenCondition1,B[2].timeClose,B[2].triggered,$whenCondition4,$whenCondition3,B[3].timeClose,B[3].triggered,$whenCondition6,$whenCondition5,B[3].open,B[2].open,B[1].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.0002736/0.5844, allocations: 155.5 kB / 0.7529 GB, free: 1.184 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008346/0.5852, allocations: 0.6932 MB / 0.7536 GB, free: 0.5938 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5852, allocations: 4.062 kB / 0.7536 GB, free: 0.5898 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0005326/0.5858, allocations: 0.4938 MB / 0.7541 GB, free: 164 kB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.586, allocations: 37.23 kB / 0.7541 GB, free: 136 kB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009551/0.587, allocations: 0.6208 MB / 0.7547 GB, free: 15.57 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.5874, allocations: 0.8908 MB / 0.7556 GB, free: 14.67 MB / 0.5265 GB Notification: Performance of SimCode: time 3.91e-07/0.5874, allocations: 0 / 0.7556 GB, free: 14.67 MB / 0.5265 GB Notification: Performance of Templates: time 0.008856/0.5962, allocations: 5.804 MB / 0.7613 GB, free: 8.902 MB / 0.5265 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches