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: translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 109.7 kB / 15.99 MB, free: 6.352 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.001155/0.001155, allocations: 189 kB / 16.91 MB, free: 6.188 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.348/1.348, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06221/0.06221, allocations: 14.15 MB / 284.3 MB, free: 7.266 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.001372/0.001372, allocations: 71.91 kB / 347.3 MB, free: 17.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07821/0.07959, allocations: 50.13 MB / 397.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001936/0.08157, allocations: 0.7661 MB / 398.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001489/0.08174, allocations: 27.89 kB / 398.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.08178, allocations: 3.938 kB / 398.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.08181, allocations: 4 kB / 398.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.116e-05/0.08187, allocations: 0 / 398.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.082, allocations: 7.984 kB / 398.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.0821, allocations: 12 kB / 398.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.08219, allocations: 11.98 kB / 398.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.546e-05/0.08222, allocations: 4 kB / 398.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.08227, allocations: 11.94 kB / 398.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.08229, allocations: 7.938 kB / 398.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-06/0.08231, allocations: 0 / 398.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.08232, allocations: 0 / 398.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.08236, allocations: 11.97 kB / 398.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.165e-05/0.08241, allocations: 11.98 kB / 398.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.08242, allocations: 0 / 398.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.08243, allocations: 0 / 398.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.08244, allocations: 0 / 398.3 MB, free: 14.63 MB / 302.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.0003228/0.08277, allocations: 345.6 kB / 398.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.08281, allocations: 12.03 kB / 398.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.08285, allocations: 4.938 kB / 398.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.08295, allocations: 164.3 kB / 398.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.08297, allocations: 4.375 kB / 398.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.08299, allocations: 384 / 398.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.08311, allocations: 46.23 kB / 398.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.08312, allocations: 192 / 398.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.08314, allocations: 7.938 kB / 398.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.08315, allocations: 4 kB / 398.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.26e-05/0.08319, allocations: 7.938 kB / 398.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.08359, allocations: 249 kB / 399.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.811e-05/0.08366, allocations: 30.52 kB / 399.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.0837, allocations: 20.86 kB / 399.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-06/0.08371, allocations: 0 / 399.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.08375, allocations: 38.55 kB / 399.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.08376, allocations: 3.938 kB / 399.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001949/0.08396, allocations: 87.3 kB / 399.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.08401, allocations: 81.11 kB / 399.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.96e-05/0.08405, allocations: 89.86 kB / 399.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.08407, allocations: 25.7 kB / 399.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.08411, allocations: 84.14 kB / 399.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.08413, allocations: 3.906 kB / 399.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.08417, allocations: 13.84 kB / 399.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.08427, allocations: 322.8 kB / 399.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.0843, allocations: 4 kB / 399.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.673e-05/0.08432, allocations: 11.94 kB / 399.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.855e-05/0.08439, allocations: 84.19 kB / 400 MB, free: 12.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.0844, allocations: 0 / 400 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.455e-05/0.0845, allocations: 79.34 kB / 400.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.08454, allocations: 36.19 kB / 400.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.08455, allocations: 4.094 kB / 400.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.08457, allocations: 0 / 400.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.856e-05/0.08461, allocations: 4 kB / 400.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.08462, allocations: 0 / 400.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.08467, allocations: 0 / 400.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.08469, allocations: 4 kB / 400.1 MB, free: 12.53 MB / 302.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 8.145e-05/0.08478, allocations: 143.5 kB / 400.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.08481, allocations: 7.938 kB / 400.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.08483, allocations: 3.125 kB / 400.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.08484, allocations: 4 kB / 400.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.08484, allocations: 0 / 400.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.08485, allocations: 0 / 400.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.08499, allocations: 153.6 kB / 400.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.085, allocations: 0 / 400.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.08502, allocations: 7.938 kB / 400.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.08503, allocations: 3.984 kB / 400.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.08504, allocations: 0 / 400.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.08505, allocations: 4 kB / 400.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.08505, allocations: 3.938 kB / 400.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.0852, allocations: 185.2 kB / 400.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.08524, allocations: 81.09 kB / 400.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.08526, allocations: 0 / 400.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.08534, allocations: 4 kB / 400.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.08538, allocations: 7.984 kB / 400.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.08539, allocations: 0 / 400.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.634e-05/0.08542, allocations: 79.28 kB / 400.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08543, allocations: 4.031 kB / 400.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000217/0.08565, allocations: 4 kB / 400.8 MB, free: 11.74 MB / 302.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 9.838e-05/0.08575, allocations: 99.19 kB / 400.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.08589, allocations: 83.33 kB / 401 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.0859, allocations: 0 / 401 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.08596, allocations: 71.39 kB / 401.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.08617, allocations: 3.938 kB / 401.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.08641, allocations: 134.8 kB / 401.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.08663, allocations: 0.669 MB / 401.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.08666, allocations: 15.38 kB / 401.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08666, allocations: 0 / 401.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of Templates: time 0.001857/0.08852, allocations: 0.5318 MB / 402.4 MB, free: 10.05 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (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 & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches