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.001213/0.001214, allocations: 111.4 kB / 16.28 MB, free: 5.941 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.001144/0.001144, allocations: 189.5 kB / 17.2 MB, free: 5.578 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.423/1.423, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0665/0.0665, allocations: 14.16 MB / 284.6 MB, free: 13.93 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.001699/0.001699, allocations: 79.75 kB / 347.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2646, allocations: 50.12 MB / 398 MB, free: 48.58 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002465/0.2671, allocations: 0.6999 MB / 398.7 MB, free: 48.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001974/0.2673, allocations: 30.22 kB / 398.7 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.2674, allocations: 0 / 398.7 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.2674, allocations: 3.984 kB / 398.7 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.2675, allocations: 3.938 kB / 398.7 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.2676, allocations: 10.72 kB / 398.7 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.801e-05/0.2677, allocations: 20.89 kB / 398.7 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2679, allocations: 6.875 kB / 398.7 MB, free: 48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.2679, allocations: 2.719 kB / 398.7 MB, free: 48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/0.268, allocations: 14.59 kB / 398.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.268, allocations: 1.406 kB / 398.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.268, allocations: 2.469 kB / 398.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.2681, allocations: 0 / 398.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.2681, allocations: 6.438 kB / 398.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.535e-05/0.2682, allocations: 15.69 kB / 398.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2682, allocations: 5.062 kB / 398.8 MB, free: 47.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2682, allocations: 3.938 kB / 398.8 MB, free: 47.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2682, allocations: 0 / 398.8 MB, free: 47.97 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.0003199/0.2685, allocations: 346.6 kB / 399.1 MB, free: 47.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.2686, allocations: 8.688 kB / 399.1 MB, free: 47.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.2686, allocations: 3.156 kB / 399.1 MB, free: 47.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.714e-05/0.2687, allocations: 164.3 kB / 399.3 MB, free: 47.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2687, allocations: 1.438 kB / 399.3 MB, free: 47.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.2687, allocations: 6.594 kB / 399.3 MB, free: 47.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.2689, allocations: 45.81 kB / 399.4 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2689, allocations: 192 / 399.4 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2689, allocations: 5.031 kB / 399.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.2689, allocations: 1.062 kB / 399.4 MB, free: 47.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.2689, allocations: 13.23 kB / 399.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.2694, allocations: 242.8 kB / 399.6 MB, free: 47.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.586e-05/0.2695, allocations: 40.95 kB / 399.7 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.2695, allocations: 16.92 kB / 399.7 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.2695, allocations: 0 / 399.7 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.2696, allocations: 31.75 kB / 399.7 MB, free: 46.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.2696, allocations: 0 / 399.7 MB, free: 46.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002171/0.2698, allocations: 90.2 kB / 399.8 MB, free: 46.87 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2698, allocations: 82.34 kB / 399.9 MB, free: 46.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.806e-05/0.2699, allocations: 93.98 kB / 400 MB, free: 46.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.066e-06/0.2699, allocations: 25.7 kB / 400 MB, free: 46.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.952e-05/0.2699, allocations: 81.58 kB / 400.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.2699, allocations: 5.219 kB / 400.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.27, allocations: 16.47 kB / 400.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.27, allocations: 312.3 kB / 400.4 MB, free: 46.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.2701, allocations: 7.703 kB / 400.4 MB, free: 46.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.2701, allocations: 8.219 kB / 400.4 MB, free: 46.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.2702, allocations: 79.08 kB / 400.5 MB, free: 46.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2702, allocations: 0 / 400.5 MB, free: 46.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.666e-05/0.2703, allocations: 85.95 kB / 400.6 MB, free: 46.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.2703, allocations: 32.14 kB / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2703, allocations: 0 / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2703, allocations: 1.469 kB / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.272e-05/0.2704, allocations: 5.391 kB / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.2704, allocations: 0 / 400.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.2704, allocations: 10.44 kB / 400.6 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2705, allocations: 5.25 kB / 400.6 MB, free: 46 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.285e-05/0.2705, allocations: 142.4 kB / 400.8 MB, free: 45.85 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.2706, allocations: 5.469 kB / 400.8 MB, free: 45.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/0.2706, allocations: 12.56 kB / 400.8 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2706, allocations: 3.938 kB / 400.8 MB, free: 45.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2706, allocations: 0 / 400.8 MB, free: 45.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2706, allocations: 1.438 kB / 400.8 MB, free: 45.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.2707, allocations: 159.8 kB / 400.9 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2707, allocations: 0 / 400.9 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.2708, allocations: 2.25 kB / 400.9 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2708, allocations: 11.92 kB / 401 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.2708, allocations: 1.406 kB / 401 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2708, allocations: 0 / 401 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2708, allocations: 1.562 kB / 401 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.2711, allocations: 0.9615 MB / 401.9 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.2712, allocations: 82.16 kB / 402 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.2712, allocations: 1.375 kB / 402 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2713, allocations: 6.406 kB / 402 MB, free: 44.51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.2714, allocations: 5.156 kB / 402 MB, free: 44.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2714, allocations: 1.438 kB / 402 MB, free: 44.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.57e-05/0.2715, allocations: 79.27 kB / 402.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2715, allocations: 0 / 402.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.2719, allocations: 9.25 kB / 402.1 MB, free: 44.43 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 9.982e-05/0.272, allocations: 96.59 kB / 402.2 MB, free: 44.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.2721, allocations: 78.61 kB / 402.3 MB, free: 44.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2721, allocations: 1.125 kB / 402.3 MB, free: 44.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.2722, allocations: 64.56 kB / 402.3 MB, free: 44.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.2724, allocations: 6.469 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.0002723/0.2727, allocations: 217.7 kB / 402.6 MB, free: 43.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.2728, allocations: 0.6713 MB / 403.2 MB, free: 43.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.207e-05/0.2728, allocations: 5 kB / 403.2 MB, free: 43.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.2728, allocations: 8.656 kB / 403.2 MB, free: 43.25 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2728, allocations: 0 / 403.2 MB, free: 43.25 MB / 318.1 MB Notification: Performance of Templates: time 0.003166/0.276, allocations: 0.5571 MB / 403.8 MB, free: 42.99 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=50 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches