Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.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.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",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.008364/0.008364, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.002088/0.002088, allocations: 187 kB / 16.67 MB, free: 5.922 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.39/1.39, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0664/0.0664, allocations: 14.17 MB / 284.1 MB, free: 6.961 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.003217/0.003217, allocations: 71.89 kB / 398.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2413, allocations: 50.14 MB / 448.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001546/0.2429, allocations: 0.686 MB / 448.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000149/0.243, allocations: 26.5 kB / 449 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.2431, allocations: 1.094 kB / 449 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.2431, allocations: 3.938 kB / 449 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.565e-05/0.2432, allocations: 3.938 kB / 449 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.2433, allocations: 6.188 kB / 449 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.392e-05/0.2434, allocations: 28.88 kB / 449 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.635e-05/0.2435, allocations: 10.17 kB / 449 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.109e-05/0.2435, allocations: 11.42 kB / 449 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.818e-05/0.2435, allocations: 6.312 kB / 449 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.2436, allocations: 1.219 kB / 449 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-06/0.2436, allocations: 2.219 kB / 449 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.2436, allocations: 1.219 kB / 449 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.2436, allocations: 10.12 kB / 449.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.393e-05/0.2437, allocations: 16.41 kB / 449.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2437, allocations: 0 / 449.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2437, allocations: 0 / 449.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2437, allocations: 0 / 449.1 MB, free: 2.008 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002198/0.2439, allocations: 344.1 kB / 449.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.244, allocations: 9.531 kB / 449.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.244, allocations: 34.75 kB / 449.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.244, allocations: 3.656 kB / 449.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.344e-05/0.2441, allocations: 160.4 kB / 449.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2441, allocations: 1.531 kB / 449.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.2441, allocations: 2.812 kB / 449.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.087e-05/0.2442, allocations: 48.83 kB / 449.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.2442, allocations: 5 kB / 449.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.2442, allocations: 0 / 449.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2442, allocations: 5.156 kB / 449.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.096e-05/0.2443, allocations: 9.531 kB / 449.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.2446, allocations: 254.2 kB / 449.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.497e-05/0.2446, allocations: 29.36 kB / 450 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.2447, allocations: 20.17 kB / 450 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.2447, allocations: 4 kB / 450 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.2447, allocations: 39.7 kB / 450 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2447, allocations: 0 / 450 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001657/0.2449, allocations: 82.11 kB / 450.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.2449, allocations: 78.48 kB / 450.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.628e-05/0.2449, allocations: 89.86 kB / 450.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.245, allocations: 27.05 kB / 450.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.392e-05/0.245, allocations: 84.09 kB / 450.4 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.245, allocations: 13.45 kB / 450.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.245, allocations: 12.94 kB / 450.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.302e-05/0.2451, allocations: 320.5 kB / 450.7 MB, free: 216 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.2451, allocations: 15.28 kB / 450.7 MB, free: 204 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.2451, allocations: 5 kB / 450.7 MB, free: 204 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.643e-05/0.2452, allocations: 81.81 kB / 450.8 MB, free: 116 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2452, allocations: 2.188 kB / 450.8 MB, free: 116 kB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.918e-05/0.2452, allocations: 76.53 kB / 450.9 MB, free: 40 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2453, allocations: 39.66 kB / 450.9 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2453, allocations: 2 kB / 450.9 MB, free: 0 / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2453, allocations: 0 / 450.9 MB, free: 0 / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.154e-05/0.2453, allocations: 1.875 kB / 450.9 MB, free: 0 / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.2453, allocations: 0 / 450.9 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.2454, allocations: 1.719 kB / 450.9 MB, free: 0 / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.2454, allocations: 1.625 kB / 450.9 MB, free: 0 / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 9.611e-05/0.2455, allocations: 150.8 kB / 451.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.2455, allocations: 5.812 kB / 451.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.292e-05/0.2456, allocations: 3.125 kB / 451.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2456, allocations: 1.125 kB / 451.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2456, allocations: 0 / 451.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2456, allocations: 0 / 451.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.2458, allocations: 161 kB / 451.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2458, allocations: 0 / 451.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-06/0.2458, allocations: 1.5 kB / 451.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.2458, allocations: 5.453 kB / 451.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2458, allocations: 4.859 kB / 451.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2458, allocations: 3.984 kB / 451.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2458, allocations: 4 kB / 451.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.246, allocations: 180.2 kB / 451.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.246, allocations: 77.11 kB / 451.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.2461, allocations: 1.281 kB / 451.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.2461, allocations: 2.844 kB / 451.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.2462, allocations: 13.25 kB / 451.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.2462, allocations: 1.406 kB / 451.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.232e-05/0.2462, allocations: 79.31 kB / 451.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2462, allocations: 0 / 451.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.2464, allocations: 9.719 kB / 451.6 MB, free: 15.25 MB / 334.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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0004667/0.2469, allocations: 0.7056 MB / 452.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.2471, allocations: 79.08 kB / 452.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2471, allocations: 3.938 kB / 452.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.96e-05/0.2471, allocations: 69.7 kB / 452.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.2473, allocations: 6.469 kB / 452.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.2477, allocations: 126.9 kB / 452.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.248, allocations: 0.6713 MB / 453.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.496e-06/0.248, allocations: 0 / 453.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.248, allocations: 8.562 kB / 453.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.248, allocations: 4.125 kB / 453.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.267, allocations: 1.328 MB / 454.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.065, allocations: 13.03 kB / 454.6 MB, free: 12.69 MB / 334.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches