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.001496/0.001496, allocations: 107.3 kB / 17.03 MB, free: 5.707 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.001734/0.001734, allocations: 196.1 kB / 17.98 MB, free: 5.078 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.381/1.381, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06473/0.06473, allocations: 14.15 MB / 285.4 MB, free: 13.88 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.001449/0.001449, allocations: 63.81 kB / 349.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2326, allocations: 50.11 MB / 399.4 MB, free: 48.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002164/0.2348, allocations: 0.6964 MB / 400.1 MB, free: 48.26 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.235, allocations: 33.36 kB / 400.1 MB, free: 48.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.2351, allocations: 1.031 kB / 400.1 MB, free: 48.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.2351, allocations: 0 / 400.1 MB, free: 48.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.84e-05/0.2352, allocations: 0 / 400.1 MB, free: 48.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.2354, allocations: 10.28 kB / 400.2 MB, free: 48.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2355, allocations: 20.8 kB / 400.2 MB, free: 48.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.2356, allocations: 10 kB / 400.2 MB, free: 48.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.2356, allocations: 11.31 kB / 400.2 MB, free: 48.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.2357, allocations: 6.531 kB / 400.2 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2357, allocations: 2.281 kB / 400.2 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-06/0.2357, allocations: 1.281 kB / 400.2 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.2357, allocations: 1.219 kB / 400.2 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.2358, allocations: 14.42 kB / 400.2 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.148e-05/0.2359, allocations: 11.55 kB / 400.2 MB, free: 48.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2359, allocations: 0 / 400.2 MB, free: 48.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2359, allocations: 9.312 kB / 400.2 MB, free: 48.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2359, allocations: 0 / 400.2 MB, free: 48.16 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.0002581/0.2362, allocations: 343.4 kB / 400.6 MB, free: 47.78 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2362, allocations: 9.156 kB / 400.6 MB, free: 47.78 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.2362, allocations: 2.281 kB / 400.6 MB, free: 47.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.435e-05/0.2363, allocations: 164.2 kB / 400.8 MB, free: 47.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.2363, allocations: 5.656 kB / 400.8 MB, free: 47.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.2363, allocations: 3 kB / 400.8 MB, free: 47.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.2364, allocations: 50.05 kB / 400.8 MB, free: 47.53 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.2365, allocations: 8.125 kB / 400.8 MB, free: 47.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2365, allocations: 3.938 kB / 400.8 MB, free: 47.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2365, allocations: 1.938 kB / 400.8 MB, free: 47.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.262e-05/0.2365, allocations: 9.281 kB / 400.8 MB, free: 47.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.2369, allocations: 242.4 kB / 401.1 MB, free: 47.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.061e-05/0.2369, allocations: 28.73 kB / 401.1 MB, free: 47.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.237, allocations: 19.92 kB / 401.1 MB, free: 47.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.237, allocations: 8.984 kB / 401.1 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.237, allocations: 35.67 kB / 401.2 MB, free: 47.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.237, allocations: 0 / 401.2 MB, free: 47.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001891/0.2372, allocations: 85.33 kB / 401.2 MB, free: 47.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.2373, allocations: 78.2 kB / 401.3 MB, free: 46.97 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.749e-05/0.2373, allocations: 91.08 kB / 401.4 MB, free: 46.87 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.2373, allocations: 25.83 kB / 401.4 MB, free: 46.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.773e-05/0.2373, allocations: 85.48 kB / 401.5 MB, free: 46.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.2373, allocations: 5.031 kB / 401.5 MB, free: 46.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.2374, allocations: 16.91 kB / 401.5 MB, free: 46.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.79e-05/0.2374, allocations: 315.8 kB / 401.8 MB, free: 46.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.2374, allocations: 3.531 kB / 401.8 MB, free: 46.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.2375, allocations: 13.06 kB / 401.9 MB, free: 46.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.271e-05/0.2375, allocations: 79 kB / 401.9 MB, free: 46.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2375, allocations: 4 kB / 401.9 MB, free: 46.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.938e-05/0.2376, allocations: 78.69 kB / 402 MB, free: 46.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.2377, allocations: 35.38 kB / 402.1 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2377, allocations: 0 / 402.1 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2377, allocations: 1.844 kB / 402.1 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.675e-05/0.2377, allocations: 0 / 402.1 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2377, allocations: 0.5938 kB / 402.1 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.2378, allocations: 6.781 kB / 402.1 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2378, allocations: 1.594 kB / 402.1 MB, free: 46.21 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.563e-05/0.2379, allocations: 149.7 kB / 402.2 MB, free: 46.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2379, allocations: 10.62 kB / 402.2 MB, free: 46.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.72e-05/0.2379, allocations: 7.078 kB / 402.2 MB, free: 46.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2379, allocations: 3.938 kB / 402.2 MB, free: 46.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.238, allocations: 1.312 kB / 402.2 MB, free: 46.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.238, allocations: 4 kB / 402.2 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.2381, allocations: 164 kB / 402.4 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2381, allocations: 1.469 kB / 402.4 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.2381, allocations: 5.484 kB / 402.4 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2381, allocations: 4 kB / 402.4 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.2381, allocations: 1.406 kB / 402.4 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2381, allocations: 0 / 402.4 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2381, allocations: 1.188 kB / 402.4 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.2384, allocations: 0.9614 MB / 403.4 MB, free: 44.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.2385, allocations: 78.3 kB / 403.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.2385, allocations: 1.438 kB / 403.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.2386, allocations: 6.812 kB / 403.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.2386, allocations: 5.484 kB / 403.5 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.2386, allocations: 0 / 403.5 MB, free: 44.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.384e-05/0.2386, allocations: 76.72 kB / 403.5 MB, free: 44.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2386, allocations: 0 / 403.5 MB, free: 44.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.239, allocations: 4.812 kB / 403.5 MB, free: 44.63 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.0001186/0.2391, allocations: 104.5 kB / 403.6 MB, free: 44.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.2392, allocations: 78.98 kB / 403.7 MB, free: 44.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2393, allocations: 0 / 403.7 MB, free: 44.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.2393, allocations: 69.61 kB / 403.8 MB, free: 44.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.2395, allocations: 6.781 kB / 403.8 MB, free: 44.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.2398, allocations: 201.1 kB / 404 MB, free: 44.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.858e-05/0.2399, allocations: 0.6752 MB / 404.7 MB, free: 43.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.371e-05/0.2399, allocations: 4.969 kB / 404.7 MB, free: 43.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.2399, allocations: 8.469 kB / 404.7 MB, free: 43.46 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.24, allocations: 0 / 404.7 MB, free: 43.46 MB / 318.1 MB Notification: Performance of Templates: time 0.002727/0.2427, allocations: 0.5663 MB / 405.2 MB, free: 43.18 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 cvode -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