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.001913/0.001913, allocations: 96.42 kB / 20.45 MB, free: 1.258 MB / 14.72 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.002321/0.002321, allocations: 221 kB / 23.76 MB, free: 4.434 MB / 14.72 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.431/1.431, allocations: 207.7 MB / 234.6 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] 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.07927/0.07927, allocations: 14.4 MB / 301.2 MB, free: 7.242 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 71.89 kB / 425 MB, free: 36.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07472/0.07701, allocations: 52.89 MB / 477.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002008/0.07902, allocations: 0.7097 MB / 478.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001652/0.07919, allocations: 35.89 kB / 478.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.07922, allocations: 0 / 478.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.07925, allocations: 0 / 478.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.525e-05/0.07928, allocations: 0 / 478.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.07943, allocations: 15.92 kB / 478.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.119e-05/0.07952, allocations: 16 kB / 478.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.0796, allocations: 11.92 kB / 478.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.15e-05/0.07962, allocations: 4 kB / 478.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.07968, allocations: 8 kB / 478.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.07969, allocations: 0 / 478.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.403e-06/0.0797, allocations: 4 kB / 478.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.07971, allocations: 4 kB / 478.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.07974, allocations: 7.969 kB / 478.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.979e-05/0.07981, allocations: 15.92 kB / 478.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.07981, allocations: 3.938 kB / 478.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.07981, allocations: 0 / 478.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.07982, allocations: 0 / 478.7 MB, free: 14.41 MB / 350.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.000324/0.08014, allocations: 272.1 kB / 479 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.08018, allocations: 8.031 kB / 479 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.0802, allocations: 4.938 kB / 479 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.561e-05/0.08029, allocations: 102.5 kB / 479.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.08031, allocations: 12.38 kB / 479.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.08032, allocations: 384 / 479.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.08045, allocations: 75.88 kB / 479.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.08046, allocations: 192 / 479.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.08047, allocations: 3.938 kB / 479.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.08048, allocations: 4 kB / 479.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.08053, allocations: 33.7 kB / 479.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.08091, allocations: 192.6 kB / 479.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.339e-05/0.081, allocations: 56.25 kB / 479.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.08105, allocations: 46.62 kB / 479.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.08107, allocations: 3.938 kB / 479.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.0811, allocations: 30.56 kB / 479.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.0811, allocations: 0 / 479.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002364/0.08133, allocations: 142.8 kB / 479.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.08139, allocations: 77.11 kB / 479.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.625e-05/0.08144, allocations: 97.86 kB / 479.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.08146, allocations: 25.7 kB / 479.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.0815, allocations: 88.03 kB / 480 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.08152, allocations: 7.891 kB / 480 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.08156, allocations: 17.84 kB / 480 MB, free: 12.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.0817, allocations: 314.8 kB / 480.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.08174, allocations: 37.69 kB / 480.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.08178, allocations: 33.7 kB / 480.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.887e-05/0.08186, allocations: 80.25 kB / 480.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.08186, allocations: 0 / 480.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001263/0.08198, allocations: 105 kB / 480.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.08202, allocations: 37.7 kB / 480.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.08203, allocations: 0 / 480.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.08204, allocations: 4.094 kB / 480.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.471e-05/0.08207, allocations: 0 / 480.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.08208, allocations: 7.938 kB / 480.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.08212, allocations: 0 / 480.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.08213, allocations: 7.984 kB / 480.6 MB, free: 12.25 MB / 350.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 0.0001096/0.08224, allocations: 131.5 kB / 480.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.08227, allocations: 7.938 kB / 480.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.08229, allocations: 11.05 kB / 480.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.08229, allocations: 0 / 480.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.08229, allocations: 0 / 480.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.08229, allocations: 7.984 kB / 480.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.08242, allocations: 105.3 kB / 480.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.08242, allocations: 0 / 480.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.08243, allocations: 4 kB / 480.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.08244, allocations: 3.938 kB / 480.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.08244, allocations: 0 / 480.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.08245, allocations: 4 kB / 480.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.08245, allocations: 0 / 480.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.0831, allocations: 1.013 MB / 481.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.08311, allocations: 3.938 kB / 481.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.08312, allocations: 8.031 kB / 481.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.08319, allocations: 0 / 481.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.08324, allocations: 11.98 kB / 481.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.08325, allocations: 3.938 kB / 481.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.294e-05/0.08328, allocations: 75.28 kB / 482 MB, free: 10.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08328, allocations: 3.938 kB / 482 MB, free: 10.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.08361, allocations: 4 kB / 482 MB, free: 10.72 MB / 350.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.0001038/0.08371, allocations: 95.25 kB / 482.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.08389, allocations: 134.7 kB / 482.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.08389, allocations: 4.062 kB / 482.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.08397, allocations: 97.09 kB / 482.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.08417, allocations: 4 kB / 482.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.08451, allocations: 247.1 kB / 482.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.271e-05/0.08458, allocations: 59.34 kB / 482.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.0846, allocations: 15.44 kB / 482.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.0846, allocations: 0 / 482.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of Templates: time 0.002043/0.08664, allocations: 0.5386 MB / 483.2 MB, free: 9.422 MB / 350.1 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.689720526803285]