Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.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.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad",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.007832/0.007832, allocations: 99.98 kB / 15.73 MB, free: 6.043 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.00181/0.00181, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.562/1.562, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06721/0.06721, allocations: 14.17 MB / 284.1 MB, free: 6.992 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.002016/0.002016, allocations: 68.45 kB / 396 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2746, allocations: 50.15 MB / 446.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad): time 0.007561/0.2822, allocations: 6.921 MB / 453.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006328/0.2886, allocations: 3.408 MB / 456.5 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.2897, allocations: 16.75 kB / 456.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.2909, allocations: 385.6 kB / 456.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.2947, allocations: 1.503 MB / 458.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.2954, allocations: 315 kB / 458.7 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.2982, allocations: 1.86 MB / 460.5 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.2986, allocations: 133.7 kB / 460.7 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.2998, allocations: 0.6289 MB / 461.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009449/0.3008, allocations: 0.6288 MB / 461.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3009, allocations: 64.5 kB / 462 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009361/0.3018, allocations: 346.4 kB / 462.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.302, allocations: 166.7 kB / 462.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.3027, allocations: 0.5419 MB / 463 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.3052, allocations: 1.425 MB / 464.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3052, allocations: 0 / 464.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3052, allocations: 0 / 464.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.3052, allocations: 1 kB / 464.5 MB, free: 4.219 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.005271/0.3105, allocations: 1.638 MB / 466.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3106, allocations: 8.844 kB / 466.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.3107, allocations: 116 kB / 466.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006978/0.3114, allocations: 151.3 kB / 466.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.3129, allocations: 0.7038 MB / 467.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/0.313, allocations: 50 kB / 467.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/0.3131, allocations: 67.94 kB / 467.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3143, allocations: 0.6707 MB / 467.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.3143, allocations: 3.984 kB / 467.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-05/0.3144, allocations: 24 kB / 467.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.3144, allocations: 20 kB / 467.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.3156, allocations: 0.631 MB / 468.5 MB, free: 0.582 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.006788/0.3224, allocations: 4.477 MB / 473 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.3243, allocations: 1.144 MB / 474.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/0.3248, allocations: 277.7 kB / 474.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.3249, allocations: 8 kB / 474.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.3249, allocations: 46.48 kB / 474.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 3.026e-06/0.3249, allocations: 0 / 474.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.004324/0.3292, allocations: 1.439 MB / 475.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.3293, allocations: 85.11 kB / 476 MB, free: 8.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007883/0.3301, allocations: 0.5421 MB / 476.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/0.3302, allocations: 37.7 kB / 476.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.3305, allocations: 329 kB / 476.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.3308, allocations: 281.5 kB / 477.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.331, allocations: 118.6 kB / 477.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.3312, allocations: 374.8 kB / 477.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.3316, allocations: 197.9 kB / 477.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.3321, allocations: 261.3 kB / 478.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.3331, allocations: 0.4954 MB / 478.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3331, allocations: 0 / 478.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002125/0.3353, allocations: 0.8683 MB / 479.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3353, allocations: 8 kB / 479.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3353, allocations: 0 / 479.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.3366, allocations: 289.3 kB / 479.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.3372, allocations: 131.8 kB / 479.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005952/0.3431, allocations: 4.234 MB / 484.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.3442, allocations: 51.77 kB / 484.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.3442, allocations: 20 kB / 484.2 MB, free: 15.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,7), (3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004399/0.3447, allocations: 213.8 kB / 484.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.3449, allocations: 83.48 kB / 484.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.3471, allocations: 0.891 MB / 485.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3471, allocations: 8 kB / 485.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3471, allocations: 7.938 kB / 485.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3471, allocations: 4.359 kB / 485.4 MB, free: 14.59 MB / 366.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 postOpt removeSimpleEquations (simulation): time 0.003712/0.3509, allocations: 2.238 MB / 487.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3509, allocations: 0 / 487.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.3514, allocations: 115.8 kB / 487.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/0.3526, allocations: 277.3 kB / 488 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.3527, allocations: 15.98 kB / 488 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005282/0.358, allocations: 4.142 MB / 492.2 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.358, allocations: 0 / 492.2 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.3602, allocations: 1.026 MB / 493.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.3607, allocations: 232.4 kB / 493.4 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-05/0.3608, allocations: 16 kB / 493.4 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/0.3614, allocations: 35.88 kB / 493.5 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.3616, allocations: 55.86 kB / 493.5 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.3616, allocations: 16 kB / 493.5 MB, free: 5.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005504/0.3622, allocations: 398.8 kB / 493.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3622, allocations: 3.938 kB / 493.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009372/0.3631, allocations: 311.8 kB / 494.2 MB, free: 5.277 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,7), (3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002535/0.3657, allocations: 1.65 MB / 495.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.3676, allocations: 0.8892 MB / 496.8 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3676, allocations: 0 / 496.8 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.3688, allocations: 0.6654 MB / 497.4 MB, free: 1.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000842/0.3697, allocations: 127.9 kB / 497.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.3804, allocations: 5.93 MB / 0.4917 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.3811, allocations: 0.9435 MB / 0.4926 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003835/0.3815, allocations: 85.05 kB / 0.4927 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.382, allocations: 267.3 kB / 0.493 GB, free: 10.49 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.382, allocations: 0 / 0.493 GB, free: 10.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05771/0.4397, allocations: 20.07 MB / 0.5126 GB, free: 6.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.35, allocations: 0 / 0.5126 GB, free: 6.391 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceOneVariableLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches