Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_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.BreakerNetwork_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.v|B2.G|B2.i|B2.n.i|B2.n.v|B2.open|B2.p.i|B2.p.v|B2.v|B3.G|B3.i|B3.n.i|B3.n.v|B3.open|B3.p.i|B3.p.v|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.BreakerNetwork_3_Scalar") translateModel(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_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.v|B2.G|B2.i|B2.n.i|B2.n.v|B2.open|B2.p.i|B2.p.v|B2.v|B3.G|B3.i|B3.n.i|B3.n.v|B3.open|B3.p.i|B3.p.v|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.BreakerNetwork_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.0009932/0.0009932, allocations: 186.1 kB / 8.133 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.072/1.072, allocations: 221.4 MB / 229.9 MB, free: 3.062 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.0009091/0.0009091, allocations: 91.12 kB / 280.8 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6035/0.6035, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.73e-06/5.741e-06, allocations: 3.938 kB / 0.5282 GB, free: 52.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 82.84 MB / 0.6091 GB, free: 3.562 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.5641, allocations: 127.5 MB / 0.7336 GB, free: 2.789 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001139/0.5642, allocations: 45.36 kB / 0.7337 GB, free: 2.77 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01151/0.5758, allocations: 4.864 MB / 0.7384 GB, free: 14.7 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.5758, allocations: 11.98 kB / 0.7384 GB, free: 14.69 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000719/0.5765, allocations: 0.5781 MB / 0.739 GB, free: 14.09 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.5766, allocations: 8.031 kB / 0.739 GB, free: 14.09 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.5766, allocations: 39.61 kB / 0.7391 GB, free: 14.05 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.5769, allocations: 270.7 kB / 0.7393 GB, free: 13.76 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.577, allocations: 8 kB / 0.7393 GB, free: 13.75 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.577, allocations: 20 kB / 0.7393 GB, free: 13.73 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000263/0.5773, allocations: 158.2 kB / 0.7395 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.5776, allocations: 215.5 kB / 0.7397 GB, free: 13.48 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5776, allocations: 0 / 0.7397 GB, free: 13.48 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.5777, allocations: 3.938 kB / 0.7397 GB, free: 13.47 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.5777, allocations: 8 kB / 0.7397 GB, free: 13.46 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.5791, allocations: 0.9871 MB / 0.7407 GB, free: 12.58 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.5793, allocations: 160.6 kB / 0.7408 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.5795, allocations: 105.7 kB / 0.7409 GB, free: 12.4 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.5795, allocations: 7.984 kB / 0.7409 GB, free: 12.39 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.5797, allocations: 186.5 kB / 0.7411 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.5797, allocations: 0 / 0.7411 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of matching and sorting (n=30): time 0.0004731/0.5802, allocations: 261.6 kB / 0.7414 GB, free: 12.01 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.5803, allocations: 165.5 kB / 0.7415 GB, free: 11.82 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.5804, allocations: 181.7 kB / 0.7417 GB, free: 11.66 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.5805, allocations: 37.69 kB / 0.7417 GB, free: 11.61 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.5805, allocations: 165.9 kB / 0.7419 GB, free: 11.46 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.5806, allocations: 82.56 kB / 0.742 GB, free: 11.39 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-06/0.5806, allocations: 224 / 0.742 GB, free: 11.39 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.5807, allocations: 337.2 kB / 0.7423 GB, free: 11.06 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.5808, allocations: 79.69 kB / 0.7424 GB, free: 11.01 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.581, allocations: 138.5 kB / 0.7425 GB, free: 10.88 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.5811, allocations: 94.27 kB / 0.7426 GB, free: 10.82 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5811, allocations: 0 / 0.7426 GB, free: 10.82 MB / 0.5109 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004732/0.5816, allocations: 320 kB / 0.7429 GB, free: 10.57 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.5816, allocations: 8 kB / 0.7429 GB, free: 10.56 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5816, allocations: 3.906 kB / 0.7429 GB, free: 10.56 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.5819, allocations: 82.61 kB / 0.743 GB, free: 10.49 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.5821, allocations: 31.92 kB / 0.743 GB, free: 10.46 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.5835, allocations: 1.672 MB / 0.7446 GB, free: 8.855 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.5838, allocations: 44.56 kB / 0.7447 GB, free: 8.812 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.5838, allocations: 11.5 kB / 0.7447 GB, free: 8.805 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: 18 ($whenCondition5,$PRE.B1.open,B1.open,$whenCondition3,$PRE.B2.open,B2.open,$whenCondition1,$PRE.B3.open,B3.open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B1.G,B1.G,$PRE.B2.G,B2.G,$PRE.B3.G,B3.G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 9.041e-05/0.5839, allocations: 120.2 kB / 0.7448 GB, free: 8.684 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.5839, allocations: 31.66 kB / 0.7448 GB, free: 8.652 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.584, allocations: 32.17 kB / 0.7449 GB, free: 8.637 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.584, allocations: 4 kB / 0.7449 GB, free: 8.633 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.584, allocations: 0 / 0.7449 GB, free: 8.633 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.584, allocations: 4.188 kB / 0.7449 GB, free: 8.629 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.5843, allocations: 298.9 kB / 0.7452 GB, free: 8.352 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5843, allocations: 3.984 kB / 0.7452 GB, free: 8.348 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.5844, allocations: 27.92 kB / 0.7452 GB, free: 8.324 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.5846, allocations: 74.67 kB / 0.7453 GB, free: 8.262 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.5846, allocations: 4 kB / 0.7453 GB, free: 8.258 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.586, allocations: 1.659 MB / 0.7469 GB, free: 6.672 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.586, allocations: 0 / 0.7469 GB, free: 6.672 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000521/0.5866, allocations: 394.6 kB / 0.7473 GB, free: 6.363 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.5866, allocations: 104.5 kB / 0.7474 GB, free: 6.246 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.5867, allocations: 3.984 kB / 0.7474 GB, free: 6.242 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.5869, allocations: 32.05 kB / 0.7474 GB, free: 6.211 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.5869, allocations: 15.66 kB / 0.7474 GB, free: 6.199 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.587, allocations: 15.48 kB / 0.7474 GB, free: 6.188 MB / 0.5109 GB Notification: Performance of sort global known variables: time 9.379e-05/0.5871, allocations: 142.8 kB / 0.7476 GB, free: 6.07 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003153/0.5874, allocations: 103.7 kB / 0.7477 GB, free: 5.969 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B1.open,B1.G,B2.open,B2.G,B3.open,B3.G) * Number of discrete states: 3 (B3.open,B2.open,B1.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0002327/0.5876, allocations: 130.4 kB / 0.7478 GB, free: 5.84 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0005201/0.5882, allocations: 341.9 kB / 0.7481 GB, free: 5.562 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5882, allocations: 4.062 kB / 0.7481 GB, free: 5.559 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.5885, allocations: 236.1 kB / 0.7483 GB, free: 5.352 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.5887, allocations: 24.92 kB / 0.7484 GB, free: 5.328 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.5893, allocations: 351.3 kB / 0.7487 GB, free: 5.008 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.5896, allocations: 0.7985 MB / 0.7495 GB, free: 4.184 MB / 0.5109 GB Notification: Performance of SimCode: time 3.31e-07/0.5897, allocations: 0 / 0.7495 GB, free: 4.184 MB / 0.5109 GB Notification: Performance of Templates: time 0.006562/0.5962, allocations: 3.756 MB / 0.7531 GB, free: 476 kB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches