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.007532/0.007532, allocations: 100.8 kB / 15.73 MB, free: 6.496 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.001226/0.001226, allocations: 196.5 kB / 16.68 MB, free: 6.375 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.582/1.582, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06562/0.06563, allocations: 14.18 MB / 284.1 MB, free: 6.988 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.001548/0.001548, allocations: 63.91 kB / 396 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3175, allocations: 50.14 MB / 446.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.01271/0.3303, allocations: 7.162 MB / 453.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.3412, allocations: 3.522 MB / 456.8 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.3425, allocations: 20.94 kB / 456.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.3446, allocations: 411.2 kB / 457.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007225/0.3518, allocations: 1.612 MB / 458.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.3539, allocations: 0.5703 MB / 459.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004362/0.3583, allocations: 1.822 MB / 461.2 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.3587, allocations: 134.6 kB / 461.4 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.3604, allocations: 0.6198 MB / 462 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.3619, allocations: 0.6297 MB / 462.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.362, allocations: 61.88 kB / 462.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.3637, allocations: 432.7 kB / 463.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.364, allocations: 155.8 kB / 463.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009284/0.3649, allocations: 0.5394 MB / 463.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003351/0.3683, allocations: 1.48 MB / 465.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3683, allocations: 3.938 kB / 465.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3683, allocations: 0 / 465.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.3683, allocations: 0 / 465.3 MB, free: 3.613 MB / 334.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.01007/0.3784, allocations: 1.682 MB / 467 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.366e-05/0.3785, allocations: 12.02 kB / 467 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002458/0.3788, allocations: 118.7 kB / 467.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.3802, allocations: 143.8 kB / 467.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.3826, allocations: 0.6765 MB / 467.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.3827, allocations: 54.12 kB / 468 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.3828, allocations: 72 kB / 468 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.3847, allocations: 0.7592 MB / 468.8 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.3848, allocations: 0 / 468.8 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.3849, allocations: 32 kB / 468.8 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.385, allocations: 16 kB / 468.8 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.3869, allocations: 0.6714 MB / 469.5 MB, free: 15.55 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.01144/0.3984, allocations: 5.215 MB / 474.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/0.4015, allocations: 0.9494 MB / 475.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/0.4023, allocations: 294.7 kB / 476 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-05/0.4024, allocations: 12.66 kB / 476 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.4025, allocations: 43.22 kB / 476 MB, free: 8.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 4.849e-06/0.4025, allocations: 0 / 476 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.007743/0.4103, allocations: 1.561 MB / 477.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.4104, allocations: 60.06 kB / 477.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.4119, allocations: 0.5536 MB / 478.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.412, allocations: 37.7 kB / 478.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.4124, allocations: 351.9 kB / 478.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004671/0.4129, allocations: 276 kB / 478.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/0.4133, allocations: 134.5 kB / 479 MB, free: 5.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002899/0.4136, allocations: 370.8 kB / 479.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000638/0.4142, allocations: 205.9 kB / 479.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007377/0.415, allocations: 338 kB / 479.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.4165, allocations: 0.5875 MB / 480.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.4165, allocations: 0 / 480.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002441/0.419, allocations: 0.943 MB / 481.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.419, allocations: 8 kB / 481.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.419, allocations: 4 kB / 481.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.4201, allocations: 295.2 kB / 481.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.4208, allocations: 163.8 kB / 481.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004808/0.4256, allocations: 3.327 MB / 485.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008211/0.4264, allocations: 55.52 kB / 485.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.4265, allocations: 31.98 kB / 485.3 MB, free: 14.9 MB / 366.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.0003622/0.4268, allocations: 225.7 kB / 485.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.427, allocations: 75.09 kB / 485.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.4288, allocations: 0.8802 MB / 486.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.4288, allocations: 11.88 kB / 486.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.4288, allocations: 11.98 kB / 486.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4288, allocations: 4 kB / 486.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.4318, allocations: 1.916 MB / 488.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4318, allocations: 0 / 488.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.4324, allocations: 127.9 kB / 488.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009887/0.4334, allocations: 297 kB / 488.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/0.4334, allocations: 16 kB / 488.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004887/0.4383, allocations: 3.24 MB / 492.1 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.4383, allocations: 0 / 492.1 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.4401, allocations: 0.9366 MB / 493 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.4405, allocations: 224 kB / 493.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.4407, allocations: 16 kB / 493.2 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.4412, allocations: 27.92 kB / 493.3 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4414, allocations: 52.58 kB / 493.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.4414, allocations: 20 kB / 493.3 MB, free: 6.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005216/0.4419, allocations: 386.8 kB / 493.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4419, allocations: 0 / 493.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00112/0.4431, allocations: 335.7 kB / 494 MB, free: 5.844 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 (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.002188/0.4453, allocations: 1.562 MB / 495.6 MB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.4469, allocations: 0.8607 MB / 496.4 MB, free: 3.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4469, allocations: 0 / 496.4 MB, free: 3.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000961/0.4479, allocations: 0.5907 MB / 497 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006863/0.4486, allocations: 110.3 kB / 497.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00988/0.4585, allocations: 5.996 MB / 0.4914 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008351/0.4594, allocations: 0.935 MB / 0.4923 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003732/0.4598, allocations: 81.33 kB / 0.4923 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/0.4602, allocations: 263.3 kB / 0.4926 GB, free: 11.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4602, allocations: 0 / 0.4926 GB, free: 11.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04969/0.5099, allocations: 19.78 MB / 0.5119 GB, free: 7.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.57, allocations: 8 kB / 0.5119 GB, free: 7.387 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches