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.00776/0.00776, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001799/0.001799, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.557/1.557, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06478/0.06478, allocations: 14.17 MB / 284.1 MB, free: 6.98 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.001777/0.001777, allocations: 63.91 kB / 396 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3039, allocations: 50.15 MB / 446.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.004647/0.3086, allocations: 4.16 MB / 450.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.3121, allocations: 2.458 MB / 452.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.3124, allocations: 10.66 kB / 452.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.313, allocations: 242.8 kB / 453 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.3154, allocations: 1.107 MB / 454.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.316, allocations: 248.9 kB / 454.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.3174, allocations: 0.9353 MB / 455.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.3176, allocations: 62.33 kB / 455.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005276/0.3181, allocations: 333.6 kB / 455.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.3186, allocations: 311.9 kB / 456 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.3187, allocations: 29.88 kB / 456 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007435/0.3194, allocations: 276.5 kB / 456.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.3195, allocations: 80.73 kB / 456.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.3198, allocations: 264.7 kB / 456.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.321, allocations: 0.7753 MB / 457.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.321, allocations: 1.031 kB / 457.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.321, allocations: 0 / 457.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.321, allocations: 0 / 457.4 MB, free: 9.473 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.002647/0.3237, allocations: 0.9679 MB / 458.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3237, allocations: 10.5 kB / 458.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.601e-05/0.3238, allocations: 72.78 kB / 458.4 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.3241, allocations: 73.58 kB / 458.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.3249, allocations: 434.7 kB / 458.9 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.3249, allocations: 30.66 kB / 459 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.325, allocations: 32.84 kB / 459 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.3255, allocations: 364.5 kB / 459.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3256, allocations: 0 / 459.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.3256, allocations: 11.78 kB / 459.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3256, allocations: 8.719 kB / 459.4 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.3261, allocations: 294.6 kB / 459.7 MB, free: 7.797 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.002807/0.3289, allocations: 2.493 MB / 462.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.3298, allocations: 444.5 kB / 462.6 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.33, allocations: 120.6 kB / 462.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.33, allocations: 7.797 kB / 462.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.33, allocations: 32.81 kB / 462.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.33, allocations: 0 / 462.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002163/0.3322, allocations: 0.7353 MB / 463.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.3323, allocations: 58.19 kB / 463.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.3327, allocations: 349.4 kB / 463.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3327, allocations: 30.95 kB / 463.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3329, allocations: 202.9 kB / 464.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.983e-05/0.333, allocations: 122.7 kB / 464.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3331, allocations: 63.67 kB / 464.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3332, allocations: 350.5 kB / 464.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3334, allocations: 88.12 kB / 464.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.3336, allocations: 138.2 kB / 464.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.334, allocations: 248.4 kB / 465.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.334, allocations: 0 / 465.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001034/0.335, allocations: 447 kB / 465.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3351, allocations: 6.156 kB / 465.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.3351, allocations: 9.109 kB / 465.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007131/0.3358, allocations: 144.7 kB / 465.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.3361, allocations: 70.08 kB / 465.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.3389, allocations: 2.235 MB / 468 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.3393, allocations: 23.83 kB / 468 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.3393, allocations: 12 kB / 468 MB, free: 0.4922 MB / 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.0001855/0.3395, allocations: 161.7 kB / 468.2 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.3396, allocations: 39.53 kB / 468.2 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000984/0.3406, allocations: 458 kB / 468.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3406, allocations: 7.938 kB / 468.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.3406, allocations: 0 / 468.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.3406, allocations: 8.094 kB / 468.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.3422, allocations: 1.037 MB / 469.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3422, allocations: 0 / 469.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.3424, allocations: 51.97 kB / 469.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000619/0.3431, allocations: 152.6 kB / 469.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.3431, allocations: 11.94 kB / 469.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.3455, allocations: 2.168 MB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3455, allocations: 0 / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/0.3464, allocations: 0.5243 MB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.3466, allocations: 148.6 kB / 472.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.3467, allocations: 7.938 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.347, allocations: 8 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.347, allocations: 24.08 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.347, allocations: 19.92 kB / 472.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002439/0.3473, allocations: 247.2 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3473, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005935/0.3479, allocations: 163.8 kB / 473.2 MB, free: 11.02 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.001283/0.3492, allocations: 1.095 MB / 474.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007558/0.35, allocations: 434.9 kB / 474.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.35, allocations: 0 / 474.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.3504, allocations: 322.5 kB / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.3509, allocations: 65.41 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.3559, allocations: 3.47 MB / 478.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.3564, allocations: 0.8078 MB / 479.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.3566, allocations: 46.88 kB / 479.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.3567, allocations: 115.4 kB / 479.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3568, allocations: 0 / 479.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.391, allocations: 11.1 MB / 490.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.02, allocations: 0.5625 kB / 490.7 MB, free: 9.375 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