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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 198.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06443/0.06443, allocations: 14.18 MB / 283.9 MB, free: 7.086 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 76.11 kB / 345.2 MB, free: 19.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.104, allocations: 50.13 MB / 395.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine): time 0.008842/0.1129, allocations: 7.28 MB / 402.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005567/0.1185, allocations: 3.541 MB / 406.1 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009669/0.1195, allocations: 15.94 kB / 406.1 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.1209, allocations: 417.6 kB / 406.6 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004096/0.1251, allocations: 1.574 MB / 408.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1263, allocations: 0.5798 MB / 408.7 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002954/0.1292, allocations: 1.836 MB / 410.5 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004932/0.1297, allocations: 118.5 kB / 410.7 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.1314, allocations: 0.6109 MB / 411.3 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.1329, allocations: 0.6459 MB / 411.9 MB, free: 460 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.1332, allocations: 60 kB / 412 MB, free: 400 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.1349, allocations: 427.8 kB / 412.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.1352, allocations: 163.2 kB / 412.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.1363, allocations: 0.5403 MB / 413.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.1387, allocations: 1.441 MB / 414.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1387, allocations: 0 / 414.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1387, allocations: 3.938 kB / 414.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.806e-05/0.1387, allocations: 0 / 414.5 MB, free: 13.82 MB / 318.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.006805/0.1456, allocations: 1.746 MB / 416.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.1456, allocations: 16.03 kB / 416.3 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/0.1459, allocations: 118.8 kB / 416.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000903/0.1468, allocations: 151.7 kB / 416.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.1482, allocations: 0.661 MB / 417.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.1482, allocations: 62.06 kB / 417.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.797e-05/0.1483, allocations: 72 kB / 417.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.1495, allocations: 0.7654 MB / 418.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.1496, allocations: 0 / 418.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.1496, allocations: 32 kB / 418.1 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.1497, allocations: 20 kB / 418.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1508, allocations: 0.7065 MB / 418.9 MB, free: 9.336 MB / 318.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.00625/0.157, allocations: 5.115 MB / 424 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.1588, allocations: 0.9438 MB / 424.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.1592, allocations: 307.8 kB / 425.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.283e-05/0.1593, allocations: 12.59 kB / 425.2 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1593, allocations: 43.22 kB / 425.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 2.064e-06/0.1593, allocations: 0 / 425.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002963/0.1623, allocations: 1.237 MB / 426.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1624, allocations: 67.98 kB / 426.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/0.1631, allocations: 0.5492 MB / 427.1 MB, free: 444 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.1632, allocations: 41.7 kB / 427.2 MB, free: 396 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.1635, allocations: 367.8 kB / 427.5 MB, free: 20 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2085/0.372, allocations: 264.8 kB / 427.8 MB, free: 37.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.3723, allocations: 134.8 kB / 427.9 MB, free: 37.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3725, allocations: 373 kB / 428.3 MB, free: 37.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.3729, allocations: 218.7 kB / 428.5 MB, free: 37.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.3733, allocations: 332.9 kB / 428.8 MB, free: 37.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007546/0.374, allocations: 0.5884 MB / 429.4 MB, free: 37.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3741, allocations: 1.375 kB / 429.4 MB, free: 37.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001597/0.3757, allocations: 0.8521 MB / 430.3 MB, free: 37.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3757, allocations: 10.61 kB / 430.3 MB, free: 37.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3757, allocations: 2.812 kB / 430.3 MB, free: 37.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.3763, allocations: 190.5 kB / 430.5 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/0.3771, allocations: 199.6 kB / 430.7 MB, free: 36.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.3799, allocations: 2.535 MB / 433.2 MB, free: 35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/0.3806, allocations: 48.16 kB / 433.3 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.3806, allocations: 30.7 kB / 433.3 MB, free: 34.96 MB / 318.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.0002677/0.3809, allocations: 225.5 kB / 433.5 MB, free: 34.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.3811, allocations: 77.09 kB / 433.6 MB, free: 34.74 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.3824, allocations: 0.8018 MB / 434.4 MB, free: 34.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3824, allocations: 11.61 kB / 434.4 MB, free: 34.35 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3824, allocations: 2.75 kB / 434.4 MB, free: 34.35 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.3824, allocations: 4.797 kB / 434.4 MB, free: 34.35 MB / 318.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.002239/0.3847, allocations: 1.85 MB / 436.2 MB, free: 33.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3847, allocations: 3.875 kB / 436.3 MB, free: 33.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.3854, allocations: 166.4 kB / 436.4 MB, free: 33.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.3858, allocations: 172.5 kB / 436.6 MB, free: 33.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.3859, allocations: 15.8 kB / 436.6 MB, free: 33.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/0.3885, allocations: 2.52 MB / 439.1 MB, free: 31.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3885, allocations: 0.9375 kB / 439.1 MB, free: 31.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.3897, allocations: 0.8634 MB / 440 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.39, allocations: 227.8 kB / 440.2 MB, free: 30.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-05/0.3901, allocations: 12.19 kB / 440.2 MB, free: 30.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.3906, allocations: 25.98 kB / 440.2 MB, free: 30.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3907, allocations: 45.88 kB / 440.3 MB, free: 30.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.3907, allocations: 20.94 kB / 440.3 MB, free: 30.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004942/0.3912, allocations: 384.6 kB / 440.7 MB, free: 30.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3912, allocations: 0 / 440.7 MB, free: 30.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001211/0.3925, allocations: 309.6 kB / 441 MB, free: 30.39 MB / 318.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.00173/0.3942, allocations: 1.475 MB / 442.5 MB, free: 29.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.396, allocations: 0.8415 MB / 443.3 MB, free: 29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.396, allocations: 1.188 kB / 443.3 MB, free: 29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008166/0.3968, allocations: 0.5347 MB / 443.8 MB, free: 28.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007813/0.3976, allocations: 110.7 kB / 443.9 MB, free: 28.66 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008527/0.4062, allocations: 6.037 MB / 450 MB, free: 25.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.4067, allocations: 0.9415 MB / 450.9 MB, free: 24.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005076/0.4072, allocations: 95.83 kB / 451 MB, free: 24.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003754/0.4076, allocations: 273.3 kB / 451.3 MB, free: 24.23 MB / 318.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4076, allocations: 0 / 451.3 MB, free: 24.23 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07547/0.4831, allocations: 17.02 MB / 468.3 MB, free: 9.625 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.54, allocations: 12.64 kB / 468.3 MB, free: 9.613 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesResistiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLine.pipe 2>&1) 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) Reference file matches