Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009738/0.0009738, allocations: 182.8 kB / 8.137 MB, free: 2.184 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.048/1.048, allocations: 221.4 MB / 229.9 MB, free: 3.258 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.0008726/0.0008727, allocations: 95.62 kB / 280.8 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6003/0.6003, allocations: 120.4 MB / 452 MB, free: 12.91 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.099e-06/5.129e-06, allocations: 0 / 0.5282 GB, free: 52.46 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 82.85 MB / 0.6091 GB, free: 3.543 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4616/0.5717, allocations: 127.6 MB / 0.7337 GB, free: 2.461 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001142/0.5719, allocations: 47.8 kB / 0.7338 GB, free: 2.441 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01314/0.585, allocations: 5.242 MB / 0.7389 GB, free: 14.03 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.5851, allocations: 8 kB / 0.7389 GB, free: 14.02 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.0009355/0.586, allocations: 0.6752 MB / 0.7395 GB, free: 13.31 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5861, allocations: 8.031 kB / 0.7396 GB, free: 13.3 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.5862, allocations: 51.45 kB / 0.7396 GB, free: 13.26 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.5866, allocations: 272.3 kB / 0.7399 GB, free: 12.97 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.5866, allocations: 17.61 kB / 0.7399 GB, free: 12.96 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.5867, allocations: 20 kB / 0.7399 GB, free: 12.94 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003335/0.587, allocations: 169.7 kB / 0.7401 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.5874, allocations: 226.7 kB / 0.7403 GB, free: 12.66 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.5874, allocations: 4 kB / 0.7403 GB, free: 12.66 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.5875, allocations: 7.5 kB / 0.7403 GB, free: 12.65 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.5875, allocations: 8 kB / 0.7403 GB, free: 12.64 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.5892, allocations: 1.044 MB / 0.7413 GB, free: 11.71 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.5894, allocations: 182.1 kB / 0.7415 GB, free: 11.59 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.5896, allocations: 137.8 kB / 0.7416 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.5896, allocations: 4.234 kB / 0.7416 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003356/0.59, allocations: 387.9 kB / 0.742 GB, free: 11.1 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=42): time 2.013e-06/0.59, allocations: 0 / 0.742 GB, free: 11.1 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42): time 0.0005933/0.5906, allocations: 328.6 kB / 0.7423 GB, free: 10.84 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.5908, allocations: 413.1 kB / 0.7427 GB, free: 10.35 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.5909, allocations: 185.1 kB / 0.7429 GB, free: 10.19 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.591, allocations: 29.7 kB / 0.7429 GB, free: 10.16 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.5911, allocations: 168 kB / 0.7431 GB, free: 10 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.5911, allocations: 107.6 kB / 0.7432 GB, free: 9.914 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.5912, allocations: 3.938 kB / 0.7432 GB, free: 9.91 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.5913, allocations: 344.4 kB / 0.7435 GB, free: 9.578 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.5914, allocations: 88.94 kB / 0.7436 GB, free: 9.527 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.5916, allocations: 179 kB / 0.7438 GB, free: 9.375 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.5918, allocations: 117.7 kB / 0.7439 GB, free: 9.297 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5918, allocations: 0 / 0.7439 GB, free: 9.297 MB / 0.5109 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000584/0.5924, allocations: 393.2 kB / 0.7442 GB, free: 8.984 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.5924, allocations: 4 kB / 0.7443 GB, free: 8.98 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.5924, allocations: 0 / 0.7443 GB, free: 8.98 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/0.5927, allocations: 74.69 kB / 0.7443 GB, free: 8.918 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.5929, allocations: 51.98 kB / 0.7444 GB, free: 8.871 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.5945, allocations: 1.675 MB / 0.746 GB, free: 7.262 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.5948, allocations: 59.88 kB / 0.7461 GB, free: 7.203 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.5949, allocations: 15.62 kB / 0.7461 GB, free: 7.191 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.0001769/0.595, allocations: 235.6 kB / 0.7463 GB, free: 6.945 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.5951, allocations: 35.62 kB / 0.7463 GB, free: 6.91 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.5952, allocations: 28.7 kB / 0.7464 GB, free: 6.898 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5952, allocations: 4 kB / 0.7464 GB, free: 6.895 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5952, allocations: 4 kB / 0.7464 GB, free: 6.891 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5952, allocations: 0 / 0.7464 GB, free: 6.891 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.5955, allocations: 328.9 kB / 0.7467 GB, free: 6.59 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5955, allocations: 0 / 0.7467 GB, free: 6.59 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.5957, allocations: 19.81 kB / 0.7467 GB, free: 6.574 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002404/0.5959, allocations: 80.41 kB / 0.7468 GB, free: 6.508 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.5959, allocations: 7.984 kB / 0.7468 GB, free: 6.5 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.5974, allocations: 1.682 MB / 0.7484 GB, free: 4.891 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5974, allocations: 112 / 0.7484 GB, free: 4.891 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000728/0.5981, allocations: 0.5174 MB / 0.7489 GB, free: 4.496 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.5982, allocations: 104.7 kB / 0.749 GB, free: 4.375 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.5983, allocations: 15.61 kB / 0.7491 GB, free: 4.363 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.5986, allocations: 56.03 kB / 0.7491 GB, free: 4.309 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.5987, allocations: 38.92 kB / 0.7491 GB, free: 4.277 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.5987, allocations: 19.67 kB / 0.7492 GB, free: 4.262 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001038/0.5989, allocations: 157.1 kB / 0.7493 GB, free: 4.133 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0004449/0.5993, allocations: 123.7 kB / 0.7494 GB, free: 4.012 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.0002668/0.5996, allocations: 131.8 kB / 0.7496 GB, free: 3.887 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0007051/0.6003, allocations: 0.4897 MB / 0.75 GB, free: 3.461 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6003, allocations: 0 / 0.75 GB, free: 3.461 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.6008, allocations: 415.2 kB / 0.7504 GB, free: 3.109 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.601, allocations: 29.22 kB / 0.7505 GB, free: 3.086 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.6018, allocations: 404.4 kB / 0.7508 GB, free: 2.715 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.6022, allocations: 0.8185 MB / 0.7516 GB, free: 1.871 MB / 0.5109 GB Notification: Performance of SimCode: time 4.21e-07/0.6022, allocations: 3.938 kB / 0.7516 GB, free: 1.867 MB / 0.5109 GB Notification: Performance of Templates: time 0.008492/0.6107, allocations: 4.658 MB / 0.7562 GB, free: 13.26 MB / 0.5265 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetworkDelayed_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches