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.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.001954/0.001954, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002413/0.002413, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.621/1.621, allocations: 207.6 MB / 233 MB, free: 10.01 MB / 190.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.06752/0.06752, allocations: 14.4 MB / 299.7 MB, free: 7.535 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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 79.88 kB / 420.6 MB, free: 39.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09813, allocations: 52.9 MB / 473.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.008495/0.1066, allocations: 7.193 MB / 480.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006114/0.1127, allocations: 3.545 MB / 484.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009278/0.1137, allocations: 19.88 kB / 484.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.1149, allocations: 417.7 kB / 484.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.1191, allocations: 1.591 MB / 486.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.1205, allocations: 0.6144 MB / 486.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002821/0.1233, allocations: 1.813 MB / 488.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.1236, allocations: 78.36 kB / 488.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.1248, allocations: 0.6265 MB / 489.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.1258, allocations: 0.6303 MB / 490.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.1259, allocations: 64 kB / 490.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009915/0.1269, allocations: 423.6 kB / 490.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.1271, allocations: 159.2 kB / 490.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007663/0.1278, allocations: 0.5364 MB / 491.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.1304, allocations: 1.491 MB / 492.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1304, allocations: 4 kB / 492.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1304, allocations: 0 / 492.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.647e-05/0.1304, allocations: 0 / 492.7 MB, free: 15.03 MB / 366.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.005759/0.1362, allocations: 1.65 MB / 494.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.1362, allocations: 8.031 kB / 494.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.1364, allocations: 114.7 kB / 494.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006157/0.137, allocations: 148.3 kB / 494.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.1384, allocations: 0.6116 MB / 495.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.1385, allocations: 66.11 kB / 495.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.1386, allocations: 68 kB / 495.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.1398, allocations: 0.7553 MB / 496.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1399, allocations: 3.938 kB / 496.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.1399, allocations: 32 kB / 496.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.1399, allocations: 24 kB / 496.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1411, allocations: 0.6713 MB / 496.9 MB, free: 10.77 MB / 366.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.007278/0.1484, allocations: 5.181 MB / 0.4903 GB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.15, allocations: 0.7255 MB / 0.491 GB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.1505, allocations: 263.1 kB / 0.4912 GB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-05/0.1505, allocations: 12.58 kB / 0.4912 GB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.1506, allocations: 43.22 kB / 0.4913 GB, free: 3.996 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 3.567e-06/0.1506, allocations: 0 / 0.4913 GB, free: 3.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004931/0.1555, allocations: 1.479 MB / 0.4927 GB, free: 2.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.1555, allocations: 64.05 kB / 0.4928 GB, free: 2.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.1565, allocations: 0.5459 MB / 0.4933 GB, free: 1.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.1565, allocations: 41.7 kB / 0.4934 GB, free: 1.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.1568, allocations: 364.6 kB / 0.4937 GB, free: 1.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.1571, allocations: 281.5 kB / 0.494 GB, free: 1.188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.1573, allocations: 130.6 kB / 0.4941 GB, free: 1.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.1576, allocations: 374.8 kB / 0.4945 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.1579, allocations: 209.9 kB / 0.4947 GB, free: 488 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.1584, allocations: 333.8 kB / 0.495 GB, free: 112 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/0.1594, allocations: 0.5797 MB / 0.4955 GB, free: 15.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1594, allocations: 0 / 0.4955 GB, free: 15.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002143/0.1615, allocations: 0.9391 MB / 0.4965 GB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1616, allocations: 9.406 kB / 0.4965 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1616, allocations: 4 kB / 0.4965 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.1627, allocations: 296.2 kB / 0.4968 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.1634, allocations: 163.8 kB / 0.4969 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005316/0.1687, allocations: 3.25 MB / 0.5001 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/0.1695, allocations: 51.72 kB / 0.5001 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.1695, allocations: 28 kB / 0.5002 GB, free: 10.66 MB / 382.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.0003398/0.1699, allocations: 225.6 kB / 0.5004 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.17, allocations: 75.53 kB / 0.5005 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.172, allocations: 0.8685 MB / 0.5013 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.172, allocations: 7.938 kB / 0.5013 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.172, allocations: 7.938 kB / 0.5013 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.172, allocations: 7.969 kB / 0.5013 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.1752, allocations: 1.881 MB / 0.5032 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1752, allocations: 0 / 0.5032 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.1758, allocations: 123.8 kB / 0.5033 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.1768, allocations: 293 kB / 0.5036 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.1769, allocations: 16 kB / 0.5036 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004886/0.1817, allocations: 3.156 MB / 0.5067 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1817, allocations: 0 / 0.5067 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.1836, allocations: 0.9291 MB / 0.5076 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.1841, allocations: 147.4 kB / 0.5077 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.1842, allocations: 16 kB / 0.5077 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.1848, allocations: 27.86 kB / 0.5077 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.1849, allocations: 56.55 kB / 0.5078 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.1849, allocations: 16 kB / 0.5078 GB, free: 2.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005688/0.1855, allocations: 394.8 kB / 0.5082 GB, free: 2.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1855, allocations: 0 / 0.5082 GB, free: 2.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001027/0.1865, allocations: 327.8 kB / 0.5085 GB, free: 1.875 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.002409/0.1889, allocations: 1.547 MB / 0.51 GB, free: 304 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.1906, allocations: 0.8297 MB / 0.5108 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1906, allocations: 4 kB / 0.5108 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.1917, allocations: 0.5522 MB / 0.5114 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007/0.1924, allocations: 112.2 kB / 0.5115 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.2027, allocations: 5.995 MB / 0.5173 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/0.2034, allocations: 0.9429 MB / 0.5183 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003578/0.2038, allocations: 81.31 kB / 0.5183 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.2041, allocations: 255.4 kB / 0.5186 GB, free: 7.32 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2041, allocations: 0 / 0.5186 GB, free: 7.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2733/0.4774, allocations: 20.68 MB / 0.5388 GB, free: 56.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.29, allocations: 8.781 kB / 0.5388 GB, free: 56.9 MB / 398.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/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 17.32565751695074]