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.0007262/0.0007262, allocations: 84.44 kB / 20.7 MB, free: 3.863 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.000779/0.000779, allocations: 169.9 kB / 23.97 MB, free: 0.5898 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 0.801/0.801, allocations: 158.6 MB / 185.7 MB, free: 3.031 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.03788/0.03788, allocations: 10.64 MB / 248.6 MB, free: 4.723 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.623e-06/1.623e-06, allocations: 0 / 372.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.678e-05, allocations: 6.281 kB / 372.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001752/0.001779, allocations: 0.7054 MB / 373.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001712/0.00195, allocations: 31.84 kB / 373.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.001985, allocations: 3.938 kB / 373.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.002013, allocations: 4 kB / 373.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.002055, allocations: 3.938 kB / 373.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.002188, allocations: 11.98 kB / 373.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.446e-05/0.002282, allocations: 19.98 kB / 373.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.002372, allocations: 0 / 373.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.002408, allocations: 11.98 kB / 373.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.002471, allocations: 4 kB / 373.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.002485, allocations: 0 / 373.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-06/0.002493, allocations: 4 kB / 373.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.002506, allocations: 0 / 373.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.002534, allocations: 11.94 kB / 373.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.694e-05/0.002611, allocations: 19.97 kB / 373.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002613, allocations: 0 / 373.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.002614, allocations: 0 / 373.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002617, allocations: 0 / 373.3 MB, free: 2.688 MB / 298.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.0002569/0.002874, allocations: 268.2 kB / 373.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.002909, allocations: 8.031 kB / 373.6 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.002939, allocations: 0.9375 kB / 373.6 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.659e-05/0.002995, allocations: 105.8 kB / 373.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.003007, allocations: 384 / 373.7 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.003015, allocations: 4.312 kB / 373.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.003121, allocations: 83.94 kB / 373.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003128, allocations: 192 / 373.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.003138, allocations: 4.359 kB / 373.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.003142, allocations: 4.312 kB / 373.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.39e-05/0.003176, allocations: 37.64 kB / 373.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.003506, allocations: 196.6 kB / 374 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.618e-05/0.003563, allocations: 56.22 kB / 374.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.003597, allocations: 42.66 kB / 374.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.003606, allocations: 0 / 374.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.003628, allocations: 38.56 kB / 374.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.003628, allocations: 0 / 374.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002153/0.003844, allocations: 142.7 kB / 374.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.003887, allocations: 81.11 kB / 374.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.231e-05/0.003919, allocations: 89.86 kB / 374.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.003932, allocations: 25.7 kB / 374.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.003967, allocations: 88.02 kB / 374.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.004, allocations: 11.95 kB / 374.6 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.004032, allocations: 13.72 kB / 374.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.004115, allocations: 314.8 kB / 374.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.004145, allocations: 37.81 kB / 374.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.004164, allocations: 37.7 kB / 375 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.00422, allocations: 80.25 kB / 375.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004221, allocations: 0 / 375.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.658e-05/0.004298, allocations: 105.1 kB / 375.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.004324, allocations: 29.7 kB / 375.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.004328, allocations: 0 / 375.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.00434, allocations: 3.938 kB / 375.2 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.66e-05/0.004377, allocations: 7.938 kB / 375.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.004381, allocations: 96 / 375.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/0.004414, allocations: 11.95 kB / 375.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.004423, allocations: 3.984 kB / 375.2 MB, free: 0.5195 MB / 298.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.617e-05/0.004479, allocations: 141.5 kB / 375.4 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.00449, allocations: 0 / 375.4 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.264e-05/0.004503, allocations: 7.109 kB / 375.4 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.004506, allocations: 7.938 kB / 375.4 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.00451, allocations: 0 / 375.4 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.004512, allocations: 0 / 375.4 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.613e-05/0.004588, allocations: 97.31 kB / 375.5 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00459, allocations: 8 kB / 375.5 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-06/0.004596, allocations: 4 kB / 375.5 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-06/0.004597, allocations: 0 / 375.5 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.004602, allocations: 0 / 375.5 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004603, allocations: 0 / 375.5 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.004604, allocations: 7.938 kB / 375.5 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.004953, allocations: 1.013 MB / 376.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-06/0.004957, allocations: 7.938 kB / 376.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.004969, allocations: 4 kB / 376.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.005008, allocations: 4 kB / 376.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.005044, allocations: 32 / 376.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.005049, allocations: 7.984 kB / 376.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.972e-05/0.005068, allocations: 75.28 kB / 376.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005068, allocations: 0 / 376.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.005294, allocations: 8 kB / 376.6 MB, free: 15.01 MB / 314.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.154e-05/0.005366, allocations: 99.19 kB / 376.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.00548, allocations: 142.7 kB / 376.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.005481, allocations: 0 / 376.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.005521, allocations: 93.09 kB / 376.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.005659, allocations: 4.125 kB / 376.9 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.005897, allocations: 263 kB / 377.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.005932, allocations: 59.34 kB / 377.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.00595, allocations: 8.5 kB / 377.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of SimCode: time 3.51e-07/0.00595, allocations: 0 / 377.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of Templates: time 0.001335/0.007285, allocations: 0.5448 MB / 377.8 MB, free: 13.69 MB / 314.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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] 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: 3.950881672091782]