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.001048/0.001048, allocations: 187.8 kB / 8.138 MB, free: 2.211 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.081/1.081, allocations: 221.4 MB / 229.9 MB, free: 3.082 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.00103/0.00103, allocations: 103.9 kB / 280.8 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6368/0.6368, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.999e-06/5.029e-06, allocations: 0 / 0.5282 GB, free: 52.48 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 82.83 MB / 0.6091 GB, free: 3.578 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.5736, allocations: 127.6 MB / 0.7337 GB, free: 2.574 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000117/0.5737, allocations: 45.61 kB / 0.7338 GB, free: 2.555 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.013/0.5868, allocations: 5.257 MB / 0.7389 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.5868, allocations: 11.98 kB / 0.7389 GB, free: 14.12 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.0008491/0.5877, allocations: 0.6711 MB / 0.7396 GB, free: 13.42 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.5877, allocations: 8.031 kB / 0.7396 GB, free: 13.41 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.5878, allocations: 47.52 kB / 0.7396 GB, free: 13.36 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.5882, allocations: 275 kB / 0.7399 GB, free: 13.08 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.5882, allocations: 11.98 kB / 0.7399 GB, free: 13.07 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.5882, allocations: 20 kB / 0.7399 GB, free: 13.05 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000324/0.5886, allocations: 177.7 kB / 0.7401 GB, free: 12.94 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.589, allocations: 222.2 kB / 0.7403 GB, free: 12.77 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.589, allocations: 4 kB / 0.7403 GB, free: 12.76 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.589, allocations: 7.938 kB / 0.7403 GB, free: 12.75 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5891, allocations: 8 kB / 0.7403 GB, free: 12.75 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.5907, allocations: 1.045 MB / 0.7413 GB, free: 11.81 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.5909, allocations: 184.5 kB / 0.7415 GB, free: 11.68 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.5911, allocations: 130.9 kB / 0.7416 GB, free: 11.6 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.5911, allocations: 4.234 kB / 0.7416 GB, free: 11.6 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.5915, allocations: 390.2 kB / 0.742 GB, free: 11.2 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.5915, allocations: 4 kB / 0.742 GB, free: 11.2 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0005977/0.5921, allocations: 319.6 kB / 0.7423 GB, free: 10.95 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.5922, allocations: 408.5 kB / 0.7427 GB, free: 10.46 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.5924, allocations: 194.9 kB / 0.7429 GB, free: 10.29 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.5925, allocations: 29.7 kB / 0.7429 GB, free: 10.26 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.5925, allocations: 166.3 kB / 0.7431 GB, free: 10.11 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 7.799e-05/0.5926, allocations: 108.2 kB / 0.7432 GB, free: 10.02 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.5927, allocations: 3.938 kB / 0.7432 GB, free: 10.01 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5928, allocations: 345.5 kB / 0.7435 GB, free: 9.68 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.5929, allocations: 90.75 kB / 0.7436 GB, free: 9.629 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.5931, allocations: 180.8 kB / 0.7438 GB, free: 9.473 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.5933, allocations: 109.1 kB / 0.7439 GB, free: 9.402 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5933, allocations: 0 / 0.7439 GB, free: 9.402 MB / 0.5109 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005984/0.5939, allocations: 393.6 kB / 0.7442 GB, free: 9.09 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5939, allocations: 8 kB / 0.7443 GB, free: 9.082 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5939, allocations: 0.75 kB / 0.7443 GB, free: 9.082 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.5942, allocations: 79.11 kB / 0.7443 GB, free: 9.02 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.5944, allocations: 43.92 kB / 0.7444 GB, free: 8.977 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.596, allocations: 1.684 MB / 0.746 GB, free: 7.355 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.5963, allocations: 67.81 kB / 0.7461 GB, free: 7.289 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.5964, allocations: 15.19 kB / 0.7461 GB, free: 7.277 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.0001593/0.5965, allocations: 226.3 kB / 0.7463 GB, free: 7.039 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.5966, allocations: 35.62 kB / 0.7463 GB, free: 7.004 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.5966, allocations: 32.08 kB / 0.7464 GB, free: 6.992 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5966, allocations: 4 kB / 0.7464 GB, free: 6.988 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5967, allocations: 0 / 0.7464 GB, free: 6.988 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5967, allocations: 0 / 0.7464 GB, free: 6.988 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.597, allocations: 331.9 kB / 0.7467 GB, free: 6.684 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.597, allocations: 0 / 0.7467 GB, free: 6.684 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.5971, allocations: 23.36 kB / 0.7467 GB, free: 6.664 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002077/0.5973, allocations: 82.61 kB / 0.7468 GB, free: 6.594 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.5974, allocations: 7.984 kB / 0.7468 GB, free: 6.586 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.5988, allocations: 1.664 MB / 0.7484 GB, free: 4.992 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5988, allocations: 112 / 0.7484 GB, free: 4.992 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007584/0.5996, allocations: 0.5261 MB / 0.7489 GB, free: 4.59 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.5997, allocations: 107.8 kB / 0.749 GB, free: 4.469 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.5997, allocations: 7.984 kB / 0.7491 GB, free: 4.461 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.6, allocations: 54.84 kB / 0.7491 GB, free: 4.41 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.6001, allocations: 38.38 kB / 0.7491 GB, free: 4.379 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.6002, allocations: 19.36 kB / 0.7492 GB, free: 4.363 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001014/0.6003, allocations: 147.9 kB / 0.7493 GB, free: 4.242 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003761/0.6007, allocations: 123.7 kB / 0.7494 GB, free: 4.121 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.0002783/0.6009, allocations: 156.3 kB / 0.7496 GB, free: 3.977 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0007027/0.6017, allocations: 492.5 kB / 0.75 GB, free: 3.559 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6017, allocations: 4 kB / 0.75 GB, free: 3.555 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.6021, allocations: 411.9 kB / 0.7504 GB, free: 3.203 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.6024, allocations: 30.53 kB / 0.7505 GB, free: 3.184 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/0.6031, allocations: 408.3 kB / 0.7509 GB, free: 2.809 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.6035, allocations: 0.8185 MB / 0.7517 GB, free: 1.965 MB / 0.5109 GB Notification: Performance of SimCode: time 2.61e-07/0.6035, allocations: 0 / 0.7517 GB, free: 1.965 MB / 0.5109 GB Notification: Performance of Templates: time 0.008317/0.6118, allocations: 4.659 MB / 0.7562 GB, free: 13.36 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/jenkins1/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