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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002344/0.002344, allocations: 92.97 kB / 20.22 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 165.2 kB / 23.54 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07554/0.07554, allocations: 10.66 MB / 248.3 MB, free: 4.52 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 319.5 MB, free: 39.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.987e-05, allocations: 3.781 kB / 319.5 MB, free: 39.97 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001563/0.001593, allocations: 0.7133 MB / 320.2 MB, free: 39.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001645/0.001758, allocations: 27.84 kB / 320.2 MB, free: 39.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.001791, allocations: 4 kB / 320.2 MB, free: 39.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.001821, allocations: 3.938 kB / 320.2 MB, free: 39.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.001872, allocations: 0 / 320.2 MB, free: 39.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.002003, allocations: 11.97 kB / 320.3 MB, free: 39.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.849e-05/0.002081, allocations: 12 kB / 320.3 MB, free: 39.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.002158, allocations: 11.98 kB / 320.3 MB, free: 39.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.472e-05/0.002192, allocations: 12 kB / 320.3 MB, free: 39.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.002246, allocations: 3.984 kB / 320.3 MB, free: 39.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.002262, allocations: 4 kB / 320.3 MB, free: 39.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-06/0.002269, allocations: 0 / 320.3 MB, free: 39.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.002281, allocations: 0 / 320.3 MB, free: 39.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.002307, allocations: 7.938 kB / 320.3 MB, free: 39.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.031e-05/0.002378, allocations: 23.91 kB / 320.3 MB, free: 39.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002379, allocations: 0 / 320.3 MB, free: 39.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.00238, allocations: 0 / 320.3 MB, free: 39.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.002383, allocations: 0 / 320.3 MB, free: 39.14 MB / 282.7 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.0002281/0.002611, allocations: 374.1 kB / 320.7 MB, free: 38.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.002643, allocations: 8.031 kB / 320.7 MB, free: 38.72 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.002683, allocations: 5.812 kB / 320.7 MB, free: 38.72 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.136e-05/0.002724, allocations: 104.6 kB / 320.8 MB, free: 38.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.002746, allocations: 4.375 kB / 320.8 MB, free: 38.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.002755, allocations: 384 / 320.8 MB, free: 38.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.002861, allocations: 71.95 kB / 320.9 MB, free: 38.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.002868, allocations: 192 / 320.9 MB, free: 38.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.002878, allocations: 4.375 kB / 320.9 MB, free: 38.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.002882, allocations: 384 / 320.9 MB, free: 38.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.002918, allocations: 45.56 kB / 320.9 MB, free: 38.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.003226, allocations: 261.5 kB / 321.2 MB, free: 38.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.422e-05/0.00329, allocations: 68.78 kB / 321.3 MB, free: 38.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.003327, allocations: 49.45 kB / 321.3 MB, free: 38.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.003337, allocations: 0 / 321.3 MB, free: 38.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.003353, allocations: 37.38 kB / 321.3 MB, free: 37.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.003354, allocations: 0 / 321.3 MB, free: 37.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.000195/0.003549, allocations: 150.7 kB / 321.5 MB, free: 37.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.003574, allocations: 81.11 kB / 321.6 MB, free: 37.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.232e-05/0.003596, allocations: 142.2 kB / 321.7 MB, free: 37.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.003604, allocations: 29.83 kB / 321.7 MB, free: 37.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.003634, allocations: 134.8 kB / 321.9 MB, free: 37.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.003662, allocations: 3.953 kB / 321.9 MB, free: 37.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.003693, allocations: 27.36 kB / 321.9 MB, free: 37.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.00377, allocations: 492.1 kB / 322.4 MB, free: 36.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.003799, allocations: 41.64 kB / 322.4 MB, free: 36.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.15e-05/0.003821, allocations: 37.69 kB / 322.5 MB, free: 36.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.151e-05/0.003872, allocations: 83.03 kB / 322.5 MB, free: 36.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.003874, allocations: 0 / 322.5 MB, free: 36.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.085e-05/0.003954, allocations: 113.2 kB / 322.6 MB, free: 36.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.003976, allocations: 29.7 kB / 322.7 MB, free: 36.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.00398, allocations: 0 / 322.7 MB, free: 36.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.003993, allocations: 3.938 kB / 322.7 MB, free: 36.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.654e-05/0.004029, allocations: 7.984 kB / 322.7 MB, free: 36.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.004033, allocations: 0 / 322.7 MB, free: 36.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.00407, allocations: 4 kB / 322.7 MB, free: 36.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.004079, allocations: 4 kB / 322.7 MB, free: 36.47 MB / 282.7 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.375e-05/0.004132, allocations: 182.3 kB / 322.9 MB, free: 36.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.004157, allocations: 3.953 kB / 322.9 MB, free: 36.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.475e-05/0.004171, allocations: 11.14 kB / 322.9 MB, free: 36.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.004174, allocations: 11.92 kB / 322.9 MB, free: 36.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.004176, allocations: 0 / 322.9 MB, free: 36.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.004179, allocations: 0 / 322.9 MB, free: 36.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.876e-05/0.004267, allocations: 112.6 kB / 323 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004268, allocations: 0 / 323 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.00428, allocations: 3.938 kB / 323 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.004281, allocations: 0 / 323 MB, free: 36.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.004289, allocations: 4 kB / 323 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.00429, allocations: 3.984 kB / 323 MB, free: 36.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.004291, allocations: 3.938 kB / 323 MB, free: 36.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.004636, allocations: 1.479 MB / 324.5 MB, free: 34.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-06/0.004641, allocations: 4 kB / 324.5 MB, free: 34.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.004653, allocations: 0 / 324.5 MB, free: 34.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.004715, allocations: 4 kB / 324.5 MB, free: 34.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.004759, allocations: 3.984 kB / 324.5 MB, free: 34.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.004764, allocations: 0 / 324.5 MB, free: 34.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.545e-05/0.004779, allocations: 119.2 kB / 324.6 MB, free: 34.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004779, allocations: 0 / 324.6 MB, free: 34.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.005088, allocations: 12 kB / 324.6 MB, free: 34.38 MB / 282.7 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 7.309e-05/0.005161, allocations: 99.28 kB / 324.7 MB, free: 34.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.005304, allocations: 150.4 kB / 324.9 MB, free: 34.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.005305, allocations: 3.938 kB / 324.9 MB, free: 34.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.705e-05/0.005352, allocations: 108.7 kB / 325 MB, free: 33.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.005626, allocations: 0 / 325 MB, free: 33.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.005915, allocations: 301.2 kB / 325.3 MB, free: 33.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.316e-05/0.005948, allocations: 55.36 kB / 325.3 MB, free: 33.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.193e-05/0.00596, allocations: 4 kB / 325.4 MB, free: 33.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.005979, allocations: 8.5 kB / 325.4 MB, free: 33.54 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.00598, allocations: 4.125 kB / 325.4 MB, free: 33.53 MB / 282.7 MB Notification: Performance of Templates: time 0.003096/0.009076, allocations: 0.6283 MB / 326 MB, free: 32.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.432425689068623]