Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 104.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 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 1.569/1.569, allocations: 207.6 MB / 229.8 MB, free: 4.242 MB / 174.1 MB " [Timeout remaining time 178] 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.06684/0.06684, allocations: 14.4 MB / 296 MB, free: 2.035 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 71.91 kB / 415.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3403, allocations: 52.86 MB / 468.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.009234/0.3495, allocations: 7.188 MB / 475.4 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007459/0.357, allocations: 3.551 MB / 479 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.3581, allocations: 15.94 kB / 479 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.3594, allocations: 405.7 kB / 479.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00452/0.3639, allocations: 1.621 MB / 481 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.3651, allocations: 0.572 MB / 481.6 MB, free: 440 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002647/0.3677, allocations: 1.829 MB / 483.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.368, allocations: 78.23 kB / 483.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009871/0.369, allocations: 0.6187 MB / 484.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008239/0.3698, allocations: 0.6264 MB / 484.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3699, allocations: 64 kB / 484.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.371, allocations: 423.7 kB / 485.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.3711, allocations: 159.2 kB / 485.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005845/0.3717, allocations: 0.5364 MB / 485.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.3744, allocations: 1.497 MB / 487.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3744, allocations: 0 / 487.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.3744, allocations: 0 / 487.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.3744, allocations: 0 / 487.4 MB, free: 10.58 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.005588/0.38, allocations: 1.718 MB / 489.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.38, allocations: 12.03 kB / 489.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.3802, allocations: 122.7 kB / 489.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006282/0.3808, allocations: 152.3 kB / 489.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.3822, allocations: 0.6694 MB / 490.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.3823, allocations: 58.12 kB / 490.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.3824, allocations: 75.94 kB / 490.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.3836, allocations: 0.7553 MB / 491 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3836, allocations: 0 / 491 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.3837, allocations: 32 kB / 491 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.3837, allocations: 16 kB / 491 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.3848, allocations: 0.6752 MB / 491.7 MB, free: 6.152 MB / 350.1 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.006848/0.3917, allocations: 5.227 MB / 496.9 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.3934, allocations: 0.8913 MB / 497.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.3938, allocations: 250.8 kB / 498.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.3939, allocations: 8.656 kB / 498.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/0.3939, allocations: 51.2 kB / 498.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 3.257e-06/0.3939, allocations: 0 / 498.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004656/0.3986, allocations: 1.542 MB / 499.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.3986, allocations: 60.06 kB / 499.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007564/0.3994, allocations: 0.5576 MB / 0.4886 GB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.3994, allocations: 37.7 kB / 0.4886 GB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.3997, allocations: 372.6 kB / 0.4889 GB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.4, allocations: 277.5 kB / 0.4892 GB, free: 12.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.4002, allocations: 130.6 kB / 0.4893 GB, free: 12.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.4005, allocations: 374.8 kB / 0.4897 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.4009, allocations: 209.9 kB / 0.4899 GB, free: 11.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.4014, allocations: 334 kB / 0.4902 GB, free: 11.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.4023, allocations: 0.5797 MB / 0.4908 GB, free: 10.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.4023, allocations: 8 kB / 0.4908 GB, free: 10.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001962/0.4043, allocations: 0.9314 MB / 0.4917 GB, free: 9.594 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.4043, allocations: 4 kB / 0.4917 GB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.4043, allocations: 8.297 kB / 0.4917 GB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.4054, allocations: 303.2 kB / 0.492 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.4061, allocations: 163.8 kB / 0.4921 GB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005306/0.4114, allocations: 3.333 MB / 0.4954 GB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007815/0.4122, allocations: 47.73 kB / 0.4954 GB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.4122, allocations: 27.98 kB / 0.4955 GB, free: 5.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003653/0.4126, allocations: 233.5 kB / 0.4957 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.4127, allocations: 79.47 kB / 0.4958 GB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.4146, allocations: 0.8685 MB / 0.4966 GB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.4146, allocations: 11.94 kB / 0.4966 GB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.4147, allocations: 0 / 0.4966 GB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4147, allocations: 3.984 kB / 0.4966 GB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.4178, allocations: 1.909 MB / 0.4985 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4178, allocations: 0 / 0.4985 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.4183, allocations: 127.9 kB / 0.4986 GB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009856/0.4193, allocations: 289 kB / 0.4989 GB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.4194, allocations: 12 kB / 0.4989 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005111/0.4245, allocations: 3.252 MB / 0.5021 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4245, allocations: 3.938 kB / 0.5021 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.4265, allocations: 0.933 MB / 0.503 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/0.4269, allocations: 228.5 kB / 0.5032 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-05/0.427, allocations: 12 kB / 0.5032 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.4275, allocations: 27.88 kB / 0.5033 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4276, allocations: 52.67 kB / 0.5033 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.4277, allocations: 16 kB / 0.5033 GB, free: 13.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005372/0.4282, allocations: 394.8 kB / 0.5037 GB, free: 12.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4282, allocations: 0 / 0.5037 GB, free: 12.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001015/0.4292, allocations: 327.8 kB / 0.504 GB, free: 12.56 MB / 382.1 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 (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002402/0.4316, allocations: 1.562 MB / 0.5055 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.4334, allocations: 0.8215 MB / 0.5063 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4334, allocations: 3.938 kB / 0.5063 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.4344, allocations: 0.5556 MB / 0.5069 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.4351, allocations: 106.3 kB / 0.507 GB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.4456, allocations: 6.002 MB / 0.5128 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007725/0.4464, allocations: 0.9389 MB / 0.5138 GB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003761/0.4467, allocations: 89.3 kB / 0.5138 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/0.4471, allocations: 255.4 kB / 0.5141 GB, free: 1.984 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4471, allocations: 0 / 0.5141 GB, free: 1.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05949/0.5066, allocations: 19.99 MB / 0.5336 GB, free: 13.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.48, allocations: 22.91 kB / 0.5336 GB, free: 13.94 MB / 414.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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: 16.20691556483507]