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.001412/0.001412, allocations: 101 kB / 16.64 MB, free: 6.812 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.001519/0.001519, allocations: 193.9 kB / 17.57 MB, free: 5.922 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.269/1.269, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06092/0.06092, allocations: 14.16 MB / 284.9 MB, free: 14.12 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.00146, allocations: 67.91 kB / 348 MB, free: 14.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2408, allocations: 50.11 MB / 398.1 MB, free: 48.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002015/0.2428, allocations: 0.7744 MB / 398.8 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.243, allocations: 30.23 kB / 398.9 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.243, allocations: 0 / 398.9 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.2431, allocations: 0 / 398.9 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.2431, allocations: 1.594 kB / 398.9 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.2433, allocations: 5.156 kB / 398.9 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.2434, allocations: 17.05 kB / 398.9 MB, free: 47.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.2435, allocations: 10.41 kB / 398.9 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.586e-05/0.2436, allocations: 3.25 kB / 398.9 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.2436, allocations: 10.17 kB / 398.9 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.2436, allocations: 2.188 kB / 398.9 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.2437, allocations: 1.031 kB / 398.9 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2437, allocations: 8.969 kB / 398.9 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.2437, allocations: 6.078 kB / 398.9 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.23e-05/0.2438, allocations: 15.36 kB / 398.9 MB, free: 47.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2438, allocations: 0 / 398.9 MB, free: 47.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2438, allocations: 0 / 398.9 MB, free: 47.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2438, allocations: 1.094 kB / 398.9 MB, free: 47.93 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.000261/0.2441, allocations: 349.6 kB / 399.3 MB, free: 47.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2441, allocations: 9.719 kB / 399.3 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.2442, allocations: 2.062 kB / 399.3 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.5e-05/0.2442, allocations: 169.4 kB / 399.5 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.2442, allocations: 1.438 kB / 399.5 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.2442, allocations: 2.469 kB / 399.5 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.2444, allocations: 41.91 kB / 399.5 MB, free: 47.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2444, allocations: 4.188 kB / 399.5 MB, free: 47.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2444, allocations: 13 kB / 399.5 MB, free: 47.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2444, allocations: 0 / 399.5 MB, free: 47.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.298e-05/0.2445, allocations: 10.22 kB / 399.5 MB, free: 47.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.2448, allocations: 247.1 kB / 399.8 MB, free: 47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.822e-05/0.2449, allocations: 29.08 kB / 399.8 MB, free: 46.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.2449, allocations: 20.12 kB / 399.8 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.245, allocations: 4 kB / 399.8 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.245, allocations: 32.06 kB / 399.9 MB, free: 46.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.245, allocations: 0 / 399.9 MB, free: 46.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001857/0.2452, allocations: 85.23 kB / 399.9 MB, free: 46.83 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.2452, allocations: 90.2 kB / 400 MB, free: 46.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.674e-05/0.2452, allocations: 89.86 kB / 400.1 MB, free: 46.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.2452, allocations: 26.89 kB / 400.1 MB, free: 46.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.934e-05/0.2453, allocations: 85.45 kB / 400.2 MB, free: 46.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.2453, allocations: 9.141 kB / 400.2 MB, free: 46.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.2453, allocations: 12.88 kB / 400.3 MB, free: 46.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.2454, allocations: 316.3 kB / 400.6 MB, free: 46.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.2454, allocations: 3.875 kB / 400.6 MB, free: 46.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.2454, allocations: 11.52 kB / 400.6 MB, free: 46.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.581e-05/0.2455, allocations: 78.55 kB / 400.7 MB, free: 46.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2455, allocations: 1 kB / 400.7 MB, free: 46.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.325e-05/0.2456, allocations: 86.39 kB / 400.7 MB, free: 46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.2456, allocations: 33.7 kB / 400.8 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2456, allocations: 1.094 kB / 400.8 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2456, allocations: 0 / 400.8 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.494e-05/0.2457, allocations: 2.469 kB / 400.8 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2457, allocations: 0 / 400.8 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.2457, allocations: 9.984 kB / 400.8 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2458, allocations: 0.9688 kB / 400.8 MB, free: 45.96 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 5.764e-05/0.2458, allocations: 150.5 kB / 400.9 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.2459, allocations: 5.844 kB / 400.9 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.526e-05/0.2459, allocations: 8.172 kB / 400.9 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2459, allocations: 0 / 400.9 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2459, allocations: 1.094 kB / 400.9 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2459, allocations: 0 / 400.9 MB, free: 45.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.246, allocations: 160.2 kB / 401.1 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.246, allocations: 0.9688 kB / 401.1 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.246, allocations: 0.9062 kB / 401.1 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.246, allocations: 5.281 kB / 401.1 MB, free: 45.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.2461, allocations: 1.062 kB / 401.1 MB, free: 45.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2461, allocations: 4 kB / 401.1 MB, free: 45.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2461, allocations: 0 / 401.1 MB, free: 45.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.2463, allocations: 0.9547 MB / 402.1 MB, free: 44.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.2464, allocations: 82.45 kB / 402.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.2464, allocations: 5.312 kB / 402.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.2465, allocations: 13.98 kB / 402.2 MB, free: 44.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.2465, allocations: 5.031 kB / 402.2 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.2465, allocations: 1.062 kB / 402.2 MB, free: 44.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.252e-05/0.2465, allocations: 76.41 kB / 402.3 MB, free: 44.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2465, allocations: 0 / 402.3 MB, free: 44.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003375/0.2469, allocations: 5.188 kB / 402.3 MB, free: 44.39 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 8.067e-05/0.247, allocations: 100.1 kB / 402.4 MB, free: 44.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.2471, allocations: 83.48 kB / 402.4 MB, free: 44.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2471, allocations: 0 / 402.4 MB, free: 44.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.2472, allocations: 73.42 kB / 402.5 MB, free: 44.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.2474, allocations: 6.219 kB / 402.5 MB, free: 44.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.2476, allocations: 233.6 kB / 402.7 MB, free: 43.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.2477, allocations: 0.6791 MB / 403.4 MB, free: 43.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.2477, allocations: 12.72 kB / 403.4 MB, free: 43.17 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2477, allocations: 0 / 403.4 MB, free: 43.17 MB / 318.1 MB Notification: Performance of Templates: time 0.001767/0.2495, allocations: 0.5352 MB / 404 MB, free: 42.91 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches