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.001537/0.001537, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.002067/0.002067, allocations: 214.3 kB / 23.04 MB, free: 5.07 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.89/1.89, 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.06693/0.06693, allocations: 14.39 MB / 300.5 MB, free: 7.422 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.00253/0.00253, allocations: 72.28 kB / 421.4 MB, free: 39.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.121, allocations: 52.89 MB / 474.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.005975/0.1269, allocations: 4.207 MB / 478.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004373/0.1313, allocations: 2.481 MB / 481 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.1316, allocations: 11.94 kB / 481 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007202/0.1323, allocations: 242.7 kB / 481.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.135, allocations: 1.122 MB / 482.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.1355, allocations: 262.5 kB / 482.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.1368, allocations: 0.93 MB / 483.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.137, allocations: 41.2 kB / 483.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.1374, allocations: 338.8 kB / 483.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.1379, allocations: 314.8 kB / 484.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.1379, allocations: 35.94 kB / 484.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006673/0.1386, allocations: 275.8 kB / 484.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.954e-05/0.1387, allocations: 79.62 kB / 484.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.139, allocations: 270.7 kB / 484.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1402, allocations: 0.7902 MB / 485.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1402, allocations: 0 / 485.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1402, allocations: 0 / 485.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1402, allocations: 4 kB / 485.7 MB, free: 6.867 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.002693/0.1429, allocations: 0.9024 MB / 486.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.1429, allocations: 8.031 kB / 486.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.74e-05/0.1429, allocations: 17.12 kB / 486.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.027e-05/0.143, allocations: 66.72 kB / 486.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.1434, allocations: 80.58 kB / 486.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/0.1442, allocations: 373.7 kB / 487.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.1442, allocations: 28.94 kB / 487.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.1443, allocations: 32 kB / 487.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.1449, allocations: 346.4 kB / 487.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1449, allocations: 0 / 487.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.145, allocations: 16 kB / 487.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.145, allocations: 8 kB / 487.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.1455, allocations: 314.4 kB / 487.9 MB, free: 4.617 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.003379/0.1489, allocations: 2.292 MB / 490.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009453/0.1498, allocations: 367 kB / 490.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.15, allocations: 108.8 kB / 490.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1501, allocations: 4 kB / 490.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.1501, allocations: 34.56 kB / 490.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.973e-06/0.1501, allocations: 0 / 490.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.002354/0.1524, allocations: 0.6783 MB / 491.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.1525, allocations: 55.41 kB / 491.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.153, allocations: 332.5 kB / 491.7 MB, free: 436 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.153, allocations: 29.7 kB / 491.7 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1532, allocations: 200.6 kB / 491.9 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.1533, allocations: 134.8 kB / 492.1 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.1534, allocations: 57.98 kB / 492.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1536, allocations: 354.7 kB / 492.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.1538, allocations: 92.62 kB / 492.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.154, allocations: 130.9 kB / 492.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.1544, allocations: 225.6 kB / 492.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1544, allocations: 192 / 492.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001087/0.1555, allocations: 446.4 kB / 493.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.1555, allocations: 11.88 kB / 493.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1555, allocations: 0 / 493.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000806/0.1563, allocations: 164.7 kB / 493.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.1566, allocations: 67.97 kB / 493.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.1601, allocations: 2.154 MB / 495.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.1605, allocations: 19.88 kB / 495.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.1605, allocations: 12 kB / 495.8 MB, free: 12.21 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.0002458/0.1608, allocations: 165.7 kB / 495.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.1609, allocations: 39.77 kB / 496 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.162, allocations: 463 kB / 496.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.162, allocations: 7.938 kB / 496.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.162, allocations: 0 / 496.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.162, allocations: 0 / 496.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.1639, allocations: 1.087 MB / 497.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1639, allocations: 0 / 497.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.1642, allocations: 63.95 kB / 497.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007054/0.1649, allocations: 157 kB / 497.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.1649, allocations: 11.94 kB / 497.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003124/0.1681, allocations: 2.088 MB / 499.8 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1681, allocations: 0 / 499.8 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.1692, allocations: 0.5279 MB / 0.4886 GB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.1694, allocations: 75.66 kB / 0.4887 GB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.1695, allocations: 8.047 kB / 0.4887 GB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.1697, allocations: 15.94 kB / 0.4887 GB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.1698, allocations: 27.94 kB / 0.4888 GB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.1698, allocations: 8 kB / 0.4888 GB, free: 7.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003142/0.1702, allocations: 235.1 kB / 0.489 GB, free: 7.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1702, allocations: 7.938 kB / 0.489 GB, free: 7.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006639/0.1708, allocations: 163.9 kB / 0.4891 GB, free: 6.859 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.001697/0.1725, allocations: 1.111 MB / 0.4902 GB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.1737, allocations: 454.1 kB / 0.4907 GB, free: 5.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1737, allocations: 0 / 0.4907 GB, free: 5.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007162/0.1744, allocations: 362.3 kB / 0.491 GB, free: 4.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.175, allocations: 68.91 kB / 0.4911 GB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005748/0.1808, allocations: 3.466 MB / 0.4945 GB, free: 1.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.1813, allocations: 0.8079 MB / 0.4952 GB, free: 440 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.1815, allocations: 46.88 kB / 0.4953 GB, free: 392 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.1817, allocations: 119.4 kB / 0.4954 GB, free: 272 kB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1817, allocations: 0 / 0.4954 GB, free: 272 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04002/0.2217, allocations: 11.36 MB / 0.5065 GB, free: 4.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.45, allocations: 8 kB / 0.5065 GB, free: 4.914 MB / 382.1 MB " [Timeout remaining time 646] (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.8164388659643]