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.001455/0.001455, allocations: 109.8 kB / 17.04 MB, free: 6.098 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.001615/0.001615, allocations: 194.9 kB / 17.98 MB, free: 5.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.393/1.393, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06455/0.06455, allocations: 14.17 MB / 285.4 MB, free: 13.87 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.001459/0.001459, allocations: 71.81 kB / 349.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2282, allocations: 50.12 MB / 399.4 MB, free: 48.74 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00214/0.2304, allocations: 0.696 MB / 400.1 MB, free: 48.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001912/0.2306, allocations: 33.58 kB / 400.2 MB, free: 48.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.2306, allocations: 1.188 kB / 400.2 MB, free: 48.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.2307, allocations: 3.938 kB / 400.2 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.2307, allocations: 0 / 400.2 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.2309, allocations: 6.625 kB / 400.2 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.501e-05/0.231, allocations: 16.02 kB / 400.2 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.2311, allocations: 6.656 kB / 400.2 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.2311, allocations: 15.39 kB / 400.2 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.551e-05/0.2312, allocations: 6.469 kB / 400.2 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.2312, allocations: 1.438 kB / 400.2 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.2312, allocations: 1.531 kB / 400.2 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.2312, allocations: 1.062 kB / 400.2 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.2313, allocations: 14.62 kB / 400.2 MB, free: 48.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.025e-05/0.2313, allocations: 16.36 kB / 400.2 MB, free: 48.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.2313, allocations: 0 / 400.2 MB, free: 48.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2313, allocations: 0 / 400.2 MB, free: 48.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2314, allocations: 0 / 400.2 MB, free: 48.14 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.0002576/0.2316, allocations: 347.9 kB / 400.6 MB, free: 47.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2317, allocations: 9.219 kB / 400.6 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.2317, allocations: 2.219 kB / 400.6 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.2318, allocations: 169.4 kB / 400.8 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2318, allocations: 1.562 kB / 400.8 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.2318, allocations: 1.938 kB / 400.8 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.232, allocations: 45.45 kB / 400.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.232, allocations: 9.406 kB / 400.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.232, allocations: 3.938 kB / 400.8 MB, free: 47.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.232, allocations: 1.062 kB / 400.8 MB, free: 47.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.646e-05/0.232, allocations: 13.28 kB / 400.8 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.2325, allocations: 243.3 kB / 401.1 MB, free: 47.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.929e-05/0.2325, allocations: 29.3 kB / 401.1 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.2326, allocations: 16.08 kB / 401.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.2326, allocations: 0 / 401.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.2326, allocations: 43.67 kB / 401.2 MB, free: 47.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2326, allocations: 0 / 401.2 MB, free: 47.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002097/0.2328, allocations: 85.61 kB / 401.2 MB, free: 47.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.2329, allocations: 78.45 kB / 401.3 MB, free: 46.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.094e-05/0.2329, allocations: 89.86 kB / 401.4 MB, free: 46.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.2329, allocations: 26.92 kB / 401.4 MB, free: 46.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.2329, allocations: 80.14 kB / 401.5 MB, free: 46.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.233, allocations: 5.375 kB / 401.5 MB, free: 46.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.233, allocations: 22.06 kB / 401.5 MB, free: 46.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.998e-05/0.2331, allocations: 314.8 kB / 401.8 MB, free: 46.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.2331, allocations: 8.219 kB / 401.9 MB, free: 46.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.2331, allocations: 8.594 kB / 401.9 MB, free: 46.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.586e-05/0.2332, allocations: 82.34 kB / 401.9 MB, free: 46.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2332, allocations: 0 / 401.9 MB, free: 46.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.029e-05/0.2333, allocations: 79.19 kB / 402 MB, free: 46.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.2333, allocations: 39.12 kB / 402.1 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2333, allocations: 1.25 kB / 402.1 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2334, allocations: 0 / 402.1 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.488e-05/0.2334, allocations: 1.062 kB / 402.1 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2334, allocations: 1.062 kB / 402.1 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.2335, allocations: 10.19 kB / 402.1 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.2335, allocations: 1.094 kB / 402.1 MB, free: 46.17 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.648e-05/0.2336, allocations: 146.7 kB / 402.2 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.2336, allocations: 9.266 kB / 402.2 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.862e-05/0.2336, allocations: 12.17 kB / 402.2 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2336, allocations: 3.938 kB / 402.2 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2336, allocations: 1.188 kB / 402.2 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2337, allocations: 0 / 402.2 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.2338, allocations: 160.3 kB / 402.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2338, allocations: 1.281 kB / 402.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.2338, allocations: 1.312 kB / 402.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2338, allocations: 0 / 402.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2338, allocations: 5.328 kB / 402.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2338, allocations: 0 / 402.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2338, allocations: 1.562 kB / 402.4 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.2341, allocations: 0.9615 MB / 403.4 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.2342, allocations: 78.64 kB / 403.4 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.2342, allocations: 1.562 kB / 403.4 MB, free: 44.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.2343, allocations: 9.594 kB / 403.5 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.2343, allocations: 4.797 kB / 403.5 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2343, allocations: 2.375 kB / 403.5 MB, free: 44.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.473e-05/0.2344, allocations: 75.28 kB / 403.5 MB, free: 44.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2344, allocations: 0 / 403.5 MB, free: 44.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.2347, allocations: 9.156 kB / 403.5 MB, free: 44.6 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.000106/0.2348, allocations: 96.84 kB / 403.6 MB, free: 44.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.235, allocations: 86.67 kB / 403.7 MB, free: 44.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.235, allocations: 0 / 403.7 MB, free: 44.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.394e-05/0.235, allocations: 69.39 kB / 403.8 MB, free: 44.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.2353, allocations: 2.062 kB / 403.8 MB, free: 44.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.2356, allocations: 201.2 kB / 404 MB, free: 44.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.2357, allocations: 0.6716 MB / 404.7 MB, free: 43.45 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.308e-05/0.2357, allocations: 9.219 kB / 404.7 MB, free: 43.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.2357, allocations: 8.844 kB / 404.7 MB, free: 43.43 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2358, allocations: 4.125 kB / 404.7 MB, free: 43.43 MB / 318.1 MB Notification: Performance of Templates: time 0.002895/0.2387, allocations: 0.5624 MB / 405.2 MB, free: 43.16 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 -s gbode -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