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.006767/0.006767, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.001462/0.001462, allocations: 196.5 kB / 16.67 MB, free: 6.355 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.518/1.518, 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.06704/0.06704, 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.002162/0.002162, allocations: 71.89 kB / 396 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.293, allocations: 50.15 MB / 446.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.004573/0.2976, allocations: 4.164 MB / 450.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004133/0.3018, allocations: 2.45 MB / 452.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.3021, allocations: 10.22 kB / 452.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006815/0.3028, allocations: 244 kB / 453 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.3053, allocations: 1.118 MB / 454.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.3058, allocations: 253.2 kB / 454.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.307, allocations: 0.924 MB / 455.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3072, allocations: 64.05 kB / 455.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.3077, allocations: 323.2 kB / 455.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.3081, allocations: 311.1 kB / 456 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.714e-05/0.3082, allocations: 30.16 kB / 456 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006981/0.3089, allocations: 276.4 kB / 456.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.14e-05/0.309, allocations: 78.22 kB / 456.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.3093, allocations: 275.7 kB / 456.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.3104, allocations: 0.7795 MB / 457.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3104, allocations: 0 / 457.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3104, allocations: 0 / 457.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.3104, allocations: 1.156 kB / 457.4 MB, free: 9.691 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.002559/0.313, allocations: 0.9748 MB / 458.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.313, allocations: 13.41 kB / 458.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.903e-05/0.3131, allocations: 69.12 kB / 458.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.3134, allocations: 82.48 kB / 458.5 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/0.3143, allocations: 431.2 kB / 459 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.3143, allocations: 29.69 kB / 459 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.3144, allocations: 33.19 kB / 459 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/0.3149, allocations: 360 kB / 459.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.315, allocations: 5.344 kB / 459.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.315, allocations: 10.53 kB / 459.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.315, allocations: 8.625 kB / 459.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.3156, allocations: 299.5 kB / 459.7 MB, free: 8 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.003119/0.3187, allocations: 2.489 MB / 462.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.3196, allocations: 452.3 kB / 462.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.3198, allocations: 113.9 kB / 462.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.3199, allocations: 4.562 kB / 462.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3199, allocations: 39.64 kB / 462.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.144e-06/0.3199, allocations: 0.9688 kB / 462.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002278/0.3222, allocations: 0.7293 MB / 463.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3223, allocations: 59.94 kB / 463.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.3227, allocations: 352.3 kB / 463.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.3227, allocations: 35.39 kB / 463.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.3229, allocations: 203.1 kB / 464.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.323, allocations: 130.6 kB / 464.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3231, allocations: 68.86 kB / 464.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3233, allocations: 346.8 kB / 464.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.3235, allocations: 83.19 kB / 464.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.3237, allocations: 143.1 kB / 464.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.324, allocations: 247.6 kB / 465.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.3241, allocations: 0 / 465.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001004/0.3251, allocations: 447.7 kB / 465.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3251, allocations: 5.312 kB / 465.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3251, allocations: 5 kB / 465.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007035/0.3258, allocations: 145.3 kB / 465.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.3261, allocations: 76.77 kB / 465.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.3292, allocations: 2.225 MB / 468 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.3297, allocations: 23.89 kB / 468 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.3297, allocations: 8 kB / 468.1 MB, free: 0.6172 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.0002097/0.3299, allocations: 165.7 kB / 468.2 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.33, allocations: 39.77 kB / 468.3 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.3311, allocations: 462.1 kB / 468.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3311, allocations: 7.984 kB / 468.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.3311, allocations: 4 kB / 468.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.3311, allocations: 0 / 468.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.3328, allocations: 1.038 MB / 469.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3329, allocations: 0 / 469.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.3331, allocations: 59.91 kB / 469.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006435/0.3338, allocations: 144.7 kB / 470 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3338, allocations: 11.94 kB / 470 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.3366, allocations: 2.172 MB / 472.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3366, allocations: 8 kB / 472.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3377, allocations: 0.5284 MB / 472.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.3379, allocations: 148.8 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.3379, allocations: 7.938 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.3382, allocations: 8 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.3383, allocations: 27.95 kB / 472.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.3383, allocations: 8 kB / 472.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000298/0.3386, allocations: 247.2 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3386, allocations: 4 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005917/0.3392, allocations: 167.8 kB / 473.3 MB, free: 11.12 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.001516/0.3407, allocations: 1.095 MB / 474.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000811/0.3416, allocations: 430.8 kB / 474.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3416, allocations: 0 / 474.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.342, allocations: 318.6 kB / 475.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.3426, allocations: 61.41 kB / 475.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.3479, allocations: 3.493 MB / 478.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.3484, allocations: 0.8 MB / 479.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.3486, allocations: 51 kB / 479.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.3487, allocations: 119.4 kB / 479.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3488, allocations: 0 / 479.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03987/0.3886, allocations: 10.82 MB / 490.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.53, allocations: 4.547 kB / 490.5 MB, free: 9.742 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