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.00798/0.00798, allocations: 103.7 kB / 15.74 MB, free: 6.445 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.002144/0.002144, allocations: 196.5 kB / 16.67 MB, free: 6.352 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.45/1.45, 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.06733/0.06733, allocations: 14.16 MB / 284.1 MB, free: 6.957 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.002143/0.002144, allocations: 63.91 kB / 398.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2387, allocations: 50.14 MB / 448.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE): time 0.003385/0.2421, allocations: 2.11 MB / 450.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006805/0.2428, allocations: 452.1 kB / 450.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/0.2429, allocations: 7.375 kB / 450.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.2432, allocations: 106.1 kB / 450.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.2434, allocations: 57.53 kB / 451 MB, free: 496 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.2438, allocations: 261.9 kB / 451.2 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.2441, allocations: 251.1 kB / 451.5 MB, free: 140 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.2443, allocations: 135.1 kB / 451.6 MB, free: 64 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.2444, allocations: 87.34 kB / 451.7 MB, free: 0 / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.2445, allocations: 113.5 kB / 451.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.2446, allocations: 27.75 kB / 451.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.2447, allocations: 74.22 kB / 451.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.2448, allocations: 64.08 kB / 452 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.2449, allocations: 127.8 kB / 452.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.2454, allocations: 385.5 kB / 452.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2454, allocations: 0 / 452.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2454, allocations: 1.375 kB / 452.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2454, allocations: 0 / 452.5 MB, free: 15.45 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.00181/0.2473, allocations: 0.7456 MB / 453.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2473, allocations: 9.219 kB / 453.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.126e-05/0.2474, allocations: 68.22 kB / 453.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.2475, allocations: 31.91 kB / 453.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.2476, allocations: 218.3 kB / 453.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.2477, allocations: 20.09 kB / 453.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.2477, allocations: 27.34 kB / 453.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.2483, allocations: 322.8 kB / 453.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2483, allocations: 5.469 kB / 453.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.2483, allocations: 9.406 kB / 453.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2483, allocations: 11.53 kB / 453.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/0.2489, allocations: 338.6 kB / 454.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.2506, allocations: 1.067 MB / 455.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.2509, allocations: 171 kB / 455.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.2511, allocations: 107.3 kB / 455.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.2511, allocations: 1.094 kB / 455.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2512, allocations: 36.08 kB / 455.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.2512, allocations: 0 / 455.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006505/0.2518, allocations: 353.8 kB / 456 MB, free: 12.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.2519, allocations: 57.66 kB / 456 MB, free: 12.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.2522, allocations: 285.6 kB / 456.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2522, allocations: 30.98 kB / 456.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.2524, allocations: 178.5 kB / 456.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.2524, allocations: 46.16 kB / 456.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.2525, allocations: 35.33 kB / 456.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2527, allocations: 332.2 kB / 456.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.2528, allocations: 101.9 kB / 457 MB, free: 11.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.253, allocations: 115.6 kB / 457.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.2534, allocations: 204.2 kB / 457.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2534, allocations: 0 / 457.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004385/0.2538, allocations: 274 kB / 457.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2539, allocations: 4.188 kB / 457.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2539, allocations: 5.219 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2539, allocations: 5.25 kB / 457.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.2541, allocations: 37.48 kB / 457.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2541, allocations: 1.062 kB / 457.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.2542, allocations: 20.28 kB / 457.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.2542, allocations: 12.86 kB / 457.7 MB, free: 11.5 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.000157/0.2544, allocations: 142.9 kB / 457.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.2545, allocations: 23.23 kB / 457.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.2546, allocations: 36.11 kB / 457.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2546, allocations: 6.156 kB / 457.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2546, allocations: 0 / 457.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2546, allocations: 8.969 kB / 457.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.2556, allocations: 0.7669 MB / 458.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2556, allocations: 0 / 458.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.2558, allocations: 27.39 kB / 458.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.2558, allocations: 2.375 kB / 458.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.2558, allocations: 13.95 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2558, allocations: 1.062 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2558, allocations: 1.125 kB / 458.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.2563, allocations: 375.9 kB / 459.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/0.2564, allocations: 111.1 kB / 459.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.2564, allocations: 6.781 kB / 459.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.2566, allocations: 5.281 kB / 459.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.2566, allocations: 8.234 kB / 459.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2566, allocations: 11.81 kB / 459.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.2569, allocations: 205.4 kB / 459.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2569, allocations: 0 / 459.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.2572, allocations: 47.77 kB / 459.4 MB, free: 10.06 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.0008312/0.258, allocations: 0.9099 MB / 460.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004014/0.2584, allocations: 215.1 kB / 460.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2584, allocations: 0 / 460.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.2586, allocations: 112.7 kB / 460.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.2589, allocations: 26.09 kB / 460.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.2623, allocations: 2.748 MB / 463.5 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.2627, allocations: 0.7538 MB / 464.2 MB, free: 6.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006404/0.2633, allocations: 0.4915 MB / 464.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.2635, allocations: 79.41 kB / 464.8 MB, free: 5.812 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2635, allocations: 0 / 464.8 MB, free: 5.812 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.2881, allocations: 4.831 MB / 469.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.152, allocations: 14.97 kB / 469.6 MB, free: 0.9727 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