Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.0008101/0.0008101, 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.0008385/0.0008385, allocations: 170.3 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.7723/0.7723, 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.03696/0.03696, allocations: 10.66 MB / 247.1 MB, free: 4.707 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.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 368.1 MB, free: 6.371 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.299e-05, allocations: 10.22 kB / 368.1 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.005305/0.005328, allocations: 6.471 MB / 374.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0053/0.01063, allocations: 3.269 MB / 377.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.01183, allocations: 15.94 kB / 377.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.01302, allocations: 397.5 kB / 378.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002841/0.01586, allocations: 1.58 MB / 379.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.0165, allocations: 0.5483 MB / 380.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001991/0.01849, allocations: 1.996 MB / 382.4 MB, free: 8.039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.01875, allocations: 74.47 kB / 382.5 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.02015, allocations: 0.9079 MB / 383.4 MB, free: 7.047 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008893/0.02104, allocations: 0.5141 MB / 383.9 MB, free: 6.531 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.02118, allocations: 64 kB / 383.9 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009734/0.02216, allocations: 407.5 kB / 384.3 MB, free: 6.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.02227, allocations: 175.2 kB / 384.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003916/0.02266, allocations: 390.8 kB / 384.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.02418, allocations: 1.515 MB / 386.4 MB, free: 3.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.02418, allocations: 0 / 386.4 MB, free: 3.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02418, allocations: 0 / 386.4 MB, free: 3.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.0242, allocations: 0 / 386.4 MB, free: 3.996 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.003067/0.02727, allocations: 1.677 MB / 388.1 MB, free: 2.285 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.02731, allocations: 12.03 kB / 388.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.606e-05/0.02741, allocations: 122.8 kB / 388.2 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/0.02776, allocations: 156.2 kB / 388.4 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/0.02864, allocations: 0.6276 MB / 389 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.02867, allocations: 54.38 kB / 389 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.02873, allocations: 68.38 kB / 389.1 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00078/0.02951, allocations: 0.7695 MB / 389.9 MB, free: 416 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.02953, allocations: 7.922 kB / 389.9 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.02957, allocations: 32 kB / 389.9 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.02958, allocations: 20 kB / 389.9 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/0.03033, allocations: 0.691 MB / 390.6 MB, free: 15.65 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.003173/0.0335, allocations: 2.931 MB / 393.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000979/0.03448, allocations: 0.7488 MB / 394.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.03475, allocations: 262.7 kB / 394.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.0348, allocations: 8.656 kB / 394.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.03482, allocations: 39.22 kB / 394.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 3.517e-06/0.03482, allocations: 0 / 394.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.001767/0.03659, allocations: 1.158 MB / 395.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.03663, allocations: 68.06 kB / 395.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.03713, allocations: 0.5625 MB / 396.4 MB, free: 9.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.03716, allocations: 33.7 kB / 396.4 MB, free: 9.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.03734, allocations: 372.7 kB / 396.8 MB, free: 9.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.0375, allocations: 281.5 kB / 397.1 MB, free: 9.062 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.03763, allocations: 130.6 kB / 397.2 MB, free: 8.926 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.03774, allocations: 374.7 kB / 397.6 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.03797, allocations: 217.9 kB / 397.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.03826, allocations: 332.3 kB / 398.1 MB, free: 7.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.03882, allocations: 0.5937 MB / 398.7 MB, free: 7.352 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.03882, allocations: 0 / 398.7 MB, free: 7.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009477/0.03977, allocations: 0.8606 MB / 399.6 MB, free: 6.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.03979, allocations: 4 kB / 399.6 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.0398, allocations: 4 kB / 399.6 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.04018, allocations: 178.7 kB / 399.7 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.04059, allocations: 199.7 kB / 399.9 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.0426, allocations: 2.393 MB / 402.3 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.043, allocations: 51.72 kB / 402.4 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.04303, allocations: 27.98 kB / 402.4 MB, free: 3.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0002482/0.04328, allocations: 221.7 kB / 402.6 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.04336, allocations: 75.53 kB / 402.7 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008823/0.04424, allocations: 0.8023 MB / 403.5 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.04425, allocations: 4 kB / 403.5 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.04425, allocations: 7.938 kB / 403.5 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.04426, allocations: 3.984 kB / 403.5 MB, free: 2.391 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 postOpt removeSimpleEquations (simulation): time 0.00163/0.04589, allocations: 1.542 MB / 405.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.04589, allocations: 4 kB / 405.1 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.04624, allocations: 159.8 kB / 405.2 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003015/0.04654, allocations: 180.2 kB / 405.4 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.04657, allocations: 12 kB / 405.4 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.04844, allocations: 2.381 MB / 407.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.04844, allocations: 0 / 407.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009099/0.04935, allocations: 0.863 MB / 408.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.04961, allocations: 147.3 kB / 408.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.04966, allocations: 20 kB / 408.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.04992, allocations: 19.94 kB / 408.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.04999, allocations: 56.55 kB / 408.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.05, allocations: 16 kB / 408.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003356/0.05034, allocations: 390.8 kB / 409.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.05034, allocations: 0 / 409.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007035/0.05104, allocations: 307.8 kB / 409.6 MB, free: 12.14 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 (63): * Single equations (assignments): 62 * 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.001144/0.05219, allocations: 1.457 MB / 411 MB, free: 10.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009509/0.05314, allocations: 0.7796 MB / 411.8 MB, free: 9.863 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.05314, allocations: 0 / 411.8 MB, free: 9.863 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.05362, allocations: 0.4905 MB / 412.3 MB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.05417, allocations: 110.3 kB / 412.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/0.06042, allocations: 5.859 MB / 418.3 MB, free: 3.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.06067, allocations: 352.7 kB / 418.6 MB, free: 2.859 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002905/0.06096, allocations: 93.3 kB / 418.7 MB, free: 2.766 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.06123, allocations: 272.4 kB / 419 MB, free: 2.496 MB / 346.7 MB Notification: Performance of SimCode: time 1.703e-06/0.06123, allocations: 0 / 419 MB, free: 2.496 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/0.2221, allocations: 18.8 MB / 437.8 MB, free: 72.47 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.129, allocations: 9.969 kB / 437.8 MB, free: 72.47 MB / 362.7 MB " [Timeout remaining time 653] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.773586488328874]