Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8194/0.8194, allocations: 158.6 MB / 184.2 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.03878/0.03878, allocations: 10.65 MB / 247.1 MB, free: 4.801 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 368.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.189e-05, allocations: 2.281 kB / 368.1 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.004492/0.004504, allocations: 6.595 MB / 374.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.007709, allocations: 3.335 MB / 378 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.008016, allocations: 27.81 kB / 378.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.00863, allocations: 413.3 kB / 378.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.01077, allocations: 1.742 MB / 380.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.01122, allocations: 482.2 kB / 380.7 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.01267, allocations: 2.181 MB / 382.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.01282, allocations: 66.58 kB / 382.9 MB, free: 7.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008075/0.01363, allocations: 0.9899 MB / 383.9 MB, free: 6.527 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.01407, allocations: 0.5608 MB / 384.5 MB, free: 5.965 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.711e-05/0.01414, allocations: 71.98 kB / 384.5 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.01462, allocations: 395.5 kB / 384.9 MB, free: 5.508 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.01471, allocations: 167.2 kB / 385.1 MB, free: 5.344 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.01497, allocations: 422.8 kB / 385.5 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.01625, allocations: 1.577 MB / 387.1 MB, free: 3.348 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.01625, allocations: 0 / 387.1 MB, free: 3.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01625, allocations: 4 kB / 387.1 MB, free: 3.344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.01626, allocations: 0 / 387.1 MB, free: 3.344 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002524/0.01878, allocations: 1.731 MB / 388.8 MB, free: 1.566 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.01882, allocations: 12.03 kB / 388.8 MB, free: 1.555 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.001e-05/0.01891, allocations: 126.8 kB / 389 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.01922, allocations: 168.2 kB / 389.1 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.01997, allocations: 0.6548 MB / 389.8 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/0.02006, allocations: 177.4 kB / 389.9 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.02013, allocations: 84.12 kB / 390 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/0.0209, allocations: 0.8391 MB / 390.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.02092, allocations: 3.938 kB / 390.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.02096, allocations: 39.98 kB / 390.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.02097, allocations: 20 kB / 390.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007936/0.02177, allocations: 0.7783 MB / 391.7 MB, free: 14.55 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003136/0.0249, allocations: 3.142 MB / 394.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000926/0.02583, allocations: 0.7716 MB / 395.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.02612, allocations: 311.4 kB / 395.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.02616, allocations: 13 kB / 395.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000485/0.02664, allocations: 0.6831 MB / 396.6 MB, free: 9.461 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 3.146e-06/0.02665, allocations: 4 kB / 396.6 MB, free: 9.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=92): time 0.002906/0.02955, allocations: 1.871 MB / 398.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.02965, allocations: 303.7 kB / 398.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.03008, allocations: 0.5577 MB / 399.4 MB, free: 6.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.03012, allocations: 45.7 kB / 399.4 MB, free: 6.578 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.03033, allocations: 365 kB / 399.8 MB, free: 6.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.0305, allocations: 325.2 kB / 400.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.03063, allocations: 150.6 kB / 400.2 MB, free: 5.738 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.03074, allocations: 382.7 kB / 400.6 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.03126, allocations: 305.3 kB / 400.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.0316, allocations: 439.2 kB / 401.3 MB, free: 4.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.03224, allocations: 0.736 MB / 402.1 MB, free: 3.762 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.03224, allocations: 0 / 402.1 MB, free: 3.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001277/0.03352, allocations: 1.191 MB / 403.2 MB, free: 2.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.03356, allocations: 67.39 kB / 403.3 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.03356, allocations: 4 kB / 403.3 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.03416, allocations: 301.7 kB / 403.6 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.03448, allocations: 159.8 kB / 403.8 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.03739, allocations: 3.281 MB / 407 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.03769, allocations: 51.67 kB / 407.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.03773, allocations: 32 kB / 407.1 MB, free: 14.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 14 (transmissionLine.breakerStatusInternalB,transmissionLine.breakerStatusInternalA,$PRE.transmissionLine.breakerStatusInternalB,$PRE.transmissionLine.breakerStatusInternalA,transmissionLine.breakerStatus,$PRE.transmissionLine.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.03796, allocations: 287.8 kB / 407.4 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.03804, allocations: 87.48 kB / 407.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.03975, allocations: 1.111 MB / 408.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.03976, allocations: 8 kB / 408.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.03976, allocations: 0 / 408.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.03976, allocations: 7.969 kB / 408.6 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.0416, allocations: 1.918 MB / 410.5 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.0416, allocations: 0 / 410.5 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.04187, allocations: 135.8 kB / 410.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004854/0.04235, allocations: 284.6 kB / 410.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.04239, allocations: 23.98 kB / 411 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.04502, allocations: 3.185 MB / 414.2 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.04502, allocations: 0 / 414.2 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.04631, allocations: 1.188 MB / 415.3 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.04654, allocations: 167.3 kB / 415.5 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.0466, allocations: 20 kB / 415.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.04685, allocations: 31.94 kB / 415.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.04694, allocations: 72.8 kB / 415.6 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.04697, allocations: 28 kB / 415.7 MB, free: 5.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000295/0.04726, allocations: 390.8 kB / 416 MB, free: 5.371 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04726, allocations: 0 / 416 MB, free: 5.371 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005436/0.04781, allocations: 367.7 kB / 416.4 MB, free: 5.012 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,transmissionLine.breakerStatus) * Number of discrete states: 9 (transmissionLine.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001504/0.04931, allocations: 1.806 MB / 418.2 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.05044, allocations: 1.163 MB / 419.4 MB, free: 1.945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.05044, allocations: 0 / 419.4 MB, free: 1.945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006258/0.05107, allocations: 0.731 MB / 420.1 MB, free: 1.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.05151, allocations: 133.5 kB / 420.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.05834, allocations: 6.972 MB / 427.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.05858, allocations: 374.7 kB / 427.6 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.0588, allocations: 97.67 kB / 427.7 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.05905, allocations: 284.4 kB / 427.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.05905, allocations: 0 / 427.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1355/0.1946, allocations: 22.3 MB / 450.2 MB, free: 67.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/7.984, allocations: 4.781 kB / 450.2 MB, free: 67.52 MB / 362.7 MB " [Timeout remaining time 652] (rm -f PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestOneBusTransmissionLineWithBreakersOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.643543572165072]