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.001137/0.001137, allocations: 187.2 kB / 8.135 MB, free: 2.219 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.082/1.082, allocations: 221.4 MB / 229.9 MB, free: 3.023 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.0009384/0.0009384, allocations: 99.52 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.6011/0.6011, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.648e-06/4.678e-06, allocations: 0 / 0.5282 GB, free: 52.5 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 82.84 MB / 0.6091 GB, free: 3.59 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5639, allocations: 127.6 MB / 0.7338 GB, free: 2.371 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 8.452e-05/0.564, allocations: 46.3 kB / 0.7338 GB, free: 2.352 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01425/0.5783, allocations: 5.593 MB / 0.7393 GB, free: 13.61 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.5783, allocations: 12 kB / 0.7393 GB, free: 13.6 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.0009638/0.5793, allocations: 0.7058 MB / 0.74 GB, free: 12.85 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.5793, allocations: 12.03 kB / 0.74 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.5794, allocations: 43.53 kB / 0.74 GB, free: 12.8 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.5799, allocations: 328.1 kB / 0.7403 GB, free: 12.46 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.5799, allocations: 15.98 kB / 0.7403 GB, free: 12.44 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.58, allocations: 20 kB / 0.7404 GB, free: 12.42 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004661/0.5804, allocations: 342.5 kB / 0.7407 GB, free: 12.18 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.581, allocations: 392.5 kB / 0.7411 GB, free: 11.88 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.581, allocations: 0 / 0.7411 GB, free: 11.88 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.581, allocations: 4 kB / 0.7411 GB, free: 11.87 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.581, allocations: 12 kB / 0.7411 GB, free: 11.86 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.5831, allocations: 1.286 MB / 0.7423 GB, free: 10.7 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.5834, allocations: 292.4 kB / 0.7426 GB, free: 10.48 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.5836, allocations: 216.4 kB / 0.7428 GB, free: 10.33 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.5837, allocations: 4.141 kB / 0.7428 GB, free: 10.33 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004388/0.5841, allocations: 0.5024 MB / 0.7433 GB, free: 9.828 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 1.383e-06/0.5841, allocations: 4 kB / 0.7433 GB, free: 9.824 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0007327/0.5849, allocations: 474.7 kB / 0.7438 GB, free: 9.441 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.585, allocations: 433 kB / 0.7442 GB, free: 8.93 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.5853, allocations: 259.9 kB / 0.7444 GB, free: 8.715 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.5853, allocations: 41.69 kB / 0.7445 GB, free: 8.668 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.5854, allocations: 173.6 kB / 0.7446 GB, free: 8.508 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.5855, allocations: 110.7 kB / 0.7447 GB, free: 8.418 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.5855, allocations: 0 / 0.7447 GB, free: 8.418 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.5856, allocations: 347.1 kB / 0.7451 GB, free: 8.082 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.5859, allocations: 205.6 kB / 0.7453 GB, free: 7.941 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.5862, allocations: 313.6 kB / 0.7456 GB, free: 7.676 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.5865, allocations: 229.6 kB / 0.7458 GB, free: 7.512 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5865, allocations: 4 kB / 0.7458 GB, free: 7.508 MB / 0.5109 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008305/0.5873, allocations: 0.6243 MB / 0.7464 GB, free: 6.996 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.5873, allocations: 12.03 kB / 0.7464 GB, free: 6.984 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5873, allocations: 0 / 0.7464 GB, free: 6.984 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003051/0.5877, allocations: 122.3 kB / 0.7465 GB, free: 6.883 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.5879, allocations: 55.78 kB / 0.7466 GB, free: 6.832 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.5898, allocations: 2.017 MB / 0.7486 GB, free: 4.945 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.5901, allocations: 83.69 kB / 0.7486 GB, free: 4.863 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.5902, allocations: 19.69 kB / 0.7486 GB, free: 4.848 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.0001708/0.5904, allocations: 232.1 kB / 0.7489 GB, free: 4.602 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.5904, allocations: 35.62 kB / 0.7489 GB, free: 4.566 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.5905, allocations: 32.41 kB / 0.7489 GB, free: 4.551 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5905, allocations: 8 kB / 0.7489 GB, free: 4.543 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.5905, allocations: 3.984 kB / 0.7489 GB, free: 4.539 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.5905, allocations: 0 / 0.7489 GB, free: 4.539 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.5909, allocations: 383.1 kB / 0.7493 GB, free: 4.191 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5909, allocations: 0 / 0.7493 GB, free: 4.191 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.591, allocations: 19.92 kB / 0.7493 GB, free: 4.172 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/0.5913, allocations: 118.5 kB / 0.7494 GB, free: 4.074 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.5913, allocations: 8 kB / 0.7495 GB, free: 4.066 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.5931, allocations: 2.014 MB / 0.7514 GB, free: 2.18 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5931, allocations: 0 / 0.7514 GB, free: 2.18 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001003/0.5941, allocations: 0.8104 MB / 0.7522 GB, free: 1.543 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.5942, allocations: 108.8 kB / 0.7523 GB, free: 1.418 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.907e-05/0.5943, allocations: 23.64 kB / 0.7523 GB, free: 1.398 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.5946, allocations: 68 kB / 0.7524 GB, free: 1.332 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.5947, allocations: 46.5 kB / 0.7524 GB, free: 1.297 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.5948, allocations: 15.98 kB / 0.7525 GB, free: 1.281 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001544/0.5949, allocations: 203.5 kB / 0.7527 GB, free: 1.117 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003994/0.5953, allocations: 139.9 kB / 0.7528 GB, free: 0.9805 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.0002738/0.5956, allocations: 158.9 kB / 0.7529 GB, free: 0.832 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008718/0.5965, allocations: 0.6952 MB / 0.7536 GB, free: 244 kB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5965, allocations: 0 / 0.7536 GB, free: 244 kB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0005356/0.5971, allocations: 0.4935 MB / 0.7541 GB, free: 15.81 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.5973, allocations: 38.78 kB / 0.7541 GB, free: 15.79 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.5983, allocations: 0.6158 MB / 0.7547 GB, free: 15.22 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/0.5987, allocations: 0.8906 MB / 0.7556 GB, free: 14.32 MB / 0.5265 GB Notification: Performance of SimCode: time 2.21e-07/0.5987, allocations: 0 / 0.7556 GB, free: 14.32 MB / 0.5265 GB Notification: Performance of Templates: time 0.008941/0.6076, allocations: 5.82 MB / 0.7613 GB, free: 8.547 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/jenkins1/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