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.001728/0.001728, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001771/0.001771, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.76/1.76, allocations: 207.7 MB / 233.1 MB, free: 9.801 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.08386/0.08386, allocations: 14.39 MB / 299.7 MB, free: 7.262 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",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.002257/0.002257, allocations: 63.91 kB / 420.6 MB, free: 39.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1039, allocations: 52.91 MB / 473.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.005542/0.1095, allocations: 3.791 MB / 477.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004047/0.1135, allocations: 2.263 MB / 479.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.1138, allocations: 11.94 kB / 479.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007191/0.1146, allocations: 222.8 kB / 479.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.1172, allocations: 1.062 MB / 480.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.1178, allocations: 239.2 kB / 481.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.1189, allocations: 0.93 MB / 482 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1191, allocations: 41.19 kB / 482.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.1195, allocations: 334.8 kB / 482.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.1199, allocations: 282.7 kB / 482.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.265e-05/0.12, allocations: 35.94 kB / 482.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005996/0.1206, allocations: 259.8 kB / 483 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-05/0.1207, allocations: 83.56 kB / 483 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002494/0.1209, allocations: 222.9 kB / 483.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.122, allocations: 0.7747 MB / 484 MB, free: 7.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.122, allocations: 0 / 484 MB, free: 7.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.122, allocations: 0 / 484 MB, free: 7.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.122, allocations: 0 / 484 MB, free: 7.531 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.002605/0.1246, allocations: 0.914 MB / 484.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.1247, allocations: 8.031 kB / 485 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.1248, allocations: 70.72 kB / 485 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003192/0.1251, allocations: 76.59 kB / 485.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009281/0.126, allocations: 373.8 kB / 485.5 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.1261, allocations: 33.11 kB / 485.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.1261, allocations: 32 kB / 485.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/0.1268, allocations: 364.9 kB / 485.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1268, allocations: 0 / 485.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.1268, allocations: 15.94 kB / 485.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1268, allocations: 12 kB / 485.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005292/0.1273, allocations: 290.4 kB / 486.2 MB, free: 5.277 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.002692/0.13, allocations: 1.387 MB / 487.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/0.1309, allocations: 340.2 kB / 487.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.1311, allocations: 96.83 kB / 488 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1311, allocations: 4 kB / 488 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1311, allocations: 46.7 kB / 488.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.1311, allocations: 0 / 488.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002334/0.1335, allocations: 0.6893 MB / 488.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.1335, allocations: 55.41 kB / 488.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.134, allocations: 349.6 kB / 489.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.134, allocations: 33.7 kB / 489.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1342, allocations: 204.6 kB / 489.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1343, allocations: 126.8 kB / 489.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1344, allocations: 65.66 kB / 489.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1346, allocations: 346.7 kB / 489.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1347, allocations: 87.97 kB / 490 MB, free: 1.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.1349, allocations: 136.7 kB / 490.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.1353, allocations: 251.9 kB / 490.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1353, allocations: 0 / 490.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001048/0.1364, allocations: 461 kB / 490.8 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1364, allocations: 8 kB / 490.8 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1364, allocations: 4.125 kB / 490.8 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007323/0.1371, allocations: 160.7 kB / 491 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.1374, allocations: 59.91 kB / 491 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.1409, allocations: 2.218 MB / 493.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.1412, allocations: 23.89 kB / 493.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.1412, allocations: 8 kB / 493.3 MB, free: 13.89 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.0002373/0.1415, allocations: 165.8 kB / 493.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.1416, allocations: 39.77 kB / 493.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.1427, allocations: 466.8 kB / 494 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1427, allocations: 4 kB / 494 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1427, allocations: 0 / 494 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.1427, allocations: 11.92 kB / 494 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.1444, allocations: 0.8774 MB / 494.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1444, allocations: 0 / 494.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.1446, allocations: 47.97 kB / 494.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006526/0.1453, allocations: 160.6 kB / 495.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.1453, allocations: 7.938 kB / 495.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/0.1483, allocations: 2.155 MB / 497.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1483, allocations: 0 / 497.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1493, allocations: 0.5246 MB / 497.7 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.1495, allocations: 71.72 kB / 497.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.1496, allocations: 11.94 kB / 497.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.1498, allocations: 8 kB / 497.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.1499, allocations: 27.94 kB / 497.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1499, allocations: 8 kB / 497.9 MB, free: 9.109 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003116/0.1502, allocations: 251.2 kB / 498.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1502, allocations: 0 / 498.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006267/0.1509, allocations: 171.8 kB / 498.3 MB, free: 8.699 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.001495/0.1524, allocations: 1.095 MB / 499.4 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008672/0.1532, allocations: 434.4 kB / 499.8 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1532, allocations: 0 / 499.8 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.1537, allocations: 318.9 kB / 0.4884 GB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.1542, allocations: 68.59 kB / 0.4885 GB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/0.1597, allocations: 3.502 MB / 0.4919 GB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.1599, allocations: 200.2 kB / 0.4921 GB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.1601, allocations: 47 kB / 0.4921 GB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.1603, allocations: 115.4 kB / 0.4922 GB, free: 2.77 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1603, allocations: 0 / 0.4922 GB, free: 2.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04681/0.2071, allocations: 11.61 MB / 0.5036 GB, free: 7.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.06, allocations: 7.797 kB / 0.5036 GB, free: 7.176 MB / 382.1 MB " [Timeout remaining time 647] (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: 16.270566715858877]