Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0009481/0.0009481, allocations: 190.2 kB / 8.141 MB, free: 2.191 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.054/1.054, 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.0008897/0.0008897, allocations: 89.39 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6115/0.6115, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.468e-06/4.498e-06, allocations: 0 / 0.5282 GB, free: 52.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 82.86 MB / 0.6091 GB, free: 3.555 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.5787, allocations: 127.6 MB / 0.7338 GB, free: 2.449 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001387/0.5789, allocations: 46.91 kB / 0.7338 GB, free: 2.43 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01399/0.5929, allocations: 5.592 MB / 0.7393 GB, free: 13.69 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.935e-05/0.593, allocations: 15.94 kB / 0.7393 GB, free: 13.68 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.0009348/0.5939, allocations: 0.7086 MB / 0.74 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.594, allocations: 8.031 kB / 0.74 GB, free: 12.92 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.706e-05/0.594, allocations: 43.53 kB / 0.74 GB, free: 12.88 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.5945, allocations: 330 kB / 0.7403 GB, free: 12.53 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.5945, allocations: 12 kB / 0.7403 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.5946, allocations: 20 kB / 0.7404 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004638/0.5951, allocations: 341.8 kB / 0.7407 GB, free: 12.26 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.5956, allocations: 386.3 kB / 0.7411 GB, free: 11.96 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5956, allocations: 0 / 0.7411 GB, free: 11.96 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.5956, allocations: 3.438 kB / 0.7411 GB, free: 11.96 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.5957, allocations: 8 kB / 0.7411 GB, free: 11.95 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.5976, allocations: 1.286 MB / 0.7423 GB, free: 10.79 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.5979, allocations: 289.3 kB / 0.7426 GB, free: 10.57 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.5981, allocations: 222.7 kB / 0.7428 GB, free: 10.42 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.5982, allocations: 4.141 kB / 0.7428 GB, free: 10.41 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004125/0.5986, allocations: 0.4963 MB / 0.7433 GB, free: 9.922 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 1.483e-06/0.5986, allocations: 4 kB / 0.7433 GB, free: 9.918 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0007181/0.5993, allocations: 485.5 kB / 0.7438 GB, free: 9.527 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.5995, allocations: 437.5 kB / 0.7442 GB, free: 9.012 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.5997, allocations: 260.9 kB / 0.7444 GB, free: 8.793 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.5998, allocations: 40.88 kB / 0.7445 GB, free: 8.75 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.5999, allocations: 170.1 kB / 0.7446 GB, free: 8.594 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.5999, allocations: 102.9 kB / 0.7447 GB, free: 8.508 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.6, allocations: 0 / 0.7447 GB, free: 8.508 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.6001, allocations: 355 kB / 0.7451 GB, free: 8.168 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.6003, allocations: 207.4 kB / 0.7453 GB, free: 8.023 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.6006, allocations: 305.9 kB / 0.7456 GB, free: 7.766 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.6009, allocations: 237.2 kB / 0.7458 GB, free: 7.594 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.6009, allocations: 4 kB / 0.7458 GB, free: 7.59 MB / 0.5109 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007963/0.6017, allocations: 0.6207 MB / 0.7464 GB, free: 7.082 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.6017, allocations: 8 kB / 0.7464 GB, free: 7.074 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.6017, allocations: 0 / 0.7464 GB, free: 7.074 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/0.602, allocations: 126 kB / 0.7465 GB, free: 6.969 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.6022, allocations: 59.41 kB / 0.7466 GB, free: 6.914 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.6041, allocations: 2.021 MB / 0.7486 GB, free: 5.023 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.6044, allocations: 79.75 kB / 0.7486 GB, free: 4.945 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.6045, allocations: 15.06 kB / 0.7486 GB, free: 4.934 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.0001818/0.6047, allocations: 238.4 kB / 0.7489 GB, free: 4.68 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.6047, allocations: 35.62 kB / 0.7489 GB, free: 4.645 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.6048, allocations: 34.64 kB / 0.7489 GB, free: 4.625 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.6048, allocations: 4 kB / 0.7489 GB, free: 4.621 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6048, allocations: 0 / 0.7489 GB, free: 4.621 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6048, allocations: 0 / 0.7489 GB, free: 4.621 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.6052, allocations: 389.8 kB / 0.7493 GB, free: 4.27 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6052, allocations: 0 / 0.7493 GB, free: 4.27 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.6053, allocations: 19.98 kB / 0.7493 GB, free: 4.25 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.6055, allocations: 117.8 kB / 0.7494 GB, free: 4.152 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.6056, allocations: 4 kB / 0.7495 GB, free: 4.148 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.6073, allocations: 2.013 MB / 0.7514 GB, free: 2.266 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6073, allocations: 0 / 0.7514 GB, free: 2.266 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009615/0.6083, allocations: 0.8145 MB / 0.7522 GB, free: 1.621 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.6084, allocations: 107.8 kB / 0.7523 GB, free: 1.5 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.6084, allocations: 23.58 kB / 0.7523 GB, free: 1.48 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.6088, allocations: 64 kB / 0.7524 GB, free: 1.418 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.6089, allocations: 46.81 kB / 0.7524 GB, free: 1.379 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.6089, allocations: 19.36 kB / 0.7525 GB, free: 1.363 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001487/0.6091, allocations: 203 kB / 0.7527 GB, free: 1.199 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003843/0.6095, allocations: 139.9 kB / 0.7528 GB, free: 1.062 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.0002859/0.6098, allocations: 155.4 kB / 0.7529 GB, free: 0.9141 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008334/0.6106, allocations: 0.6915 MB / 0.7536 GB, free: 332 kB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.6106, allocations: 3.984 kB / 0.7536 GB, free: 328 kB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.6112, allocations: 0.493 MB / 0.7541 GB, free: 15.89 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.6114, allocations: 34.92 kB / 0.7541 GB, free: 15.87 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009136/0.6123, allocations: 0.6167 MB / 0.7547 GB, free: 15.31 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.6127, allocations: 0.8914 MB / 0.7556 GB, free: 14.41 MB / 0.5265 GB Notification: Performance of SimCode: time 2.7e-07/0.6127, allocations: 0 / 0.7556 GB, free: 14.41 MB / 0.5265 GB Notification: Performance of Templates: time 0.008933/0.6217, allocations: 5.825 MB / 0.7613 GB, free: 8.625 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Array.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches