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.001948/0.001948, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.003295/0.003295, allocations: 219.6 kB / 23.05 MB, free: 5.074 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.793/1.793, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.06986/0.06986, allocations: 14.39 MB / 300.5 MB, free: 7.438 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="cs",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.002195/0.002195, allocations: 71.89 kB / 421.4 MB, free: 39.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1079, allocations: 52.91 MB / 474.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.00877/0.1167, allocations: 7.181 MB / 481.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006942/0.1236, allocations: 3.561 MB / 485.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.1248, allocations: 23.88 kB / 485.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.1261, allocations: 409.7 kB / 485.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004732/0.1309, allocations: 1.603 MB / 487.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.1321, allocations: 0.599 MB / 487.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002852/0.135, allocations: 1.817 MB / 489.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.1352, allocations: 78.36 kB / 489.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009855/0.1362, allocations: 0.6266 MB / 490.2 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009368/0.1372, allocations: 0.6303 MB / 490.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1373, allocations: 64 kB / 490.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.1385, allocations: 427.7 kB / 491.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1387, allocations: 159.2 kB / 491.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005981/0.1393, allocations: 0.5403 MB / 492 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.1415, allocations: 1.495 MB / 493.5 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1415, allocations: 0 / 493.5 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1415, allocations: 0 / 493.5 MB, free: 15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.1415, allocations: 0 / 493.5 MB, free: 15 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.005748/0.1472, allocations: 1.638 MB / 495.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.1473, allocations: 12.03 kB / 495.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.801e-05/0.1473, allocations: 22.19 kB / 495.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.1475, allocations: 114.7 kB / 495.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006521/0.1481, allocations: 152.3 kB / 495.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.1495, allocations: 0.6116 MB / 496.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.1496, allocations: 61.94 kB / 496.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.711e-05/0.1496, allocations: 64 kB / 496.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.1509, allocations: 0.7593 MB / 496.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.151, allocations: 0 / 496.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.766e-05/0.151, allocations: 28 kB / 497 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.1511, allocations: 16 kB / 497 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.1522, allocations: 0.683 MB / 497.7 MB, free: 10.73 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.006958/0.1592, allocations: 5.181 MB / 0.4911 GB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.1608, allocations: 0.7332 MB / 0.4918 GB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.1612, allocations: 251.8 kB / 0.492 GB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.174e-05/0.1613, allocations: 8.656 kB / 0.492 GB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1613, allocations: 39.22 kB / 0.4921 GB, free: 3.973 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.696e-06/0.1613, allocations: 0 / 0.4921 GB, free: 3.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004902/0.1662, allocations: 1.483 MB / 0.4935 GB, free: 2.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.1662, allocations: 60.06 kB / 0.4936 GB, free: 2.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.1671, allocations: 0.5537 MB / 0.4941 GB, free: 1.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.1672, allocations: 37.7 kB / 0.4941 GB, free: 1.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.1675, allocations: 364.6 kB / 0.4945 GB, free: 1.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.1678, allocations: 277.5 kB / 0.4948 GB, free: 1.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.168, allocations: 126.6 kB / 0.4949 GB, free: 1.035 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.1682, allocations: 374.8 kB / 0.4952 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.1686, allocations: 217.9 kB / 0.4954 GB, free: 460 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.1691, allocations: 333.5 kB / 0.4958 GB, free: 84 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009116/0.17, allocations: 0.5875 MB / 0.4963 GB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.17, allocations: 0 / 0.4963 GB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002063/0.172, allocations: 0.9353 MB / 0.4972 GB, free: 14.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.1721, allocations: 8 kB / 0.4973 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.1721, allocations: 4 kB / 0.4973 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.1733, allocations: 300.2 kB / 0.4975 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.174, allocations: 167.8 kB / 0.4977 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005298/0.1793, allocations: 3.251 MB / 0.5009 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008469/0.1801, allocations: 47.73 kB / 0.5009 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.1802, allocations: 27.98 kB / 0.501 GB, free: 10.62 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.0003582/0.1805, allocations: 225.6 kB / 0.5012 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.1807, allocations: 75.53 kB / 0.5012 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.1825, allocations: 0.8724 MB / 0.5021 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1826, allocations: 11.94 kB / 0.5021 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1826, allocations: 0 / 0.5021 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.1826, allocations: 7.984 kB / 0.5021 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.1858, allocations: 1.873 MB / 0.5039 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.1858, allocations: 4 kB / 0.5039 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/0.1863, allocations: 123.9 kB / 0.5041 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.1874, allocations: 301 kB / 0.5043 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.1874, allocations: 12 kB / 0.5044 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004867/0.1923, allocations: 3.145 MB / 0.5074 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1923, allocations: 4 kB / 0.5074 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.1944, allocations: 0.9292 MB / 0.5083 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/0.1948, allocations: 151.4 kB / 0.5085 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.1949, allocations: 12 kB / 0.5085 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/0.1954, allocations: 27.88 kB / 0.5085 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.1955, allocations: 56.47 kB / 0.5086 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.1956, allocations: 24 kB / 0.5086 GB, free: 2.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005497/0.1961, allocations: 386.8 kB / 0.509 GB, free: 2.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1961, allocations: 0 / 0.509 GB, free: 2.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001031/0.1971, allocations: 331.8 kB / 0.5093 GB, free: 1.848 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.002303/0.1994, allocations: 1.547 MB / 0.5108 GB, free: 276 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.2012, allocations: 0.8299 MB / 0.5116 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.2012, allocations: 4 kB / 0.5116 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009991/0.2022, allocations: 0.5522 MB / 0.5122 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.2029, allocations: 117.7 kB / 0.5123 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009814/0.2127, allocations: 6 MB / 0.5181 GB, free: 8.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/0.2134, allocations: 0.9429 MB / 0.519 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003467/0.2137, allocations: 81.31 kB / 0.5191 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.2141, allocations: 259.3 kB / 0.5194 GB, free: 7.273 MB / 398.1 MB Notification: Performance of SimCode: time 1.503e-06/0.2141, allocations: 0 / 0.5194 GB, free: 7.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2824/0.4965, allocations: 20.71 MB / 0.5396 GB, free: 56.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.69, allocations: 16.53 kB / 0.5396 GB, free: 56.82 MB / 398.1 MB " [Timeout remaining time 645] (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: 18.14540171599947]