Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad",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.008195/0.008195, allocations: 99.09 kB / 15.73 MB, free: 6.059 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.001897/0.001897, allocations: 199.7 kB / 16.67 MB, free: 5.969 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.505/1.505, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06797/0.06797, allocations: 14.17 MB / 284.1 MB, free: 6.977 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.00214/0.00214, allocations: 71.89 kB / 396 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.327, allocations: 50.14 MB / 446.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.005117/0.3322, allocations: 4.182 MB / 450.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004208/0.3364, allocations: 2.452 MB / 452.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.3368, allocations: 9.438 kB / 452.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000784/0.3376, allocations: 239.3 kB / 453 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002686/0.3403, allocations: 1.118 MB / 454.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.3409, allocations: 245.8 kB / 454.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.3422, allocations: 0.9283 MB / 455.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.3424, allocations: 66.55 kB / 455.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.3429, allocations: 324.8 kB / 455.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004445/0.3433, allocations: 316.4 kB / 456 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.3434, allocations: 35.7 kB / 456 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.3441, allocations: 268.5 kB / 456.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.03e-05/0.3441, allocations: 81.62 kB / 456.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.3444, allocations: 269.5 kB / 456.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.3456, allocations: 0.7954 MB / 457.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3457, allocations: 4 kB / 457.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3457, allocations: 1.312 kB / 457.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.3457, allocations: 0 / 457.4 MB, free: 9.559 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.002954/0.3487, allocations: 0.9755 MB / 458.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.3487, allocations: 9.562 kB / 458.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.191e-05/0.3488, allocations: 68.38 kB / 458.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.3492, allocations: 82.27 kB / 458.6 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009012/0.3501, allocations: 431.7 kB / 459 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.3501, allocations: 30.91 kB / 459 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.3502, allocations: 32.78 kB / 459.1 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006059/0.3508, allocations: 351.3 kB / 459.4 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3508, allocations: 4 kB / 459.4 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.3509, allocations: 14.72 kB / 459.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3509, allocations: 8.344 kB / 459.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.3514, allocations: 309.4 kB / 459.7 MB, free: 7.887 MB / 334.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.003283/0.3547, allocations: 2.315 MB / 462 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.3559, allocations: 0.549 MB / 462.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.3561, allocations: 121.6 kB / 462.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.3562, allocations: 5.594 kB / 462.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3562, allocations: 31.69 kB / 462.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/0.3562, allocations: 5.031 kB / 462.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.002355/0.3586, allocations: 0.7487 MB / 463.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.3586, allocations: 55.97 kB / 463.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.3591, allocations: 331.4 kB / 463.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.3591, allocations: 36.02 kB / 463.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3593, allocations: 194.4 kB / 464.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3594, allocations: 138.4 kB / 464.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.3595, allocations: 68.92 kB / 464.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3597, allocations: 342.3 kB / 464.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.3599, allocations: 92.53 kB / 464.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.3601, allocations: 125.1 kB / 464.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.3605, allocations: 231.1 kB / 465.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.3605, allocations: 3.938 kB / 465.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001138/0.3616, allocations: 451 kB / 465.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.3616, allocations: 9.906 kB / 465.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3617, allocations: 0 / 465.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008307/0.3625, allocations: 169.8 kB / 465.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.3628, allocations: 63.91 kB / 465.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/0.3665, allocations: 2.253 MB / 468 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/0.367, allocations: 19.89 kB / 468 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.3671, allocations: 12 kB / 468 MB, free: 0.5664 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 28 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002862/0.3674, allocations: 165.7 kB / 468.2 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.393e-05/0.3675, allocations: 39.95 kB / 468.2 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.3687, allocations: 466.9 kB / 468.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.3687, allocations: 8.047 kB / 468.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.3687, allocations: 3.938 kB / 468.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3687, allocations: 0 / 468.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.3707, allocations: 1.122 MB / 469.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3707, allocations: 0 / 469.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.371, allocations: 63.89 kB / 469.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006927/0.3717, allocations: 156.6 kB / 470.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.3717, allocations: 8 kB / 470.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.3748, allocations: 2.199 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3748, allocations: 0 / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.3761, allocations: 0.5283 MB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.3763, allocations: 156.8 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.3764, allocations: 11.94 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.3767, allocations: 12.09 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.3767, allocations: 27.91 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3768, allocations: 16 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002865/0.3771, allocations: 235.1 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3771, allocations: 0 / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006362/0.3777, allocations: 163.9 kB / 473.4 MB, free: 10.93 MB / 350.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 (26): * Single equations (assignments): 25 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/0.3792, allocations: 1.114 MB / 474.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3804, allocations: 482.8 kB / 475 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3804, allocations: 0 / 475 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007267/0.3811, allocations: 366 kB / 475.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.3817, allocations: 77.8 kB / 475.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006148/0.3878, allocations: 3.468 MB / 478.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.3885, allocations: 0.804 MB / 479.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.3887, allocations: 38.95 kB / 479.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.3889, allocations: 123.4 kB / 479.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3889, allocations: 7.938 kB / 479.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0448/0.4337, allocations: 10.91 MB / 490.8 MB, free: 9.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.51, allocations: 3.75 kB / 490.8 MB, free: 9.355 MB / 366.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches