Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",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.001275/0.001276, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 196.7 kB / 16.26 MB, free: 6.617 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.732/1.732, allocations: 205.1 MB / 222.1 MB, free: 4.922 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06457/0.06457, allocations: 14.16 MB / 283.6 MB, free: 7.48 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.002299/0.0023, allocations: 67.84 kB / 344.7 MB, free: 19.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1192, allocations: 50.14 MB / 394.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.00847/0.1277, allocations: 7.317 MB / 402.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006007/0.1337, allocations: 3.499 MB / 405.6 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.135, allocations: 19.88 kB / 405.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.1365, allocations: 362.5 kB / 406 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.1402, allocations: 1.448 MB / 407.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.1412, allocations: 0.5408 MB / 408 MB, free: 4.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.1434, allocations: 1.911 MB / 409.9 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.1436, allocations: 122.5 kB / 410 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.1441, allocations: 0.5406 MB / 410.6 MB, free: 1.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004999/0.1446, allocations: 0.5484 MB / 411.1 MB, free: 1.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.1447, allocations: 51.94 kB / 411.2 MB, free: 1.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007611/0.1455, allocations: 415.7 kB / 411.6 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.1456, allocations: 135.2 kB / 411.7 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.146, allocations: 0.5091 MB / 412.2 MB, free: 32 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.1472, allocations: 1.336 MB / 413.5 MB, free: 14.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1472, allocations: 0 / 413.5 MB, free: 14.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1473, allocations: 4 kB / 413.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1473, allocations: 0 / 413.5 MB, free: 14.68 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004248/0.1515, allocations: 1.629 MB / 415.2 MB, free: 13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.1516, allocations: 12.03 kB / 415.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.1517, allocations: 114.7 kB / 415.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005462/0.1523, allocations: 151.6 kB / 415.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1534, allocations: 0.6336 MB / 416.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.1534, allocations: 58.12 kB / 416.1 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.741e-05/0.1535, allocations: 71.94 kB / 416.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1547, allocations: 0.7554 MB / 417 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.1547, allocations: 0 / 417 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.1548, allocations: 28 kB / 417 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.1548, allocations: 20 kB / 417 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000942/0.1557, allocations: 0.6752 MB / 417.7 MB, free: 10.4 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.004153/0.1599, allocations: 4.805 MB / 422.5 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.1614, allocations: 0.9435 MB / 423.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.1618, allocations: 303 kB / 423.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.007e-05/0.1619, allocations: 16.64 kB / 423.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1619, allocations: 39.22 kB / 423.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.014e-06/0.1619, allocations: 0 / 423.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004255/0.1662, allocations: 1.561 MB / 425.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1663, allocations: 60.06 kB / 425.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/0.1668, allocations: 0.499 MB / 425.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.1668, allocations: 37.7 kB / 425.9 MB, free: 1.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.1671, allocations: 363.7 kB / 426.3 MB, free: 1.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.1673, allocations: 264.2 kB / 426.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.1675, allocations: 126.5 kB / 426.7 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1676, allocations: 378.8 kB / 427 MB, free: 384 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.1679, allocations: 205.9 kB / 427.2 MB, free: 180 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1611/0.329, allocations: 329.7 kB / 427.6 MB, free: 37.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/0.33, allocations: 0.5836 MB / 428.1 MB, free: 37.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.33, allocations: 1.281 kB / 428.1 MB, free: 37.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001951/0.3319, allocations: 0.9447 MB / 429.1 MB, free: 37.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.332, allocations: 7.062 kB / 429.1 MB, free: 37.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.332, allocations: 2.281 kB / 429.1 MB, free: 37.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.3332, allocations: 305.8 kB / 429.4 MB, free: 37.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.3338, allocations: 164.1 kB / 429.6 MB, free: 37.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004453/0.3383, allocations: 3.282 MB / 432.8 MB, free: 35.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.339, allocations: 60.12 kB / 432.9 MB, free: 35.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.339, allocations: 29.34 kB / 432.9 MB, free: 35.46 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * 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,23)} Notification: Performance of prepare postOptimizeDAE: time 0.000317/0.3394, allocations: 225.2 kB / 433.2 MB, free: 35.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3395, allocations: 72.89 kB / 433.2 MB, free: 35.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.3412, allocations: 0.8854 MB / 434.1 MB, free: 34.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3413, allocations: 11.5 kB / 434.1 MB, free: 34.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.3413, allocations: 0.7031 kB / 434.1 MB, free: 34.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3413, allocations: 3.234 kB / 434.1 MB, free: 34.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.344, allocations: 1.795 MB / 435.9 MB, free: 33.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.344, allocations: 5.219 kB / 435.9 MB, free: 33.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.3446, allocations: 132.4 kB / 436.1 MB, free: 33.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009997/0.3456, allocations: 298.5 kB / 436.3 MB, free: 33.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.3456, allocations: 11.06 kB / 436.4 MB, free: 33.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0045/0.3501, allocations: 3.214 MB / 439.6 MB, free: 31.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3502, allocations: 1.156 kB / 439.6 MB, free: 31.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/0.353, allocations: 0.9384 MB / 440.5 MB, free: 31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/0.3535, allocations: 206.6 kB / 440.7 MB, free: 30.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.3536, allocations: 13.02 kB / 440.7 MB, free: 30.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.3541, allocations: 33.19 kB / 440.8 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.3542, allocations: 52.62 kB / 440.8 MB, free: 30.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.3543, allocations: 17.5 kB / 440.8 MB, free: 30.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007135/0.355, allocations: 347.1 kB / 441.2 MB, free: 30.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.355, allocations: 0 / 441.2 MB, free: 30.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0017/0.3567, allocations: 298.2 kB / 441.5 MB, free: 30.59 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 (51): * Single equations (assignments): 50 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002424/0.3592, allocations: 1.553 MB / 443 MB, free: 29.57 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 initialization part: time 0.002082/0.3613, allocations: 0.886 MB / 443.9 MB, free: 29.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3613, allocations: 4.062 kB / 443.9 MB, free: 29.15 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 simulation system equations: time 0.0009334/0.3622, allocations: 0.5803 MB / 444.5 MB, free: 28.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/0.3629, allocations: 88.61 kB / 444.6 MB, free: 28.8 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.008757/0.3717, allocations: 6.213 MB / 450.8 MB, free: 25.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.3721, allocations: 0.9393 MB / 451.7 MB, free: 24.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003904/0.3725, allocations: 81.91 kB / 451.8 MB, free: 24.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.3728, allocations: 256.4 kB / 452 MB, free: 24.17 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3728, allocations: 0 / 452 MB, free: 24.17 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.4021, allocations: 17.41 MB / 469.5 MB, free: 8.559 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.4023, allocations: 231.9 kB / 469.7 MB, free: 8.305 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.581, allocations: 4 kB / 469.7 MB, free: 8.301 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches