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/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_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") [: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.00113/0.00113, allocations: 185.5 kB / 8.135 MB, free: 2.199 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.033/1.033, allocations: 221.4 MB / 229.9 MB, free: 3.23 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.0009517/0.0009517, allocations: 92.92 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5939/0.5939, allocations: 120.4 MB / 452 MB, free: 12.93 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.238e-06/4.258e-06, allocations: 0 / 0.5282 GB, free: 52.39 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 82.85 MB / 0.6091 GB, free: 3.52 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.5348, allocations: 127.6 MB / 0.7337 GB, free: 2.672 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001084/0.535, allocations: 52.22 kB / 0.7338 GB, free: 2.648 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01246/0.5475, allocations: 5.254 MB / 0.7389 GB, free: 14.23 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.5475, allocations: 4 kB / 0.7389 GB, free: 14.23 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.000846/0.5484, allocations: 0.6716 MB / 0.7396 GB, free: 13.52 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.5484, allocations: 12.03 kB / 0.7396 GB, free: 13.51 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.5485, allocations: 39.53 kB / 0.7396 GB, free: 13.47 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.5488, allocations: 279.1 kB / 0.7399 GB, free: 13.18 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.5488, allocations: 12 kB / 0.7399 GB, free: 13.17 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.5489, allocations: 24 kB / 0.7399 GB, free: 13.14 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003024/0.5492, allocations: 169.8 kB / 0.7401 GB, free: 13.04 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.5496, allocations: 230.5 kB / 0.7403 GB, free: 12.86 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.5496, allocations: 0 / 0.7403 GB, free: 12.86 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.5496, allocations: 11.92 kB / 0.7403 GB, free: 12.85 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.5497, allocations: 7.938 kB / 0.7403 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.5513, allocations: 1.057 MB / 0.7413 GB, free: 11.9 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.5515, allocations: 180.5 kB / 0.7415 GB, free: 11.77 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.5517, allocations: 126.2 kB / 0.7416 GB, free: 11.7 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.5517, allocations: 4.219 kB / 0.7416 GB, free: 11.69 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.5521, allocations: 395.8 kB / 0.742 GB, free: 11.29 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 1.973e-06/0.5521, allocations: 0 / 0.742 GB, free: 11.29 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0005867/0.5527, allocations: 317.5 kB / 0.7423 GB, free: 11.04 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.5528, allocations: 409 kB / 0.7427 GB, free: 10.55 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.553, allocations: 188.4 kB / 0.7429 GB, free: 10.39 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.553, allocations: 37.2 kB / 0.7429 GB, free: 10.35 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.5531, allocations: 162.4 kB / 0.7431 GB, free: 10.2 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.5532, allocations: 112.8 kB / 0.7432 GB, free: 10.11 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/0.5532, allocations: 7.938 kB / 0.7432 GB, free: 10.1 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5533, allocations: 337.2 kB / 0.7435 GB, free: 9.773 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.5535, allocations: 98.06 kB / 0.7436 GB, free: 9.719 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.5537, allocations: 174.7 kB / 0.7438 GB, free: 9.566 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.5538, allocations: 109.5 kB / 0.7439 GB, free: 9.5 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5538, allocations: 0 / 0.7439 GB, free: 9.5 MB / 0.5109 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005605/0.5544, allocations: 395.8 kB / 0.7443 GB, free: 9.184 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.5544, allocations: 4 kB / 0.7443 GB, free: 9.18 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5544, allocations: 0 / 0.7443 GB, free: 9.18 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002662/0.5547, allocations: 84.36 kB / 0.7443 GB, free: 9.109 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.5549, allocations: 43.47 kB / 0.7444 GB, free: 9.07 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.5565, allocations: 1.676 MB / 0.746 GB, free: 7.457 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.5568, allocations: 67.86 kB / 0.7461 GB, free: 7.391 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.5568, allocations: 14.69 kB / 0.7461 GB, free: 7.383 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.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.0001586/0.557, allocations: 220.5 kB / 0.7463 GB, free: 7.148 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.5571, allocations: 39.61 kB / 0.7463 GB, free: 7.109 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.5571, allocations: 29.72 kB / 0.7464 GB, free: 7.098 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5571, allocations: 4 kB / 0.7464 GB, free: 7.094 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5571, allocations: 4 kB / 0.7464 GB, free: 7.09 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5571, allocations: 3.984 kB / 0.7464 GB, free: 7.086 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.5574, allocations: 331.4 kB / 0.7467 GB, free: 6.785 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.5574, allocations: 0 / 0.7467 GB, free: 6.785 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.5575, allocations: 23.98 kB / 0.7467 GB, free: 6.762 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001995/0.5577, allocations: 80.92 kB / 0.7468 GB, free: 6.695 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.5578, allocations: 11.98 kB / 0.7468 GB, free: 6.684 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.5592, allocations: 1.66 MB / 0.7484 GB, free: 5.094 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5592, allocations: 4.109 kB / 0.7484 GB, free: 5.09 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007252/0.56, allocations: 0.5151 MB / 0.7489 GB, free: 4.699 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.56, allocations: 112.7 kB / 0.749 GB, free: 4.57 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.5601, allocations: 11.62 kB / 0.7491 GB, free: 4.562 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.5604, allocations: 55.95 kB / 0.7491 GB, free: 4.508 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.5605, allocations: 35.44 kB / 0.7491 GB, free: 4.48 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.5606, allocations: 15.12 kB / 0.7492 GB, free: 4.469 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001069/0.5607, allocations: 153.4 kB / 0.7493 GB, free: 4.344 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003354/0.561, allocations: 119.7 kB / 0.7494 GB, free: 4.227 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,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.0003021/0.5613, allocations: 145.9 kB / 0.7496 GB, free: 4.086 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0006675/0.562, allocations: 0.4891 MB / 0.75 GB, free: 3.66 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.562, allocations: 0 / 0.75 GB, free: 3.66 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.5625, allocations: 406 kB / 0.7504 GB, free: 3.316 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.5627, allocations: 39.67 kB / 0.7505 GB, free: 3.281 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006856/0.5634, allocations: 416.1 kB / 0.7509 GB, free: 2.898 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.5637, allocations: 0.8138 MB / 0.7517 GB, free: 2.062 MB / 0.5109 GB Notification: Performance of SimCode: time 2.61e-07/0.5638, allocations: 0 / 0.7517 GB, free: 2.062 MB / 0.5109 GB Notification: Performance of Templates: time 0.007733/0.5715, allocations: 4.66 MB / 0.7562 GB, free: 13.46 MB / 0.5265 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches