Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.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.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",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.006911/0.006911, allocations: 99.3 kB / 15.73 MB, free: 6.02 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.001546/0.001546, allocations: 201.5 kB / 16.68 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.352/1.352, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06575/0.06575, 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.002475/0.002475, allocations: 67.91 kB / 398.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2803, allocations: 50.14 MB / 448.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.003391/0.2838, allocations: 2.12 MB / 450.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2849, allocations: 451.8 kB / 450.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.2852, allocations: 6.875 kB / 450.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.2856, allocations: 99.14 kB / 450.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.2859, allocations: 61.16 kB / 451 MB, free: 488 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.2865, allocations: 254.3 kB / 451.2 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.287, allocations: 251.5 kB / 451.5 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.2872, allocations: 126.6 kB / 451.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.2874, allocations: 90.91 kB / 451.7 MB, free: 0 / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.2875, allocations: 106.8 kB / 451.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.2876, allocations: 27.5 kB / 451.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.2878, allocations: 86 kB / 451.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.157e-05/0.2879, allocations: 59.33 kB / 451.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.288, allocations: 128.9 kB / 452.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.2885, allocations: 386.5 kB / 452.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2886, allocations: 0 / 452.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2886, allocations: 0 / 452.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.2886, allocations: 1.375 kB / 452.5 MB, free: 15.43 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002004/0.2906, allocations: 0.7372 MB / 453.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2907, allocations: 9.969 kB / 453.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.473e-05/0.2907, allocations: 63.75 kB / 453.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/0.2908, allocations: 33 kB / 453.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.291, allocations: 213.7 kB / 453.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.2911, allocations: 24.09 kB / 453.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.2911, allocations: 26.28 kB / 453.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.2917, allocations: 320.1 kB / 453.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2917, allocations: 7.938 kB / 453.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.2918, allocations: 14.16 kB / 453.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2918, allocations: 7.594 kB / 453.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/0.2923, allocations: 335.1 kB / 454.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.2941, allocations: 1.059 MB / 455.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.2944, allocations: 171.7 kB / 455.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.2946, allocations: 106.7 kB / 455.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2947, allocations: 2.219 kB / 455.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2947, allocations: 39.8 kB / 455.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.2947, allocations: 4 kB / 455.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.000668/0.2954, allocations: 352.8 kB / 455.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.2954, allocations: 57.38 kB / 456 MB, free: 12.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.2957, allocations: 282.7 kB / 456.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2958, allocations: 25.7 kB / 456.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.2959, allocations: 174.5 kB / 456.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.296, allocations: 45.92 kB / 456.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.296, allocations: 36.52 kB / 456.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2962, allocations: 339.2 kB / 456.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.2964, allocations: 93.3 kB / 457 MB, free: 11.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.2965, allocations: 122.5 kB / 457.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.2969, allocations: 208.9 kB / 457.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2969, allocations: 0 / 457.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004383/0.2973, allocations: 269.8 kB / 457.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2973, allocations: 5.375 kB / 457.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2973, allocations: 0 / 457.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.2974, allocations: 9.281 kB / 457.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.2976, allocations: 37.8 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.2976, allocations: 1.406 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2977, allocations: 23.78 kB / 457.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.2978, allocations: 8.078 kB / 457.6 MB, free: 11.51 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.2979, allocations: 148 kB / 457.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.298, allocations: 22.91 kB / 457.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.267e-05/0.2981, allocations: 36.61 kB / 457.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2981, allocations: 5.312 kB / 457.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2981, allocations: 4 kB / 457.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2981, allocations: 1.375 kB / 457.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.2991, allocations: 0.762 MB / 458.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2991, allocations: 1.188 kB / 458.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.2993, allocations: 23.08 kB / 458.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2993, allocations: 2.312 kB / 458.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.2994, allocations: 9.109 kB / 458.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.2994, allocations: 6.359 kB / 458.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2994, allocations: 8 kB / 458.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.2999, allocations: 367.8 kB / 459 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.3, allocations: 107.8 kB / 459.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.3, allocations: 5.406 kB / 459.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3001, allocations: 1.438 kB / 459.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.3002, allocations: 21.14 kB / 459.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3002, allocations: 4.094 kB / 459.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.3004, allocations: 205.3 kB / 459.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3004, allocations: 0 / 459.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.3008, allocations: 47.12 kB / 459.4 MB, free: 10.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007965/0.3016, allocations: 0.9142 MB / 460.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.302, allocations: 218.6 kB / 460.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.302, allocations: 0 / 460.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.3023, allocations: 112.9 kB / 460.6 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.3026, allocations: 17.72 kB / 460.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.3061, allocations: 2.746 MB / 463.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3065, allocations: 0.7543 MB / 464.2 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006637/0.3072, allocations: 0.4916 MB / 464.7 MB, free: 5.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.3074, allocations: 79.41 kB / 464.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3074, allocations: 0 / 464.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.3297, allocations: 4.904 MB / 469.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/7.785, allocations: 7.938 kB / 469.6 MB, free: 0.9336 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches