Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_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.001478/0.001478, allocations: 108.3 kB / 16.28 MB, free: 5.992 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.001378/0.001378, allocations: 192.5 kB / 17.2 MB, free: 5.617 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.385/1.385, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07228/0.07228, allocations: 14.18 MB / 284.6 MB, free: 13.95 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.001618/0.001618, allocations: 75.81 kB / 347.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2656, allocations: 50.12 MB / 398 MB, free: 48.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002599/0.2683, allocations: 0.6919 MB / 398.7 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000206/0.2685, allocations: 29.27 kB / 398.7 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.2686, allocations: 5.062 kB / 398.7 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.2686, allocations: 0 / 398.7 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.2687, allocations: 3.938 kB / 398.7 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.2689, allocations: 6.125 kB / 398.7 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.269, allocations: 24.86 kB / 398.7 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2691, allocations: 11.3 kB / 398.7 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.2692, allocations: 7.172 kB / 398.7 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.379e-05/0.2693, allocations: 6.125 kB / 398.8 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.2693, allocations: 1.094 kB / 398.8 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.2693, allocations: 2.125 kB / 398.8 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.2694, allocations: 9 kB / 398.8 MB, free: 48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.2694, allocations: 2.094 kB / 398.8 MB, free: 48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.389e-05/0.2695, allocations: 16.34 kB / 398.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2695, allocations: 3.938 kB / 398.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2695, allocations: 0 / 398.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.2695, allocations: 1.062 kB / 398.8 MB, free: 47.98 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.0003179/0.2699, allocations: 345.6 kB / 399.1 MB, free: 47.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2699, allocations: 9.438 kB / 399.1 MB, free: 47.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.27, allocations: 2.156 kB / 399.1 MB, free: 47.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.511e-05/0.27, allocations: 165.5 kB / 399.3 MB, free: 47.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.2701, allocations: 9.438 kB / 399.3 MB, free: 47.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.2701, allocations: 2.938 kB / 399.3 MB, free: 47.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.2702, allocations: 44.69 kB / 399.4 MB, free: 47.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2702, allocations: 5.672 kB / 399.4 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.2703, allocations: 7.922 kB / 399.4 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2703, allocations: 1.438 kB / 399.4 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.568e-05/0.2703, allocations: 8.625 kB / 399.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.2707, allocations: 247.5 kB / 399.6 MB, free: 47.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.374e-05/0.2708, allocations: 33.02 kB / 399.7 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.2708, allocations: 15.61 kB / 399.7 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.2709, allocations: 1.25 kB / 399.7 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2709, allocations: 34.55 kB / 399.7 MB, free: 46.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2709, allocations: 1.344 kB / 399.7 MB, free: 46.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000202/0.2711, allocations: 92.77 kB / 399.8 MB, free: 46.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.2711, allocations: 78.55 kB / 399.9 MB, free: 46.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.696e-05/0.2712, allocations: 89.86 kB / 400 MB, free: 46.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.2712, allocations: 26.95 kB / 400 MB, free: 46.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.235e-05/0.2712, allocations: 80.14 kB / 400.1 MB, free: 46.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.2712, allocations: 9.016 kB / 400.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.2713, allocations: 17.78 kB / 400.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.2713, allocations: 316.3 kB / 400.4 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.2713, allocations: 7.875 kB / 400.4 MB, free: 46.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.2714, allocations: 8.406 kB / 400.4 MB, free: 46.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.2714, allocations: 78.69 kB / 400.5 MB, free: 46.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2714, allocations: 0 / 400.5 MB, free: 46.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.16e-05/0.2715, allocations: 82.62 kB / 400.6 MB, free: 46.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.2715, allocations: 35.19 kB / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2716, allocations: 0 / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.2716, allocations: 1.375 kB / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.08e-05/0.2716, allocations: 5.219 kB / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2716, allocations: 0 / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.2717, allocations: 6.594 kB / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2717, allocations: 1.844 kB / 400.6 MB, free: 46.02 MB / 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 6.699e-05/0.2718, allocations: 146.1 kB / 400.8 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.2718, allocations: 6.375 kB / 400.8 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.587e-05/0.2718, allocations: 11.02 kB / 400.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.2718, allocations: 0 / 400.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2718, allocations: 1.406 kB / 400.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2719, allocations: 7.938 kB / 400.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.272, allocations: 164.2 kB / 400.9 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.272, allocations: 1.281 kB / 401 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.272, allocations: 1.312 kB / 401 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.272, allocations: 0 / 401 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.272, allocations: 5.203 kB / 401 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.272, allocations: 0 / 401 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.272, allocations: 1.531 kB / 401 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.2724, allocations: 0.9613 MB / 401.9 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.2724, allocations: 78.17 kB / 402 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.2725, allocations: 1.094 kB / 402 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.2725, allocations: 6.125 kB / 402 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.2726, allocations: 6.328 kB / 402 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2726, allocations: 5.094 kB / 402 MB, free: 44.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.819e-05/0.2726, allocations: 79.22 kB / 402.1 MB, free: 44.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2726, allocations: 0 / 402.1 MB, free: 44.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003256/0.273, allocations: 5.75 kB / 402.1 MB, free: 44.44 MB / 318.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.000102/0.2731, allocations: 100.2 kB / 402.2 MB, free: 44.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.2732, allocations: 74.48 kB / 402.3 MB, free: 44.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2732, allocations: 1.219 kB / 402.3 MB, free: 44.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.2733, allocations: 68.48 kB / 402.3 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.2735, allocations: 10.38 kB / 402.3 MB, free: 44.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.2738, allocations: 202 kB / 402.5 MB, free: 43.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.2739, allocations: 0.675 MB / 403.2 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.466e-05/0.274, allocations: 4.938 kB / 403.2 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.274, allocations: 8.625 kB / 403.2 MB, free: 43.27 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.274, allocations: 0 / 403.2 MB, free: 43.27 MB / 318.1 MB Notification: Performance of Templates: time 0.002809/0.2768, allocations: 0.5632 MB / 403.8 MB, free: 43 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches