Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.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.001852/0.001852, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001891/0.001891, allocations: 221.2 kB / 23.03 MB, free: 4.941 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.817/1.817, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.06828/0.06828, allocations: 14.39 MB / 300.5 MB, free: 7.254 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.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",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.002359/0.002359, allocations: 67.91 kB / 421.4 MB, free: 39.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1274, allocations: 52.9 MB / 474.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.00787/0.1353, allocations: 3.786 MB / 478.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005653/0.1409, allocations: 2.252 MB / 480.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.1414, allocations: 7.938 kB / 480.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000969/0.1424, allocations: 238.7 kB / 480.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.1452, allocations: 1.058 MB / 481.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.1457, allocations: 247.1 kB / 481.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.147, allocations: 0.9296 MB / 482.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.1472, allocations: 37.22 kB / 482.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004797/0.1477, allocations: 342.8 kB / 483.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.1481, allocations: 310.7 kB / 483.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.853e-05/0.1482, allocations: 32 kB / 483.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006668/0.1488, allocations: 267.8 kB / 483.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.326e-05/0.1489, allocations: 79.56 kB / 483.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.1492, allocations: 223 kB / 484.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.1503, allocations: 0.7824 MB / 484.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1503, allocations: 4 kB / 484.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.1503, allocations: 4 kB / 484.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.1503, allocations: 0 / 484.9 MB, free: 7.484 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.153, allocations: 0.8985 MB / 485.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1531, allocations: 15.97 kB / 485.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.216e-05/0.1531, allocations: 9.188 kB / 485.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.319e-05/0.1532, allocations: 66.72 kB / 485.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.1535, allocations: 84.58 kB / 485.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007529/0.1542, allocations: 369.7 kB / 486.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.1543, allocations: 28.94 kB / 486.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.1543, allocations: 32 kB / 486.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006105/0.1549, allocations: 357 kB / 486.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.155, allocations: 7.922 kB / 486.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.155, allocations: 16 kB / 486.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.155, allocations: 8 kB / 486.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.1555, allocations: 294.4 kB / 487 MB, free: 5.23 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.002615/0.1582, allocations: 1.39 MB / 488.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/0.159, allocations: 339.3 kB / 488.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.1592, allocations: 96.83 kB / 488.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.1592, allocations: 4 kB / 488.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.1593, allocations: 39.66 kB / 488.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.1593, allocations: 0 / 488.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002414/0.1617, allocations: 0.6815 MB / 489.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.1617, allocations: 59.39 kB / 489.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.1622, allocations: 345.7 kB / 490 MB, free: 2.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1622, allocations: 29.7 kB / 490 MB, free: 2.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.1624, allocations: 212.4 kB / 490.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.1626, allocations: 130.8 kB / 490.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.1627, allocations: 65.64 kB / 490.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.1629, allocations: 350.7 kB / 490.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.1631, allocations: 87.91 kB / 490.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.1633, allocations: 136.7 kB / 490.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.1637, allocations: 251.9 kB / 491.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1637, allocations: 0 / 491.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00109/0.1648, allocations: 465 kB / 491.6 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1648, allocations: 4 kB / 491.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1648, allocations: 3.938 kB / 491.7 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007774/0.1656, allocations: 160.8 kB / 491.8 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.1659, allocations: 63.97 kB / 491.9 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/0.1693, allocations: 2.213 MB / 494.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.1697, allocations: 27.84 kB / 494.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.1697, allocations: 12 kB / 494.1 MB, free: 13.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.17, allocations: 157.8 kB / 494.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.1701, allocations: 35.77 kB / 494.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.1712, allocations: 462.9 kB / 494.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/0.1712, allocations: 7.984 kB / 494.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1712, allocations: 0 / 494.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/0.1713, allocations: 3.938 kB / 494.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.1731, allocations: 0.8736 MB / 495.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1731, allocations: 8 kB / 495.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.1733, allocations: 55.91 kB / 495.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006783/0.174, allocations: 156.7 kB / 495.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.174, allocations: 11.98 kB / 495.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003187/0.1772, allocations: 2.146 MB / 498 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1772, allocations: 0 / 498 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.1783, allocations: 0.5247 MB / 498.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.1785, allocations: 83.58 kB / 498.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.1786, allocations: 11.88 kB / 498.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.1788, allocations: 11.95 kB / 498.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.1789, allocations: 31.89 kB / 498.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.1789, allocations: 11.98 kB / 498.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003349/0.1793, allocations: 243.2 kB / 498.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1793, allocations: 0 / 498.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006673/0.18, allocations: 171.9 kB / 499.1 MB, free: 8.645 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 (22): * Single equations (assignments): 21 * 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 {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/0.1815, allocations: 1.095 MB / 0.4885 GB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009452/0.1824, allocations: 434.3 kB / 0.4889 GB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1825, allocations: 0 / 0.4889 GB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.183, allocations: 315 kB / 0.4892 GB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.1835, allocations: 72.84 kB / 0.4893 GB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/0.1894, allocations: 3.494 MB / 0.4927 GB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.1897, allocations: 200.2 kB / 0.4929 GB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.1899, allocations: 43.02 kB / 0.4929 GB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.1901, allocations: 119.4 kB / 0.493 GB, free: 2.719 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1901, allocations: 0 / 0.493 GB, free: 2.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04057/0.2307, allocations: 11.34 MB / 0.5041 GB, free: 7.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/13.85, allocations: 7.5 kB / 0.5041 GB, free: 7.395 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.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: 17.22460379207041]