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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 175 kB / 8.348 MB, free: 0.7266 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.691/1.691, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.00104/0.00104, allocations: 93.67 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.574/1.574, allocations: 120.5 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.842e-05, allocations: 0 / 0.5288 GB, free: 1.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.6977, allocations: 82.85 MB / 0.6097 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.872, allocations: 127.7 MB / 0.7344 GB, free: 13.22 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.8722, allocations: 51.97 kB / 0.7344 GB, free: 13.18 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01886/0.8911, allocations: 5.499 MB / 0.7398 GB, free: 7.656 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8912, allocations: 0 / 0.7398 GB, free: 7.656 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.779e-05/0.8912, allocations: 8 kB / 0.7398 GB, free: 7.648 MB / 0.5419 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.001248/0.8924, allocations: 0.6656 MB / 0.7404 GB, free: 6.918 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.8925, allocations: 8.031 kB / 0.7404 GB, free: 6.91 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.8927, allocations: 47.7 kB / 0.7405 GB, free: 6.863 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.8931, allocations: 266.4 kB / 0.7407 GB, free: 6.562 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.8932, allocations: 23.92 kB / 0.7408 GB, free: 6.539 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.8932, allocations: 20 kB / 0.7408 GB, free: 6.52 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004556/0.8937, allocations: 173.5 kB / 0.741 GB, free: 6.352 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.8943, allocations: 226.2 kB / 0.7412 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.8943, allocations: 0 / 0.7412 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.8943, allocations: 7.984 kB / 0.7412 GB, free: 6.117 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.8944, allocations: 7.953 kB / 0.7412 GB, free: 6.109 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.8966, allocations: 1.034 MB / 0.7422 GB, free: 5.004 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.897, allocations: 203 kB / 0.7424 GB, free: 4.797 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.8972, allocations: 133 kB / 0.7425 GB, free: 4.664 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.8973, allocations: 4.234 kB / 0.7425 GB, free: 4.66 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005826/0.8979, allocations: 423.1 kB / 0.7429 GB, free: 4.18 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.8979, allocations: 0 / 0.7429 GB, free: 4.18 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42): time 0.0009232/0.8988, allocations: 386.8 kB / 0.7433 GB, free: 3.793 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002134/0.899, allocations: 409.9 kB / 0.7437 GB, free: 3.297 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.8993, allocations: 187.9 kB / 0.7439 GB, free: 3.109 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.8993, allocations: 29.7 kB / 0.7439 GB, free: 3.074 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.8995, allocations: 188.5 kB / 0.7441 GB, free: 2.887 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.8996, allocations: 110.5 kB / 0.7442 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.8996, allocations: 0 / 0.7442 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8998, allocations: 342.8 kB / 0.7445 GB, free: 2.434 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.9001, allocations: 97.12 kB / 0.7446 GB, free: 2.336 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.9004, allocations: 176.6 kB / 0.7448 GB, free: 2.137 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.9006, allocations: 102 kB / 0.7449 GB, free: 2.039 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9006, allocations: 8 kB / 0.7449 GB, free: 2.031 MB / 0.5419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008877/0.9015, allocations: 420.3 kB / 0.7453 GB, free: 1.609 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.9016, allocations: 85.11 kB / 0.7453 GB, free: 1.508 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9016, allocations: 0 / 0.7453 GB, free: 1.508 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/0.902, allocations: 80.84 kB / 0.7454 GB, free: 1.426 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.9022, allocations: 43.91 kB / 0.7455 GB, free: 1.383 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7183/1.621, allocations: 1.69 MB / 0.7471 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/1.621, allocations: 66.3 kB / 0.7472 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/1.621, allocations: 15.47 kB / 0.7472 GB, free: 132.3 MB / 0.5421 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.0002116/1.621, allocations: 225.3 kB / 0.7474 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.045e-05/1.621, allocations: 38.23 kB / 0.7474 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.243e-05/1.621, allocations: 29.36 kB / 0.7475 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.621, allocations: 4.75 kB / 0.7475 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.622, allocations: 4.188 kB / 0.7475 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.622, allocations: 1.406 kB / 0.7475 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/1.622, allocations: 337.2 kB / 0.7478 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/1.622, allocations: 0 / 0.7478 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/1.622, allocations: 22.48 kB / 0.7478 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/1.622, allocations: 72.17 kB / 0.7479 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/1.622, allocations: 9.672 kB / 0.7479 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/1.624, allocations: 1.691 MB / 0.7496 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.624, allocations: 0.6094 kB / 0.7496 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009861/1.625, allocations: 0.567 MB / 0.7501 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/1.625, allocations: 110.5 kB / 0.7502 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/1.625, allocations: 9.031 kB / 0.7502 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/1.625, allocations: 52.17 kB / 0.7503 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.625, allocations: 44.3 kB / 0.7503 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/1.626, allocations: 22.8 kB / 0.7503 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001231/1.626, allocations: 149.5 kB / 0.7505 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/1.626, allocations: 0 / 0.7505 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004759/1.626, allocations: 127.8 kB / 0.7506 GB, free: 130.4 MB / 0.5421 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.0002974/1.626, allocations: 134.4 kB / 0.7507 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0008066/1.627, allocations: 0.5918 MB / 0.7513 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.627, allocations: 0.7812 kB / 0.7513 GB, free: 130 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005036/1.628, allocations: 0.4921 MB / 0.7518 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/1.628, allocations: 37.11 kB / 0.7518 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/1.629, allocations: 396.7 kB / 0.7522 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/1.629, allocations: 0.7982 MB / 0.753 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001102/1.629, allocations: 28.44 kB / 0.753 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/1.629, allocations: 22.69 kB / 0.753 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of SimCode: time 9.52e-07/1.629, allocations: 1.062 kB / 0.753 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of Templates: time 0.009167/1.639, allocations: 4.101 MB / 0.757 GB, free: 128.7 MB / 0.5421 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