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.001351/0.001351, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001458/0.001458, allocations: 219.5 kB / 23.04 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.416/1.416, allocations: 207.6 MB / 233.8 MB, free: 9.973 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.06983/0.06983, allocations: 14.39 MB / 300.5 MB, free: 7.418 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.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",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.002324/0.002324, allocations: 71.89 kB / 421.4 MB, free: 39.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07968/0.08201, allocations: 52.91 MB / 474.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.009281/0.09129, allocations: 7.317 MB / 481.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006662/0.09795, allocations: 3.565 MB / 485.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007156/0.09867, allocations: 27.88 kB / 485.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.09984, allocations: 417.6 kB / 485.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004094/0.1039, allocations: 1.614 MB / 487.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1052, allocations: 0.6032 MB / 487.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.1083, allocations: 1.844 MB / 489.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.1088, allocations: 70.42 kB / 489.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.1107, allocations: 0.6382 MB / 490.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.1121, allocations: 0.6459 MB / 491.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.1123, allocations: 64 kB / 491.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.1136, allocations: 419.7 kB / 491.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.1138, allocations: 167.2 kB / 491.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007892/0.1146, allocations: 0.5364 MB / 492.2 MB, free: 300 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.1175, allocations: 1.518 MB / 493.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.1175, allocations: 4 kB / 493.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1175, allocations: 0 / 493.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.1176, allocations: 0 / 493.7 MB, free: 14.77 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005992/0.1235, allocations: 1.693 MB / 495.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1236, allocations: 8.031 kB / 495.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.989e-05/0.1236, allocations: 26.19 kB / 495.5 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.1238, allocations: 122.8 kB / 495.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006194/0.1244, allocations: 152.2 kB / 495.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.1259, allocations: 0.6245 MB / 496.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.1259, allocations: 57.94 kB / 496.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.126, allocations: 72 kB / 496.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.1273, allocations: 0.7693 MB / 497.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1273, allocations: 0 / 497.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.664e-05/0.1274, allocations: 32 kB / 497.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.1274, allocations: 16 kB / 497.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.1287, allocations: 0.7027 MB / 498 MB, free: 10.39 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.007032/0.1357, allocations: 5.03 MB / 0.4913 GB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.1374, allocations: 0.7494 MB / 0.492 GB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.1378, allocations: 270.6 kB / 0.4922 GB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/0.1379, allocations: 12.64 kB / 0.4923 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.1379, allocations: 39.22 kB / 0.4923 GB, free: 3.754 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.106e-06/0.1379, allocations: 0 / 0.4923 GB, free: 3.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003134/0.141, allocations: 1.158 MB / 0.4934 GB, free: 2.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.1411, allocations: 67.98 kB / 0.4935 GB, free: 2.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.1419, allocations: 0.5464 MB / 0.494 GB, free: 1.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/0.1419, allocations: 41.7 kB / 0.4941 GB, free: 1.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.1422, allocations: 372.7 kB / 0.4944 GB, free: 1.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.1425, allocations: 285.5 kB / 0.4947 GB, free: 1.254 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.1427, allocations: 134.6 kB / 0.4948 GB, free: 1.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.1429, allocations: 374.8 kB / 0.4952 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.1433, allocations: 213.9 kB / 0.4954 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.1438, allocations: 344.3 kB / 0.4957 GB, free: 164 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009355/0.1447, allocations: 0.5898 MB / 0.4963 GB, free: 15.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1447, allocations: 0 / 0.4963 GB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001641/0.1464, allocations: 0.8567 MB / 0.4971 GB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1464, allocations: 10.03 kB / 0.4971 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1464, allocations: 4 kB / 0.4971 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006582/0.1471, allocations: 192.4 kB / 0.4973 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.1479, allocations: 191.8 kB / 0.4975 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/0.1515, allocations: 2.425 MB / 0.4999 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008144/0.1524, allocations: 47.73 kB / 0.4999 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.1524, allocations: 32.03 kB / 0.4999 GB, free: 11.67 MB / 382.1 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.0003651/0.1528, allocations: 230.2 kB / 0.5002 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.1529, allocations: 79.47 kB / 0.5002 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.1545, allocations: 0.7945 MB / 0.501 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.1545, allocations: 4 kB / 0.501 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1545, allocations: 4 kB / 0.501 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.1546, allocations: 7.984 kB / 0.501 GB, free: 10.54 MB / 382.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 postOpt removeSimpleEquations (simulation): time 0.00301/0.1576, allocations: 1.818 MB / 0.5028 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1576, allocations: 0 / 0.5028 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/0.1583, allocations: 163.8 kB / 0.503 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005587/0.1589, allocations: 172.2 kB / 0.5031 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.1589, allocations: 19.94 kB / 0.5031 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/0.1623, allocations: 2.415 MB / 0.5055 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1623, allocations: 4.188 kB / 0.5055 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.1641, allocations: 0.8631 MB / 0.5063 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/0.1645, allocations: 151.4 kB / 0.5065 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-05/0.1645, allocations: 12 kB / 0.5065 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/0.1651, allocations: 23.94 kB / 0.5065 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.1652, allocations: 60.48 kB / 0.5066 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.1652, allocations: 19.94 kB / 0.5066 GB, free: 4.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005658/0.1658, allocations: 386.8 kB / 0.507 GB, free: 4.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1658, allocations: 0 / 0.507 GB, free: 4.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001028/0.1668, allocations: 311.8 kB / 0.5073 GB, free: 3.934 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 (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.002199/0.169, allocations: 1.465 MB / 0.5087 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.1708, allocations: 0.768 MB / 0.5095 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1708, allocations: 0 / 0.5095 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008891/0.1717, allocations: 0.502 MB / 0.5099 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.1726, allocations: 106.3 kB / 0.51 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009573/0.1821, allocations: 5.821 MB / 0.5157 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.1828, allocations: 0.9388 MB / 0.5166 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004031/0.1832, allocations: 93.25 kB / 0.5167 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.1836, allocations: 271.3 kB / 0.517 GB, free: 9.738 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1836, allocations: 0 / 0.517 GB, free: 9.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2429/0.4265, allocations: 18.23 MB / 0.5348 GB, free: 59.92 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.46, allocations: 13.05 kB / 0.5348 GB, free: 59.92 MB / 398.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins1/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: 16.194443946005777]