Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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.001876/0.001876, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002228/0.002228, allocations: 213.1 kB / 22.25 MB, free: 4.855 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.414/1.414, allocations: 207.7 MB / 233.1 MB, free: 9.797 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.06969/0.06969, allocations: 14.38 MB / 299.7 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.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine",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.002265/0.002265, allocations: 67.91 kB / 420.6 MB, free: 39.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08008/0.08235, allocations: 52.89 MB / 473.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.009316/0.09167, allocations: 6.473 MB / 480 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006911/0.09858, allocations: 3.265 MB / 483.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009725/0.09955, allocations: 27.81 kB / 483.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.1009, allocations: 385.8 kB / 483.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004371/0.1053, allocations: 1.558 MB / 485.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1066, allocations: 0.5565 MB / 485.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002563/0.1091, allocations: 1.836 MB / 487.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.1094, allocations: 66.42 kB / 487.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000866/0.1102, allocations: 0.6383 MB / 488.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008103/0.111, allocations: 0.5873 MB / 488.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1111, allocations: 60 kB / 489 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009266/0.1121, allocations: 407.7 kB / 489.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.1122, allocations: 163.2 kB / 489.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004907/0.1127, allocations: 461.8 kB / 490 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.1146, allocations: 1.518 MB / 491.5 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1146, allocations: 0 / 491.5 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1146, allocations: 4 kB / 491.5 MB, free: 40 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1146, allocations: 0 / 491.5 MB, free: 40 kB / 350.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.005375/0.12, allocations: 1.689 MB / 493.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.12, allocations: 8.031 kB / 493.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001406/0.1202, allocations: 118.8 kB / 493.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006034/0.1208, allocations: 152.2 kB / 493.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.1222, allocations: 0.6245 MB / 494.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/0.1222, allocations: 62.12 kB / 494.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.1223, allocations: 76 kB / 494.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.1236, allocations: 0.7693 MB / 495 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.1236, allocations: 3.938 kB / 495 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/0.1237, allocations: 28 kB / 495 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.1237, allocations: 16 kB / 495 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.125, allocations: 0.6987 MB / 495.7 MB, free: 11.69 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.005698/0.1307, allocations: 2.919 MB / 498.6 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.1323, allocations: 0.7491 MB / 499.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.1328, allocations: 267.4 kB / 499.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.1328, allocations: 12.66 kB / 499.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1328, allocations: 39.22 kB / 499.7 MB, free: 7.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.695e-06/0.1328, allocations: 4 kB / 499.7 MB, free: 7.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003073/0.1359, allocations: 1.155 MB / 0.4891 GB, free: 6.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.136, allocations: 60.06 kB / 0.4892 GB, free: 6.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.1367, allocations: 0.5575 MB / 0.4897 GB, free: 5.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.1368, allocations: 41.7 kB / 0.4898 GB, free: 5.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.1371, allocations: 372.7 kB / 0.4901 GB, free: 5.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.1374, allocations: 289.5 kB / 0.4904 GB, free: 5.094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.1376, allocations: 130.6 kB / 0.4905 GB, free: 4.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1378, allocations: 374.8 kB / 0.4909 GB, free: 4.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.1382, allocations: 217.9 kB / 0.4911 GB, free: 4.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.1387, allocations: 332.3 kB / 0.4914 GB, free: 4.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009593/0.1396, allocations: 0.5898 MB / 0.492 GB, free: 3.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1397, allocations: 0 / 0.492 GB, free: 3.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001667/0.1413, allocations: 0.8607 MB / 0.4928 GB, free: 2.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1413, allocations: 4 kB / 0.4928 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1413, allocations: 4 kB / 0.4928 GB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.142, allocations: 180.7 kB / 0.493 GB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/0.1428, allocations: 192 kB / 0.4932 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.1464, allocations: 2.401 MB / 0.4955 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/0.1471, allocations: 51.67 kB / 0.4956 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.1472, allocations: 24 kB / 0.4956 GB, free: 15.56 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.0003526/0.1475, allocations: 225.7 kB / 0.4958 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.1477, allocations: 79.56 kB / 0.4959 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.1493, allocations: 0.7944 MB / 0.4967 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1493, allocations: 8 kB / 0.4967 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1493, allocations: 4 kB / 0.4967 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1493, allocations: 7.922 kB / 0.4967 GB, free: 14.42 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.002774/0.1521, allocations: 1.546 MB / 0.4982 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1521, allocations: 0 / 0.4982 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/0.1528, allocations: 163.8 kB / 0.4984 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/0.1533, allocations: 168.1 kB / 0.4985 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.1534, allocations: 19.98 kB / 0.4985 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/0.1568, allocations: 2.381 MB / 0.5009 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1568, allocations: 4 kB / 0.5009 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.1583, allocations: 0.8552 MB / 0.5017 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.1588, allocations: 155.3 kB / 0.5018 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.1589, allocations: 19.94 kB / 0.5019 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/0.1594, allocations: 16 kB / 0.5019 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/0.1595, allocations: 60.48 kB / 0.5019 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.1595, allocations: 20 kB / 0.502 GB, free: 8.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005598/0.1601, allocations: 386.8 kB / 0.5023 GB, free: 8.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1601, allocations: 0 / 0.5023 GB, free: 8.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008866/0.161, allocations: 307.8 kB / 0.5026 GB, free: 8.164 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.001963/0.1629, allocations: 1.457 MB / 0.504 GB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.1645, allocations: 0.7797 MB / 0.5048 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1645, allocations: 4.125 kB / 0.5048 GB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008825/0.1654, allocations: 0.498 MB / 0.5053 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.1661, allocations: 110.2 kB / 0.5054 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009535/0.1756, allocations: 5.818 MB / 0.5111 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.176, allocations: 352.7 kB / 0.5114 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004697/0.1765, allocations: 93.3 kB / 0.5115 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004481/0.1769, allocations: 271.3 kB / 0.5118 GB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.177, allocations: 0 / 0.5118 GB, free: 14.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.227/0.4039, allocations: 18.58 MB / 0.5299 GB, free: 61.08 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.59, allocations: 5.188 kB / 0.5299 GB, free: 61.08 MB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.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: 15.266335968393832]