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.007554/0.007555, allocations: 99.53 kB / 15.73 MB, free: 6.477 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.001713/0.001714, allocations: 189.9 kB / 16.67 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.54/1.54, 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.06602/0.06602, allocations: 14.17 MB / 284.1 MB, free: 7.012 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.00235/0.00235, allocations: 67.89 kB / 396 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3212, allocations: 50.15 MB / 446.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.00509/0.3263, allocations: 4.175 MB / 450.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003926/0.3303, allocations: 2.456 MB / 452.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000597/0.3309, allocations: 9.438 kB / 452.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009173/0.3318, allocations: 243.3 kB / 453 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.3346, allocations: 1.11 MB / 454.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.3351, allocations: 246.8 kB / 454.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.3365, allocations: 0.9342 MB / 455.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.3367, allocations: 70.8 kB / 455.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006654/0.3374, allocations: 329.8 kB / 455.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006619/0.338, allocations: 312.7 kB / 456 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3381, allocations: 31.91 kB / 456 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007412/0.3389, allocations: 276.7 kB / 456.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.545e-05/0.339, allocations: 81.59 kB / 456.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004297/0.3394, allocations: 268.8 kB / 456.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.3407, allocations: 0.7843 MB / 457.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3407, allocations: 1.188 kB / 457.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3408, allocations: 0 / 457.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.3408, allocations: 0 / 457.4 MB, free: 9.48 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.003141/0.3439, allocations: 0.9641 MB / 458.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.344, allocations: 10.41 kB / 458.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.1e-05/0.3441, allocations: 68.72 kB / 458.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000405/0.3445, allocations: 86.38 kB / 458.6 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000922/0.3454, allocations: 435.1 kB / 459 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.3455, allocations: 30.09 kB / 459 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.3455, allocations: 29.56 kB / 459 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.3462, allocations: 346 kB / 459.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3462, allocations: 5.25 kB / 459.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.3462, allocations: 14.66 kB / 459.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.3463, allocations: 8.406 kB / 459.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000566/0.3468, allocations: 312.9 kB / 459.7 MB, free: 7.816 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.00306/0.3499, allocations: 2.311 MB / 462 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.351, allocations: 0.5352 MB / 462.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.3512, allocations: 124.8 kB / 462.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.3513, allocations: 8.344 kB / 462.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3513, allocations: 37.22 kB / 462.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/0.3513, allocations: 0 / 462.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.002276/0.3536, allocations: 0.746 MB / 463.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3536, allocations: 54.59 kB / 463.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004531/0.3541, allocations: 336.2 kB / 463.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.3542, allocations: 32.3 kB / 463.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3543, allocations: 205 kB / 464.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.3545, allocations: 126.6 kB / 464.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.3546, allocations: 59.61 kB / 464.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3547, allocations: 348.2 kB / 464.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.3549, allocations: 84.28 kB / 464.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3551, allocations: 128.5 kB / 464.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.3555, allocations: 238.9 kB / 465 MB, free: 3.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3555, allocations: 3.938 kB / 465 MB, free: 3.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001065/0.3566, allocations: 439.4 kB / 465.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.3566, allocations: 5.594 kB / 465.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3566, allocations: 0 / 465.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007658/0.3574, allocations: 167.2 kB / 465.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.3577, allocations: 68.11 kB / 465.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.3608, allocations: 2.264 MB / 468 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.3612, allocations: 19.84 kB / 468 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.3613, allocations: 12 kB / 468 MB, free: 0.582 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.0001865/0.3615, allocations: 157.8 kB / 468.2 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.236e-05/0.3616, allocations: 39.53 kB / 468.2 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.3626, allocations: 467 kB / 468.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3626, allocations: 11.88 kB / 468.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3626, allocations: 4 kB / 468.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3626, allocations: 7.984 kB / 468.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.3649, allocations: 1.107 MB / 469.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.365, allocations: 0 / 469.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.3652, allocations: 63.91 kB / 469.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006429/0.3659, allocations: 164.6 kB / 470 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.3659, allocations: 12 kB / 470 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/0.3687, allocations: 2.199 MB / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3687, allocations: 0 / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009623/0.3696, allocations: 0.5243 MB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.3699, allocations: 144.6 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.3699, allocations: 12.14 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.3703, allocations: 19.94 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.3703, allocations: 27.94 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.3703, allocations: 12 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002681/0.3706, allocations: 231.1 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3706, allocations: 0 / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000606/0.3712, allocations: 159.8 kB / 473.3 MB, free: 10.96 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.001585/0.3728, allocations: 1.118 MB / 474.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3739, allocations: 478.8 kB / 474.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.374, allocations: 0 / 474.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007375/0.3747, allocations: 377.9 kB / 475.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.3753, allocations: 61.75 kB / 475.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/0.3807, allocations: 3.457 MB / 478.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.3813, allocations: 0.8079 MB / 479.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.3815, allocations: 38.94 kB / 479.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.3817, allocations: 123.4 kB / 479.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3817, allocations: 4 kB / 479.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05027/0.432, allocations: 11.2 MB / 491 MB, free: 9.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.99, allocations: 7.125 kB / 491 MB, free: 9.121 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