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.001392/0.001392, allocations: 101.5 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.001486/0.001486, allocations: 218.4 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.44/1.44, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.06921/0.06921, allocations: 14.4 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.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",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: 67.91 kB / 421.4 MB, free: 39.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0785/0.08069, allocations: 52.9 MB / 474.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.008502/0.08919, allocations: 7.313 MB / 481.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005832/0.09502, allocations: 3.576 MB / 485.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000666/0.09569, allocations: 19.94 kB / 485.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.09676, allocations: 417.6 kB / 485.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.1005, allocations: 1.608 MB / 487.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.1017, allocations: 0.6012 MB / 487.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.1041, allocations: 1.84 MB / 489.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.1044, allocations: 70.42 kB / 489.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008535/0.1052, allocations: 0.646 MB / 490.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009529/0.1062, allocations: 0.642 MB / 491 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-05/0.1063, allocations: 60 kB / 491.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009611/0.1072, allocations: 423.7 kB / 491.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.1074, allocations: 167.2 kB / 491.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005632/0.1079, allocations: 0.5442 MB / 492.2 MB, free: 292 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.11, allocations: 1.51 MB / 493.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.11, allocations: 4 kB / 493.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.11, allocations: 0 / 493.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.11, 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.005634/0.1156, allocations: 1.693 MB / 495.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1157, allocations: 8.031 kB / 495.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.929e-05/0.1157, allocations: 26.19 kB / 495.5 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.1158, allocations: 122.8 kB / 495.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006394/0.1165, allocations: 152.2 kB / 495.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.118, allocations: 0.6245 MB / 496.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/0.118, allocations: 57.94 kB / 496.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-05/0.1181, allocations: 72 kB / 496.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.1194, allocations: 0.7732 MB / 497.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.1194, allocations: 4 kB / 497.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.1195, allocations: 24 kB / 497.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.1195, allocations: 20 kB / 497.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.1207, 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.007315/0.128, allocations: 5.03 MB / 0.4913 GB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.1297, allocations: 0.7455 MB / 0.492 GB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004562/0.1302, allocations: 274.6 kB / 0.4922 GB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-05/0.1303, allocations: 8.656 kB / 0.4922 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1303, allocations: 47.16 kB / 0.4923 GB, free: 3.746 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.515e-06/0.1303, allocations: 0 / 0.4923 GB, free: 3.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003214/0.1335, allocations: 1.158 MB / 0.4934 GB, free: 2.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1336, allocations: 60.06 kB / 0.4935 GB, free: 2.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008042/0.1344, allocations: 0.5503 MB / 0.494 GB, free: 1.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.1344, allocations: 37.7 kB / 0.4941 GB, free: 1.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.1347, allocations: 372.7 kB / 0.4944 GB, free: 1.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.135, allocations: 285.5 kB / 0.4947 GB, free: 1.254 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.1352, allocations: 130.6 kB / 0.4948 GB, free: 1.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1354, allocations: 378.8 kB / 0.4952 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.1358, allocations: 213.9 kB / 0.4954 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.1363, allocations: 336.3 kB / 0.4957 GB, free: 172 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009827/0.1373, allocations: 0.5936 MB / 0.4963 GB, free: 15.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.1373, allocations: 4 kB / 0.4963 GB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001774/0.1391, allocations: 0.8529 MB / 0.4971 GB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1391, allocations: 10.5 kB / 0.4971 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1391, allocations: 0 / 0.4971 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/0.1398, allocations: 188.3 kB / 0.4973 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/0.1406, allocations: 195.8 kB / 0.4975 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/0.144, allocations: 2.44 MB / 0.4999 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007243/0.1448, allocations: 47.73 kB / 0.4999 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.1448, 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.0003576/0.1452, allocations: 225.7 kB / 0.5002 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.1454, allocations: 79.47 kB / 0.5002 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.1469, allocations: 0.7906 MB / 0.501 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.1469, allocations: 8 kB / 0.501 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1469, allocations: 4 kB / 0.501 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.1469, 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.002824/0.1498, allocations: 1.814 MB / 0.5028 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1498, allocations: 0 / 0.5028 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007216/0.1505, allocations: 159.8 kB / 0.503 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005347/0.151, allocations: 176.6 kB / 0.5031 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/0.1511, allocations: 19.94 kB / 0.5031 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.1545, allocations: 2.416 MB / 0.5055 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1545, allocations: 0 / 0.5055 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.156, allocations: 0.8672 MB / 0.5063 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.1564, allocations: 151.4 kB / 0.5065 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.535e-05/0.1565, allocations: 12 kB / 0.5065 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/0.157, allocations: 20 kB / 0.5065 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-05/0.1571, allocations: 60.42 kB / 0.5066 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.1572, allocations: 20 kB / 0.5066 GB, free: 4.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005442/0.1577, allocations: 382.8 kB / 0.507 GB, free: 4.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1577, allocations: 0 / 0.507 GB, free: 4.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009543/0.1587, allocations: 311.8 kB / 0.5073 GB, free: 3.941 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.002032/0.1607, allocations: 1.469 MB / 0.5087 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.1623, allocations: 0.7758 MB / 0.5095 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1623, allocations: 0 / 0.5095 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008821/0.1632, allocations: 0.4942 MB / 0.5099 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008733/0.1641, allocations: 114.2 kB / 0.51 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009522/0.1736, allocations: 5.826 MB / 0.5157 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.1742, allocations: 0.9349 MB / 0.5166 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004137/0.1746, allocations: 93.3 kB / 0.5167 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.1751, allocations: 275.3 kB / 0.517 GB, free: 9.73 MB / 398.1 MB Notification: Performance of SimCode: time 1.373e-06/0.1751, allocations: 0 / 0.517 GB, free: 9.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.257/0.432, allocations: 18.22 MB / 0.5348 GB, free: 60.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.51, allocations: 6.531 kB / 0.5348 GB, free: 60.9 MB / 398.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/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: 16.240849827998318]