Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.0006746/0.0006746, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0007205/0.0007205, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.7707/0.7707, allocations: 158.6 MB / 184.2 MB, free: 3.051 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.03601/0.03601, allocations: 10.66 MB / 247.1 MB, free: 4.719 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.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 368.1 MB, free: 6.395 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.513e-05, allocations: 2.281 kB / 368.1 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.00514/0.005155, allocations: 6.476 MB / 374.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003547/0.008701, allocations: 3.269 MB / 377.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.008976, allocations: 19.88 kB / 377.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006373/0.009613, allocations: 393.5 kB / 378.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.01144, allocations: 1.583 MB / 379.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007716/0.01221, allocations: 0.5589 MB / 380.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.01352, allocations: 1.991 MB / 382.4 MB, free: 8.059 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.01368, allocations: 70.47 kB / 382.4 MB, free: 7.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007408/0.01442, allocations: 0.9118 MB / 383.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.01482, allocations: 0.518 MB / 383.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.01488, allocations: 64 kB / 383.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.01536, allocations: 407.4 kB / 384.3 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.414e-05/0.01545, allocations: 163.2 kB / 384.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.01568, allocations: 398.8 kB / 384.9 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009846/0.01667, allocations: 1.515 MB / 386.4 MB, free: 4.016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.01667, allocations: 0 / 386.4 MB, free: 4.016 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01667, allocations: 0 / 386.4 MB, free: 4.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.01668, allocations: 0 / 386.4 MB, free: 4.016 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.002782/0.01946, allocations: 1.677 MB / 388.1 MB, free: 2.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.0195, allocations: 16.03 kB / 388.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.996e-05/0.01959, allocations: 122.8 kB / 388.2 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/0.01988, allocations: 156.2 kB / 388.4 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.02058, allocations: 0.6276 MB / 389 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.02061, allocations: 54.38 kB / 389 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.02067, allocations: 72.38 kB / 389.1 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006914/0.02136, allocations: 0.7694 MB / 389.9 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.02137, allocations: 0 / 389.9 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.02141, allocations: 32 kB / 389.9 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.02142, allocations: 20 kB / 389.9 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/0.02212, allocations: 0.6909 MB / 390.6 MB, free: 15.68 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.002709/0.02483, allocations: 2.931 MB / 393.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/0.02574, allocations: 0.745 MB / 394.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005325/0.02627, allocations: 262.7 kB / 394.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.02631, allocations: 16.64 kB / 394.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.02633, allocations: 43.22 kB / 394.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 1.573e-06/0.02633, allocations: 0 / 394.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.001615/0.02795, allocations: 1.154 MB / 395.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.02798, allocations: 60.06 kB / 395.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.0284, allocations: 0.5586 MB / 396.4 MB, free: 9.777 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.02843, allocations: 41.7 kB / 396.4 MB, free: 9.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.0286, allocations: 372.7 kB / 396.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.02873, allocations: 281.5 kB / 397.1 MB, free: 9.082 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.02885, allocations: 130.6 kB / 397.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.02895, allocations: 374.7 kB / 397.6 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.02918, allocations: 221.9 kB / 397.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.02945, allocations: 328.3 kB / 398.1 MB, free: 8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.03, allocations: 0.5936 MB / 398.7 MB, free: 7.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.03, allocations: 0 / 398.7 MB, free: 7.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001006/0.03101, allocations: 0.8607 MB / 399.6 MB, free: 6.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.03102, allocations: 4 kB / 399.6 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.03103, allocations: 4 kB / 399.6 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003327/0.03136, allocations: 183.8 kB / 399.7 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.03174, allocations: 191.8 kB / 399.9 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.03378, allocations: 2.389 MB / 402.3 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.03405, allocations: 59.7 kB / 402.4 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.03408, allocations: 24 kB / 402.4 MB, free: 3.543 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.0001798/0.03426, allocations: 225.7 kB / 402.6 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.647e-05/0.03434, allocations: 75.53 kB / 402.7 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008026/0.03514, allocations: 0.7906 MB / 403.5 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.03514, allocations: 11.94 kB / 403.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.03515, allocations: 11.94 kB / 403.5 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.03515, allocations: 3.984 kB / 403.5 MB, free: 2.41 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.001445/0.0366, allocations: 1.542 MB / 405.1 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.0366, allocations: 0 / 405.1 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.03693, allocations: 159.8 kB / 405.2 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.03719, allocations: 172.8 kB / 405.4 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.03721, allocations: 19.98 kB / 405.4 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.03895, allocations: 2.382 MB / 407.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.03895, allocations: 0 / 407.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007858/0.03973, allocations: 0.859 MB / 408.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.03993, allocations: 143.3 kB / 408.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.04025, allocations: 16 kB / 408.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.04048, allocations: 27.92 kB / 408.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.04054, allocations: 52.56 kB / 408.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.04055, allocations: 16 kB / 408.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002915/0.04084, allocations: 386.8 kB / 409.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04084, allocations: 7.938 kB / 409.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004261/0.04127, allocations: 307.8 kB / 409.6 MB, free: 12.16 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.001044/0.04231, allocations: 1.461 MB / 411 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007943/0.04311, allocations: 0.7758 MB / 411.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.04311, allocations: 0 / 411.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.04352, allocations: 0.4943 MB / 412.3 MB, free: 9.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.04394, allocations: 113 kB / 412.4 MB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/0.04929, allocations: 5.848 MB / 418.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.04949, allocations: 352.7 kB / 418.6 MB, free: 2.883 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.0497, allocations: 93.3 kB / 418.7 MB, free: 2.789 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.04995, allocations: 276.3 kB / 419 MB, free: 2.516 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04995, allocations: 0 / 419 MB, free: 2.516 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.148/0.198, allocations: 18.8 MB / 437.8 MB, free: 72.36 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.199, allocations: 9.156 kB / 437.8 MB, free: 72.36 MB / 362.7 MB " [Timeout remaining time 653] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.814636936411262]