Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.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.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad",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.006543/0.006543, allocations: 103.2 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.001779/0.001779, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06805/0.06805, allocations: 14.17 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.001443/0.001443, allocations: 67.91 kB / 396 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3605, allocations: 50.13 MB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.005257/0.3658, allocations: 4.172 MB / 450.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003847/0.3697, allocations: 2.452 MB / 452.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000264/0.37, allocations: 13.34 kB / 452.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006917/0.3707, allocations: 235.4 kB / 453 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.3733, allocations: 1.141 MB / 454.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.3738, allocations: 248.6 kB / 454.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.3749, allocations: 0.9351 MB / 455.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.3751, allocations: 62.44 kB / 455.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.3755, allocations: 325.4 kB / 455.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.3759, allocations: 316.1 kB / 456 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.3759, allocations: 33.81 kB / 456 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.3766, allocations: 276.6 kB / 456.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.3766, allocations: 77.28 kB / 456.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.3769, allocations: 264.6 kB / 456.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.3779, allocations: 0.7787 MB / 457.4 MB, free: 9.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.378, allocations: 1.156 kB / 457.4 MB, free: 9.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.378, allocations: 0 / 457.4 MB, free: 9.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.378, allocations: 0 / 457.4 MB, free: 9.348 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.002665/0.3807, allocations: 0.9639 MB / 458.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.3807, allocations: 14.53 kB / 458.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.989e-05/0.3808, allocations: 68.5 kB / 458.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.3812, allocations: 78.69 kB / 458.5 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007999/0.382, allocations: 430.5 kB / 459 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.382, allocations: 33.88 kB / 459 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.3821, allocations: 36.81 kB / 459 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.3828, allocations: 360.9 kB / 459.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.3829, allocations: 4 kB / 459.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.3829, allocations: 11.72 kB / 459.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3829, allocations: 8.875 kB / 459.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006584/0.3836, allocations: 298.8 kB / 459.7 MB, free: 7.664 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.002987/0.3866, allocations: 2.488 MB / 462.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009255/0.3875, allocations: 449.5 kB / 462.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.3878, allocations: 112.4 kB / 462.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.3878, allocations: 7.953 kB / 462.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.3879, allocations: 36.78 kB / 462.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 3.717e-06/0.3879, allocations: 4 kB / 462.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002276/0.3901, allocations: 0.7272 MB / 463.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.3902, allocations: 58.98 kB / 463.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/0.3907, allocations: 349.6 kB / 463.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3907, allocations: 31.2 kB / 463.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.3909, allocations: 201.9 kB / 464.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.391, allocations: 122 kB / 464.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.3911, allocations: 72.69 kB / 464.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3913, allocations: 345.8 kB / 464.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.3914, allocations: 88.66 kB / 464.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.3917, allocations: 134.9 kB / 464.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.3921, allocations: 247.7 kB / 465.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3921, allocations: 0 / 465.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009894/0.3931, allocations: 450.6 kB / 465.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3931, allocations: 12.72 kB / 465.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.3931, allocations: 6.094 kB / 465.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000686/0.3938, allocations: 144.6 kB / 465.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.3941, allocations: 70.69 kB / 465.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.397, allocations: 2.235 MB / 468 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.3973, allocations: 19.84 kB / 468 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.3974, allocations: 12 kB / 468.1 MB, free: 364 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 29 * 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 {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.3976, allocations: 161.7 kB / 468.2 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.3976, allocations: 35.53 kB / 468.2 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009607/0.3986, allocations: 466 kB / 468.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3986, allocations: 4 kB / 468.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.3986, allocations: 4 kB / 468.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3987, allocations: 112 / 468.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.4002, allocations: 1.037 MB / 469.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4002, allocations: 0 / 469.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.4005, allocations: 59.89 kB / 469.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005949/0.4011, allocations: 145 kB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.4011, allocations: 11.94 kB / 470 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.4037, allocations: 2.164 MB / 472.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4037, allocations: 8.062 kB / 472.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00098/0.4047, allocations: 0.5203 MB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.4049, allocations: 148.6 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.405, allocations: 7.938 kB / 472.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.4052, allocations: 11.98 kB / 472.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.4053, allocations: 24.08 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.4053, allocations: 11.94 kB / 472.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.4056, allocations: 255.2 kB / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4056, allocations: 0 / 473.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006208/0.4062, allocations: 163.8 kB / 473.3 MB, free: 10.88 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 (24): * Single equations (assignments): 23 * 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 {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001352/0.4076, allocations: 1.099 MB / 474.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007965/0.4084, allocations: 422.9 kB / 474.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.4084, allocations: 4 kB / 474.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.4089, allocations: 322.5 kB / 475.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.4094, allocations: 65.41 kB / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/0.4144, allocations: 3.478 MB / 478.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.4148, allocations: 0.8039 MB / 479.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.415, allocations: 47.02 kB / 479.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.4152, allocations: 119.4 kB / 479.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4152, allocations: 0 / 479.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.4511, allocations: 10.81 MB / 490.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.8, allocations: 4.562 kB / 490.4 MB, free: 9.512 MB / 366.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches