Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.001412/0.001412, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001668/0.001668, allocations: 213.9 kB / 22.25 MB, free: 5.133 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.519/1.519, allocations: 207.6 MB / 233 MB, free: 10 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.06922/0.06922, allocations: 14.39 MB / 299.7 MB, free: 7.445 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.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.00218/0.00218, allocations: 71.89 kB / 420.6 MB, free: 39.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.09335, allocations: 52.89 MB / 473.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.005758/0.09911, allocations: 4.211 MB / 477.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004135/0.1032, allocations: 2.485 MB / 480.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.1036, allocations: 7.938 kB / 480.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007889/0.1044, allocations: 246.7 kB / 480.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.1071, allocations: 1.113 MB / 481.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.1077, allocations: 259.1 kB / 481.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.109, allocations: 0.93 MB / 482.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1091, allocations: 41.2 kB / 482.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005046/0.1096, allocations: 334.8 kB / 483.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004702/0.1101, allocations: 330.7 kB / 483.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.1102, allocations: 32 kB / 483.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006695/0.1108, allocations: 271.8 kB / 483.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.118e-05/0.1109, allocations: 79.62 kB / 483.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.1112, allocations: 270.7 kB / 484.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.1123, allocations: 0.7941 MB / 484.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1123, allocations: 0 / 484.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1123, allocations: 0 / 484.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1123, allocations: 4 kB / 484.9 MB, free: 6.883 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002616/0.115, allocations: 0.9024 MB / 485.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.115, allocations: 8.031 kB / 485.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.094e-05/0.1151, allocations: 74.66 kB / 485.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.1154, allocations: 76.58 kB / 486 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008253/0.1162, allocations: 369.8 kB / 486.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.1163, allocations: 33.06 kB / 486.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.1163, allocations: 32 kB / 486.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.1169, allocations: 346.4 kB / 486.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1169, allocations: 0 / 486.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.1169, allocations: 19.94 kB / 486.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1169, allocations: 12 kB / 486.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.1175, allocations: 310.4 kB / 487.1 MB, free: 4.641 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.003511/0.121, allocations: 2.285 MB / 489.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009195/0.1219, allocations: 371 kB / 489.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.1221, allocations: 108.8 kB / 489.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.1221, allocations: 7.984 kB / 489.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.1222, allocations: 34.56 kB / 489.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.365e-06/0.1222, allocations: 0 / 489.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.002281/0.1244, allocations: 0.6733 MB / 490.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.1245, allocations: 55.41 kB / 490.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.1249, allocations: 333.6 kB / 490.9 MB, free: 464 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1249, allocations: 29.7 kB / 490.9 MB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1251, allocations: 200.6 kB / 491.1 MB, free: 224 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.1252, allocations: 138.8 kB / 491.3 MB, free: 84 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1253, allocations: 61.98 kB / 491.3 MB, free: 16 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1255, allocations: 346.8 kB / 491.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.1257, allocations: 88.62 kB / 491.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.1258, allocations: 122.9 kB / 491.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.1262, allocations: 225.6 kB / 492.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1262, allocations: 3.938 kB / 492.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001033/0.1273, allocations: 450.3 kB / 492.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1273, allocations: 4 kB / 492.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1273, allocations: 0 / 492.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008067/0.1281, allocations: 164.7 kB / 492.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.1284, allocations: 71.89 kB / 492.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/0.1317, allocations: 2.157 MB / 494.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004128/0.1321, allocations: 23.89 kB / 495 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.1322, allocations: 8 kB / 495 MB, free: 12.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 28 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002408/0.1324, allocations: 173.6 kB / 495.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.1325, allocations: 39.77 kB / 495.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.1336, allocations: 462.8 kB / 495.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1336, allocations: 0 / 495.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.1336, allocations: 4 kB / 495.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1336, allocations: 0 / 495.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.1356, allocations: 1.079 MB / 496.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1356, allocations: 0 / 496.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.1358, allocations: 67.91 kB / 496.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006605/0.1365, allocations: 152.7 kB / 496.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.1365, allocations: 8 kB / 496.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.1396, allocations: 2.104 MB / 499 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1396, allocations: 0 / 499 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.1407, allocations: 0.524 MB / 499.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.141, allocations: 75.66 kB / 499.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.141, allocations: 11.94 kB / 499.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.1413, allocations: 8 kB / 499.6 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.1414, allocations: 27.89 kB / 499.7 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.1414, allocations: 15.98 kB / 499.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003032/0.1417, allocations: 235.1 kB / 499.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1417, allocations: 7.938 kB / 499.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006486/0.1423, allocations: 159.9 kB / 0.4884 GB, free: 6.887 MB / 366.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 (26): * Single equations (assignments): 25 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/0.1439, allocations: 1.107 MB / 0.4894 GB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.1449, allocations: 462 kB / 0.4899 GB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1449, allocations: 0 / 0.4899 GB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006676/0.1456, allocations: 354.3 kB / 0.4902 GB, free: 4.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.1461, allocations: 73.34 kB / 0.4903 GB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/0.1518, allocations: 3.465 MB / 0.4937 GB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.1523, allocations: 0.8079 MB / 0.4945 GB, free: 472 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.1525, allocations: 46.92 kB / 0.4945 GB, free: 424 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.1528, allocations: 123.4 kB / 0.4946 GB, free: 300 kB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1528, allocations: 0 / 0.4946 GB, free: 300 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04945/0.2022, allocations: 11.33 MB / 0.5057 GB, free: 4.973 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.32, allocations: 3.938 kB / 0.5057 GB, free: 4.969 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.13052167999558]