Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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.000803/0.000803, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008704/0.0008704, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.7827/0.7827, allocations: 158.6 MB / 184.2 MB, free: 3.047 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.03652/0.03652, allocations: 10.66 MB / 247.1 MB, free: 4.699 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.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 368.1 MB, free: 6.379 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.005e-06/9.258e-06, allocations: 6.281 kB / 368.1 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.00437/0.004379, allocations: 6.479 MB / 374.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.007158, allocations: 3.265 MB / 377.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.00737, allocations: 23.88 kB / 377.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.007899, allocations: 397.5 kB / 378.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.009514, allocations: 1.572 MB / 379.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.01001, allocations: 0.555 MB / 380.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.01126, allocations: 1.998 MB / 382.4 MB, free: 8.039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.01139, allocations: 62.48 kB / 382.5 MB, free: 7.969 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006109/0.012, allocations: 0.9195 MB / 383.4 MB, free: 7.047 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.01241, allocations: 0.518 MB / 383.9 MB, free: 6.527 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.01247, allocations: 72 kB / 384 MB, free: 6.457 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.01289, allocations: 415.4 kB / 384.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.123e-05/0.01298, allocations: 163.2 kB / 384.5 MB, free: 5.891 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.01321, allocations: 402.8 kB / 384.9 MB, free: 5.496 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009784/0.01419, allocations: 1.519 MB / 386.4 MB, free: 3.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.01419, allocations: 0 / 386.4 MB, free: 3.973 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01419, allocations: 3.938 kB / 386.4 MB, free: 3.969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.0142, allocations: 0 / 386.4 MB, free: 3.969 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002542/0.01674, allocations: 1.677 MB / 388.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.01678, allocations: 12.03 kB / 388.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.042e-05/0.01687, allocations: 122.8 kB / 388.2 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/0.01717, allocations: 160.1 kB / 388.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/0.01789, allocations: 0.6238 MB / 389 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.01792, allocations: 54.38 kB / 389.1 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.01797, allocations: 72.38 kB / 389.2 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008586/0.01883, allocations: 0.7583 MB / 389.9 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.01885, allocations: 0 / 389.9 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.01888, allocations: 28 kB / 389.9 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.01889, allocations: 20 kB / 390 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007244/0.01962, allocations: 0.7299 MB / 390.7 MB, free: 15.62 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.002647/0.02226, allocations: 2.629 MB / 393.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.02333, allocations: 0.8057 MB / 394.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.0236, allocations: 278.7 kB / 394.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.02364, allocations: 12.64 kB / 394.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.02366, allocations: 43.22 kB / 394.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=82): time 1.724e-06/0.02366, allocations: 0 / 394.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=82): time 0.00157/0.02523, allocations: 1.173 MB / 395.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.02527, allocations: 68.05 kB / 395.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.02569, allocations: 0.5469 MB / 396.2 MB, free: 9.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.02572, allocations: 37.7 kB / 396.3 MB, free: 9.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.02587, allocations: 352.8 kB / 396.6 MB, free: 9.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.02601, allocations: 293.4 kB / 396.9 MB, free: 9.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.02613, allocations: 134.6 kB / 397 MB, free: 9.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.02623, allocations: 374.8 kB / 397.4 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.02647, allocations: 225.9 kB / 397.6 MB, free: 8.527 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.02674, allocations: 316.9 kB / 397.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/0.02728, allocations: 0.5786 MB / 398.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02728, allocations: 0 / 398.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008541/0.02813, allocations: 0.853 MB / 399.4 MB, free: 6.734 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.02815, allocations: 4 kB / 399.4 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.02815, allocations: 7.938 kB / 399.4 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003259/0.02848, allocations: 176.2 kB / 399.5 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.02885, allocations: 191.9 kB / 399.7 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.0306, allocations: 2.396 MB / 402.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.03087, allocations: 47.73 kB / 402.2 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.03089, allocations: 23.94 kB / 402.2 MB, free: 3.781 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.03108, allocations: 235.6 kB / 402.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.03115, allocations: 75.53 kB / 402.5 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008336/0.03199, allocations: 0.8221 MB / 403.3 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.03199, allocations: 8 kB / 403.3 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.032, allocations: 7.938 kB / 403.3 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.032, allocations: 3.984 kB / 403.3 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.03346, allocations: 1.597 MB / 404.9 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.03346, allocations: 7.984 kB / 404.9 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.03378, allocations: 163.8 kB / 405.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/0.03404, allocations: 172.7 kB / 405.3 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.03407, allocations: 16 kB / 405.3 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.03575, allocations: 2.377 MB / 407.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.03575, allocations: 4 kB / 407.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.03655, allocations: 0.8825 MB / 408.6 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.03675, allocations: 147.4 kB / 408.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.03679, allocations: 12 kB / 408.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.03702, allocations: 31.88 kB / 408.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.03708, allocations: 52.55 kB / 408.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.0371, allocations: 20 kB / 408.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002828/0.03738, allocations: 382.8 kB / 409.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03738, allocations: 0 / 409.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004772/0.03786, allocations: 307.8 kB / 409.5 MB, free: 12.29 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.03899, allocations: 1.489 MB / 411 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008592/0.03985, allocations: 0.791 MB / 411.8 MB, free: 9.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.03985, allocations: 0 / 411.8 MB, free: 9.965 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.04028, allocations: 0.5139 MB / 412.3 MB, free: 9.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.04069, allocations: 117 kB / 412.4 MB, free: 9.324 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.04588, allocations: 5.823 MB / 418.2 MB, free: 3.367 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.04609, allocations: 352.7 kB / 418.6 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.04631, allocations: 93.3 kB / 418.7 MB, free: 2.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.04657, allocations: 276.4 kB / 418.9 MB, free: 2.629 MB / 346.7 MB Notification: Performance of SimCode: time 6.42e-07/0.04657, allocations: 0 / 418.9 MB, free: 2.629 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/0.1914, allocations: 19.04 MB / 438 MB, free: 72.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/7.112, allocations: 3.531 kB / 438 MB, free: 72.52 MB / 362.7 MB " [Timeout remaining time 653] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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: 8.785836071707308]